Files
core/tests/components
Bob Clough 617647c5fd 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 15:00:06 -04:00
..
2018-05-29 23:14:58 +02:00
2018-06-13 11:14:52 -04:00
2017-11-05 13:51:52 +01:00
2018-05-01 18:20:41 +02:00
2018-04-12 14:28:54 +02:00
2018-04-18 15:46:44 -04:00
2018-06-03 23:01:48 +02:00
2016-03-09 10:25:50 +01:00
2018-01-29 23:37:19 +01:00
2018-01-27 11:58:27 -08:00
2017-09-24 15:48:45 -07:00
2018-06-14 11:57:09 -04:00
2018-01-29 23:37:19 +01:00
2018-03-30 21:33:30 +02:00
2018-06-07 15:58:54 +02:00
2017-10-27 10:15:47 +02:00
2018-06-01 10:06:17 -04:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2017-03-30 00:50:53 -07:00
2018-05-14 09:13:59 +02:00
2018-04-13 00:22:52 +02:00
2018-01-05 16:34:03 -08:00