core/tests/components/template
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
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_binary_sensor.py Add availability_template to Template Binary Sensor platform (#26510) 2019-09-28 07:55:29 -04:00
test_cover.py Add availability_template to Template Cover platform (#26509) 2019-09-28 07:53:16 -04:00
test_fan.py Add availability_template to Template Fan platform (#26511) 2019-09-28 07:59:40 -04:00
test_light.py Add availability_template to Template Light platform (#26512) 2019-09-28 08:01:18 -04:00
test_lock.py Add availability_template to Template Lock platform (#26517) 2019-10-01 08:15:15 -04:00
test_sensor.py Add availability_template to Template Sensor platform (#26516) 2019-09-24 16:05:19 +02:00
test_switch.py Add availability_template to Template Switch platform (#26513) 2019-09-24 21:30:48 -07:00
test_vacuum.py Add availability_template to Template Vacuum platform (#26514) 2019-09-28 08:02:46 -04:00