epenet
7967f49e48
Add light setup type hints [s-z] ( #63293 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:43:55 +01:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Magnus Brange
21575938ef
Prevent turning on tellduslive lights with 0 brightness ( #23135 )
...
* Prevent turning on tellduslive lights with 0 brightness
It was possible for the light compontent to get in a state where the last_brightness was set to zero, and when turning on (by calling turn_on) it would call the TellStick with 0 dim level, ergo not turning on the light.
With this, it will fall back on a 75% dim level if the level is set to zero.
* Wrap long log line over two lines
And using a more proper way of formatting the message
* Fallback to 100% instead of 75%
2019-05-02 12:53:32 +02:00
Fredrik Erlandsson
0056fcf904
Make platform setup a coroutine ( #22620 )
...
* make setup_platform a coroutine
* Update homeassistant/components/tellduslive/sensor.py
Co-Authored-By: fredrike <fredrik.e@gmail.com>
2019-04-01 10:01:31 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fredrik Erlandsson
54895fcb1e
resync hass that changes have occured ( #21705 )
2019-03-06 07:52:25 -05:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
ec57db78b5
Consolidate config flow components ( #20635 )
...
* Consolidate config flow components
* Fix tests
* Fix tests
* Put unifi back
* Fix reqs
* Update coveragerc
2019-02-01 15:45:44 -08:00