1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-26 22:57:17 +00:00

19 Commits

Author SHA1 Message Date
Johann Kellerman
6511e11ec9 Config Validator: schema_with_slug_keys ()
* 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 () 2018-10-15 11:38:49 +02:00
cdce8p
7f0a50ce31 async_create_task ()
* async_create_task

* Update google.py
2018-10-02 11:03:09 +02:00
cdce8p
3b5e5cbcd6 Async syntax 5, light & lock & remote & scene & telegram & helpers () 2018-10-01 08:56:50 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ()
* add_devices -> add_entities

* Lint

* PyLint

* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Ville Skyttä
e31dd4404e Pylint 2 fixes ()
* pylint 2 inline disable syntax fixes

* pylint 2 logging-not-lazy fixes

* pylint 2 consider-using-in fixes

* Revert pylint 2 inline disable syntax fixes addressing unused-imports

Will have a go at removing more unused imports altogether first.
2018-07-17 19:34:29 +02:00
Paulus Schoutsen
3fd61d8f45 Update voluputous ()
* Update voluputous

* Fix http config

* Fix optional with default=None

* Optional, default=none

* Fix defaults in voluptuous schemas

* Fix tests

* Fix update error

* Lint
2018-02-17 10:29:14 +01:00
Andrey
13d6e56106 Fix light template to return brightness as int () 2018-02-16 09:32:11 -08:00
Anders Melchiorsen
aa9b5e6ea5 Return of entity_id in template platforms () 2018-02-07 22:46:14 -08:00
Anders Melchiorsen
9e0ca719ed Deprecate explicit entity_id in template platforms ()
* 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 () 2018-01-03 23:52:36 +01:00
Pascal Vizeli
fb34f94d9c
Update template.py 2017-11-01 14:20:29 +01:00
Aaron Bach
646c03eea1 Add entity_picture_template options to Template Cover, Template Light, Template Sensor, and Template Switch ()
* 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 ()
* 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
Fabian Affolter
834d0e489e Move 'lights' to const.py () 2017-10-18 18:41:14 +02:00
rollbrettler
371d1cc872 Fix displaying of friendly_name for light template component () 2017-09-14 10:13:01 +02:00
Pascal Vizeli
90f9a6bc0a Cleanup and simplitfy the async state update ()
* Cleanup and simplitfy the async state update

* Update test_entity.py
2017-09-12 10:01:03 +02:00
cribbstechnologies
dc45ed38e7 fixing potential null issue with optional param being parsed as a script ()
* fixing potential null issue with optional param being parsed as a script

* Create template.py
2017-06-11 22:58:20 -07:00
cribbstechnologies
ef4ef2d383 Template light ()
* starting light template component

* linting/flaking

* starting unit tests from copypasta

* working on unit testing

* forgot to commit the test

* wrapped up unit testing

* adding remote back

* updates post running tox

* Revert "adding remote back"

This reverts commit 852c87ff9694dfc48e92b74fd9dbafbc164a2393.

* adding submodule back from origin

* updating submodule

* removing a line to commit

* re-adding line

* trying to update line endings

* trying to fix line endings

* trying a different approach

* making requested changes, need to fix tests

* flaking

* union rather than intersect; makes a big difference

* more tests passing, not sure why this one's failing

* got it working

* most of the requested changes

* hopefully done now

* sets; the more you know
2017-05-24 14:32:22 -04:00