Files
espurna/code
Max Prokhorov ff1c9e4991 domoticz: allow dimmer device to control brightness (#2317)
Per PR comment:
> I'm running simple 1-channel led dimmer and couldn't get brightness control working, as it was called only if lightHasColor().
> This PR changes conditions slightly, and allows domoticz's dimmer device to control brightness as well. I think this device type is more appropriate/comfortable in this case."

- remove lightHasColor() check, try to parse the payload and manually adjust the channels
- when domoticz payload does not have "Color" field, still fall-through to the brightness update
2020-08-13 18:06:39 +03:00
..
2020-07-03 23:25:33 +03:00
2019-07-11 00:34:17 +03:00
2020-08-02 09:12:38 +03:00
2020-08-02 09:12:38 +03:00
2019-07-11 00:34:17 +03:00
2018-12-09 21:11:12 +01:00
2018-12-09 00:03:55 +03:00
2019-07-11 00:34:17 +03:00