Files
core/homeassistant/components/light
Bob Clough bfc55137ea Fix MQTT Light with RGB and Brightness (#15053)
* Fix MQTT Light with RGB and Brightness

When an MQTT light is given an RGB and Brightness topic, the RGB
is scaled by the brightness *as well* as the brightness being set

This causes 255,0,0 at 50% brightness to be sent as 127,0,0 at 50%
brightness, which ends up as 63,0,0 after the RGB bulb has applied
its brightness scaling.

Fixes the same issue in mqtt, mqtt-json and mqtt-template.

Related Issue: #13725

* Add comment to mqtt_json as well
2018-06-21 14:59:02 -04:00
..
2018-04-12 14:28:54 +02:00
2018-04-07 19:11:48 +02:00
2017-12-05 09:44:22 +01:00
2018-02-11 09:20:28 -08:00
2018-02-11 09:20:28 -08:00
2018-05-18 08:50:57 +02:00
2018-04-16 21:00:13 +02:00
2018-01-29 23:37:19 +01:00
2018-03-25 18:07:26 -07:00
2018-04-10 14:11:00 -04:00
2018-02-11 09:20:28 -08:00
2018-01-30 10:39:39 +01:00
2018-01-27 11:58:27 -08:00
2018-04-08 21:59:19 +02:00
2018-02-17 10:29:14 +01:00
2017-07-26 14:03:29 +02:00
2018-05-15 07:53:12 +02:00
2018-05-03 23:28:03 +02:00