Johann Kellerman
6511e11ec9
Config Validator: schema_with_slug_keys ( #20298 )
...
* schema_with_slug_keys
* Update config_validation.py
* Update config_validation.py
2019-01-21 16:36:04 -08:00
Paulus Schoutsen
ac79ff9e24
Add context to scripts run by template entities ( #17329 )
2018-10-15 11:38:49 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
cdce8p
3da4642194
Use async syntax for cover platforms ( #15230 )
2018-06-30 18:10:59 +02:00
cdce8p
7fd687f59c
Fix current_cover_position ( #13135 )
2018-03-23 13:54:19 -07:00
Anders Melchiorsen
aa9b5e6ea5
Return of entity_id in template platforms ( #12234 )
2018-02-07 22:46:14 -08:00
Anders Melchiorsen
9e0ca719ed
Deprecate explicit entity_id in template platforms ( #11123 )
...
* Deprecate explicit entity_id in template platforms
* Use config validator for deprecation
* Fix copy/paste typos
* Also print the config value
* Add test for config validator
* Assert the module name that logged the message
2018-01-10 00:06:26 -08:00
cdce8p
65df6f0013
Fix CONF_FRIENDLY_NAME ( #11438 )
2018-01-03 23:52:36 +01:00
Pascal Vizeli
f463f4d8c6
WIP: Cleanup async stuff on templates ( #10275 )
...
Cleanup async stuff on templates
2017-11-01 15:48:09 +01:00
Aaron Bach
646c03eea1
Add entity_picture_template options to Template Cover, Template Light, Template Sensor, and Template Switch ( #9854 )
...
* Re-adding cover
* Re-adding light
* Re-adding sensor
* Re-adding switch
* Re-added tests
* Fixing missing imports in rebased test
* Fixing broken tests
* Owner-requested changes
* Owner-requested changes
* Fixed exception
2017-10-30 09:28:37 -07:00
Pascal Vizeli
c1b197419d
Fix async probs ( #9924 )
...
* Update entity.py
* Update entity_component.py
* Update entity_component.py
* Update __init__.py
* Update entity_component.py
* Update entity_component.py
* Update entity.py
* cleanup entity
* Update entity_component.py
* Update entity_component.py
* Fix names & comments / fix tests
* Revert deadlock protection
* Add tests for entity
* Add test fix name
* Update other code
* Fix lint
* Remove restore state from template entities
* Lint
2017-10-19 10:56:25 +02:00
Pascal Vizeli
90f9a6bc0a
Cleanup and simplitfy the async state update ( #9390 )
...
* Cleanup and simplitfy the async state update
* Update test_entity.py
2017-09-12 10:01:03 +02:00
PhracturedBlue
2ec0d25a38
optimistic mode for template covers (w/o timed movement) ( #8402 )
...
* Emulate set_current_position in cover.template
* Add opportunistic mode
* Prevent another move when cover is already moving. Add tests for opotunistic/timed-delay mode
* Remove timed-move capabilities
* Set init state to unknown
* cleanup template
* Update test_template.py
2017-08-25 12:33:53 +02:00
PhracturedBlue
b67c5df525
cover_template:i open/close/stop actions no longer required. Improve tests ( #8344 )
2017-07-06 22:35:59 -07:00
PhracturedBlue
17237e9d3f
Implement templates for covers ( #8100 )
...
* Implement templates for covers
* Fix a few remaining pylint warnings
* Fix hound line-length warnings
* Fix one more hound line-length warning
* Fix quadruple-quotes an line length code-quality issues
* Irrelevant change to retrigger travis due to timeout
* Use volutuous Exclusive to check for mutex condition
* Fix incorrect state check
2017-06-30 08:24:29 -07:00