Files
core/homeassistant/components/binary_sensor
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
..
2017-12-13 20:02:24 -08:00
2017-12-05 09:44:22 +01:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-09-17 20:47:30 +02:00
2017-05-02 22:47:20 +02:00
2017-04-29 22:04:49 -07:00
2017-11-23 13:10:23 +01:00
2017-09-23 17:15:46 +02:00
2017-10-07 15:11:41 +02:00
2017-10-27 16:19:47 +02:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-10-29 11:15:57 +01:00
2017-04-29 22:04:49 -07:00
2017-10-08 20:14:39 +02:00
2017-04-29 22:04:49 -07:00
2017-04-29 22:04:49 -07:00
2017-10-19 10:56:25 +02:00
2017-10-09 14:38:00 +03:00
2017-07-26 14:03:29 +02:00
2017-12-07 07:47:19 +01:00
2017-06-30 08:53:14 +02:00
2017-04-29 22:04:49 -07:00
2017-08-21 13:24:30 +02:00
2017-04-29 22:04:49 -07:00