1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant
Gil Peeters f4a1f2809b Add availability_template to Template Lock platform (#26517)
* Added availability_template to Template Lock platform

* Added to test for invalid values in availability_template

* Black and Lint fix

* black formatting

* Updated AVAILABILITY_TEMPLATE Rendering error

* Moved const to package Const.py

* Fix import order (pylint)

* Moved availability_template rendering to common loop

* Brought contant into line

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

* reverted _available back to boolean

* Fixed tests (async, magic values and state checks)
2019-10-01 08:15:15 -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 Lock platform (#26517) 2019-10-01 08:15:15 -04:00
generated Add support for SOMA Smartshades devices (#26226) 2019-09-30 14:23:08 +02:00
helpers Type hint additions (#26831) 2019-09-29 20:07:49 +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_entries.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
config.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
const.py Removes unnecessary utf8 source encoding declarations (#26887) 2019-09-24 21:28:50 -07:00
core.py Type hint additions (#26831) 2019-09-29 20:07:49 +03:00
data_entry_flow.py Type hint additions (#26831) 2019-09-29 20:07:49 +03: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