core/homeassistant/components/tellduslive
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
..
.translations Update translations 2019-04-17 09:31:34 -07:00
__init__.py Remove dependencies and requirements (#23024) 2019-04-12 10:13:30 -07:00
binary_sensor.py
config_flow.py
const.py
cover.py
entry.py
light.py Prevent turning on tellduslive lights with 0 brightness (#23135) 2019-05-02 12:53:32 +02:00
manifest.json
sensor.py
strings.json
switch.py