ljmerza / light-entity-card

Control any light or switch entity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For RGBW over MQTT, card sends white_value, which is deprecated

catdotgif opened this issue · comments

For an RGBW MQTT light, configurations with white_value = true in configuration.yaml give an error in HA

the expected formats are:
rgbw_state_topic string (optional)
The MQTT topic subscribed to receive RGBW state updates. The expected payload is the RGBW values separated by commas, for example, 255,0,127,64.

or, for JSON, a key in the format:
"color":{"r":0,"g":121,"b":6,"w":255}

When you select a value with the White slider, HA throws an error saying white_value is undefined

Really nice widget, hope you have time to pick this issue up!