* Added availability_template to Template Sensor platform * Added to test for invalid values in availability_template * Updated AVAILABILITY_TEMPLATE Rendering error * Moved const to package Const.py * Fix import order (pylint) * Moved availability_template rendering to common loop * Removed 'Magic' string * Cleaned up const and compare lowercase result to 'true' * Device is unavailbale if value template render fails * Converted test ot Async and fixed states * Comverted back to using boolean for _availability * Fixed state check in test |
||
---|---|---|
.. | ||
__init__.py | ||
test_binary_sensor.py | ||
test_cover.py | ||
test_fan.py | ||
test_light.py | ||
test_lock.py | ||
test_sensor.py | ||
test_switch.py | ||
test_vacuum.py |