core/homeassistant/components/lock
Greg Laabs d687bc073e Huge ISY994 platform cleanup, fixes support for 5.0.10 firmware (#11243)
* Huge ISY994 platform cleanup, fixes support for 5.0.10 firmware

# * No more globals - store on hass.data
# * Parent ISY994 component handles categorizing nodes in to Hass components, rather than each individual domain filtering all nodes themselves
# * Remove hidden string, replace with ignore string. Hidden should be done via the customize block; ignore fully prevents the node from getting a Hass entity
# * Removed a few unused methods in the ISYDevice class
# * Cleaned up the hostname parsing
# * Removed broken logic in the fan Program component. It was setting properties that have no setters
# * Added the missing SUPPORTED_FEATURES to the fan component to indicate that it can set speed
# * Added better error handling and a log warning when an ISY994 program entity fails to initialize
# * Cleaned up a few instances of unecessarily complicated logic paths, and other cases of unnecessary logic that is already handled by base classes

* Use `super()` instead of explicit base class calls

* Move `hass` argument to first position

* Use str.format instead of string addition

* Move program structure building and validation to component

Removes the need for a bunch of duplicate exception handling in each individual platform

* Fix climate nodes, fix climate names, add config to disable climate

Sensor platform was crashing when the ISY reported climate nodes. Logic has been fixed. Also added a config option to prevent climate sensors from getting imported from the ISY. Also replace the underscore from climate node names with spaces so they default to friendly names.

* Space missing in error message

* Fix string comparison to use `==`

* Explicitly check for attributes rather than catch AttributeError

Also removes two stray debug lines

* Remove null checks on hass.data, as they are always null at this point
2017-12-26 09:26:37 +01:00
..
__init__.py Fix async probs (#9924) 2017-10-19 10:56:25 +02:00
abode.py Abode services, events, lights, cameras, automations, quick actions. (#9310) 2017-09-18 17:39:41 +02:00
demo.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
isy994.py Huge ISY994 platform cleanup, fixes support for 5.0.10 firmware (#11243) 2017-12-26 09:26:37 +01:00
lockitron.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
mqtt.py Cleanup and simplitfy the async state update (#9390) 2017-09-12 10:01:03 +02:00
nello.py Fix nello.io login (#9251) 2017-09-01 12:02:22 +02:00
nuki.py Add nuki lock'n'go and unlatch services and add attributes (#8687) 2017-08-07 14:58:31 +02:00
services.yaml Update services.yaml files (#10229) 2017-10-30 21:39:12 +01:00
sesame.py Fix async IO in Sesame lock component. (#11054) 2017-12-22 10:28:51 +01:00
tesla.py Tesla bug fixes. (#9774) 2017-10-09 14:38:00 +03:00
vera.py Added Vera scenes (#10424) 2017-12-07 07:47:19 +01:00
verisure.py verisure component names (#8251) 2017-06-30 08:53:14 +02:00
volvooncall.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
wink.py New Wink services. pair new device, rename, and delete, add new lock key code. Add water heater support (#9303) 2017-09-26 23:17:55 -07:00
zwave.py Fix some issues for PyLint 1.7.2 (#8356) 2017-07-05 20:02:16 -07:00