core/tests/components/template
Steven Rollason 79488daddf New template sensor attributes (#26127)
* updated sensor and test files

* Formatting fixes

* Updated attribute template code

* Black formatting

* Code improvements based on feedback on binary_sensor pull request

* Updated tests

* Remove duplicated code and fix tests

* Black formatting on tests

* Remove link from docstring

* Moved default to schema

* Formatting fix and change to use dict[key] to retrieve attribute_templates
2019-09-01 18:12:55 +02:00
..
__init__.py Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
test_binary_sensor.py Template binary sensor attributes (#22664) 2019-08-21 14:07:27 -07:00
test_cover.py Black 2019-07-31 12:25:30 -07:00
test_fan.py Black 2019-07-31 12:25:30 -07:00
test_light.py Black 2019-07-31 12:25:30 -07:00
test_lock.py Black 2019-07-31 12:25:30 -07:00
test_sensor.py New template sensor attributes (#26127) 2019-09-01 18:12:55 +02:00
test_switch.py Black 2019-07-31 12:25:30 -07:00
test_vacuum.py Black 2019-07-31 12:25:30 -07:00