core/homeassistant
Gil Peeters 74196eaf8b Add availability_template to Template Fan platform (#26511)
* Added availability_template to Template Fan platform

* Added to test for invalid values in availability_template

* fixed component ID in test

* Made availability_template redering erorr more concise

* Updated AVAILABILITY_TEMPLATE Rendering error

* Moved const to package Const.py

* Fix import order (pylint)

* Removed 'Magic' string

* Cleaned up const and compare lowercase result to 'true'

* reverted _available back to boolean

* Fixed tests (magic values and state checks)
2019-09-28 07:59:40 -04:00
..
auth Upgrade mypy to 0.730, address raised issues (#26959) 2019-09-27 22:57:59 +03:00
components Add availability_template to Template Fan platform (#26511) 2019-09-28 07:59:40 -04:00
generated Add config flow to transmission (#26434) 2019-09-26 11:14:57 +02:00
helpers Upgrade mypy to 0.730, address raised issues (#26959) 2019-09-27 22:57:59 +03:00
scripts Removes unnecessary else/elif blocks (#26884) 2019-09-24 13:53:03 -07:00
util Remove no longer needed Python < 3.6 compatibility code (#27024) 2019-09-27 17:02:48 -07:00
__init__.py
__main__.py Removes unnecessary print_function future import (#26888) 2019-09-24 21:29:57 -07:00
bootstrap.py Deprecate Python 3.6.0 (#26575) 2019-09-11 12:42:54 -06:00
config.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
config_entries.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
const.py Removes unnecessary utf8 source encoding declarations (#26887) 2019-09-24 21:28:50 -07:00
core.py Upgrade mypy to 0.730, address raised issues (#26959) 2019-09-27 22:57:59 +03:00
data_entry_flow.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
exceptions.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00
loader.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
monkey_patch.py Black 2019-07-31 12:25:30 -07:00
package_constraints.txt Fix frontend 2019-09-23 14:20:27 -07:00
requirements.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00
setup.py Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00