DrozmotiX / ioBroker.esphome

Control your ESP8266/ESP32 with simple yet powerful configuration files created and managed by ESPHome
MIT License
30 stars 23 forks source link

Request for integration - ESPHome Light Component - Differentiation RGB white -> "white channel" white #15

Open bigd-73 opened 3 years ago

bigd-73 commented 3 years ago

Hallo Dutchman,

optimal wäre dann noch eine weitere Funktion bzw. Abfrage im Adapter. Falls via Hex Value #ffffff (weiss) bzw. RGB Value jeweils 255 (weiss) eingegeben wird, automatisch der White Channel (State "white" in den Objekten) auf 1 geht und RGB jeweils auf 0. Das ganze natürlich auch umgekehrt. Wird eine Farbe eingegeben (nicht weiss), soll der White Channel wieder auf 0 und die RGB bzw. Hex Werte gesetzt werden. Da der White Channel nicht bei jedem Lichttyp verwendet wird müsste man eine Unterscheidung über die Config States vornehmen bzw. dieses Feature Ein/Aus schaltbar machen, via State.

Danke

SG Mario

DutchmanNL commented 3 years ago

I just realized the library is not handling RGBW correctly, will park this issue until RGBW is fully supported to check how we can handle this request