core/homeassistant
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
..
components Huge ISY994 platform cleanup, fixes support for 5.0.10 firmware (#11243) 2017-12-26 09:26:37 +01:00
helpers Fix incorrect comment. (#11111) 2017-12-13 00:04:42 +01:00
scripts Upgrade credstash to 1.14.0 (#10310) 2017-11-03 21:18:33 -07:00
util Always consume the no_throttle keyword argument. (#11126) 2017-12-13 20:01:59 -08:00
__init__.py
__main__.py This change fixes the error `OSError: [WinError 193]` on Windows debuggers (i.e. PyCharm) (#11034) 2017-12-09 16:58:52 -08:00
bootstrap.py Add basic backend support for a system log (#10492) 2017-11-14 20:35:56 -08:00
config.py Revert "Backup configuration files before overwriting" (#11269) 2017-12-21 22:33:37 +01:00
const.py Bump dev to 0.61.0.dev0 2017-12-17 16:29:36 +01:00
core.py Clean up core (#10305) 2017-11-03 14:19:36 +01:00
exceptions.py Fix recorder crash for long state string - enforce at core level (#9696) 2017-10-25 09:05:30 -07:00
loader.py RFC: Use bind_hass for helpers (#9745) 2017-10-08 08:17:54 -07:00
monkey_patch.py Make monkey patch work in Python 3.6 (#7848) 2017-06-01 23:23:39 -07:00
package_constraints.txt Upgrade yarl to 0.16.0 (#11078) 2017-12-11 13:52:22 +01:00
remote.py Use constants for HTTP headers (#10313) 2017-11-04 12:04:05 -07:00
setup.py Move constants to setup.py (#10312) 2017-11-03 07:43:30 -07:00