Paulus Schoutsen
6d431c3fc3
Allow renaming entities in entity registry ( #12636 )
...
* Allow renaming entities in entity registry
* Lint
2018-02-24 10:53:59 -08:00
Pascal Vizeli
1719fa7008
Cleanup old stale restore feature ( #10593 )
...
* Cleanup old stale restore feature
* cleanup
* Update __init__.py
* Update test_demo.py
* Lint
2017-11-15 23:03:41 -08:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Johann Kellerman
fdc373f27e
Restore_state helper to restore entity states from the DB on startup ( #4614 )
...
* Restore states
* feedback
* Remove component move into recorder
* space
* helper
* Address my own comments
* Improve test coverage
* Add test for light restore state
2017-02-20 23:40:27 -08:00
Teemu R
061985bc65
Add available property and typing hints ( #5593 )
...
* light.demo: add available property, add typing hints
* light.demo: keep all lights available, fix init ordering
* Fix issues raised during review
* Update demo.py
2017-02-08 12:13:07 -08:00
Pascal Vizeli
bde7176b3c
Migrate light component to async ( #4635 )
2016-11-30 13:33:38 -08:00
Antoine Bertin
f0db698f75
Light effects ( #4538 )
...
* Add support for light effects
* Move PLATFORM_SCHEMA changes in light to mqtt_template
* Add effect validation
* Add unittests
* Add light effect to demo and unittests
* Use cv.string for config validation
* Use cv.ensure_list for config validation
* Fix typo
* Remove unused exception management for effect
2016-11-27 17:15:28 -08:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Marc Pabst
138205a019
Adding support for a white value ( #3338 )
...
* Update __init__.py
addedattribute "WHITE_VALUE" to improve support for RGBW devices
* Update services.yaml
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
shortened line
* Update __init__.py
* Update __init__.py
* Add mysensors RGBW and light tests
* Activate support for mysensors RGBW devices with support for
white_value attribute.
* Add white_value support in light demo platform.
* Add tests for white_value and more for light component.
* Add tests for light demo platform.
* Fix import order in check_config.
2016-09-20 21:26:40 -07:00
Assaf Inbal
72ad1d8d7c
Added support for exposing light features ( #2828 )
2016-08-15 23:07:07 -07:00
Fabian Affolter
bef2f87ddc
Docstrings ( #2502 )
...
* Update docstrings
* Update docstrings
* Add link to docs
2016-07-12 16:46:29 +02:00
Fabian Affolter
7e8e91ef3c
Fix PEP257 issues
2016-03-07 22:08:21 +01:00
Fabian Affolter
4563c54a3e
Add link to docs and modify docstrings to match PEP257
2016-02-24 10:38:06 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
95320f39b3
Light: base color now in RGB instead of XY
2015-11-07 01:25:33 -08:00
Tom Duijf
194c6343ac
Minor corrections to light and light/demo
2015-10-30 19:01:42 +00:00
Tom Duijf
6bad702db4
Renamed to color_temp, removed capabilities (not needed afterall)
2015-10-28 23:12:16 +00:00
Tom Duijf
805aecd6f9
pylint & flake cleanup
2015-10-27 22:49:45 +00:00
Tom Duijf
e4d33bc6d4
Included ct_color in code coverage
2015-10-27 22:45:35 +00:00
Paulus Schoutsen
4cadc7df96
Update demo component
2015-08-30 15:08:03 -07:00
Paulus Schoutsen
d3320963c3
Refactor basic light structure
2015-06-13 16:42:09 -07:00
Fabian Affolter
ec0dd39220
update header
2015-05-10 23:45:47 +02:00
Paulus Schoutsen
a9324ba9d4
Update components to use Entity instead of Device
2015-03-21 19:16:13 -07:00
Paulus Schoutsen
71803658f5
Updates to demo component and platforms
2015-03-16 22:20:35 -07:00
Paulus Schoutsen
3e15742875
Move device ABCs to separate helper file
2015-03-05 23:18:22 -08:00
Paulus Schoutsen
b38146bdef
Auto set friendly name in state attributes
2015-02-28 20:10:39 -08:00
Paulus Schoutsen
b2b82d955c
Break demo component into small demo platforms
2015-02-28 07:31:39 -08:00