[Edited to include the Lovelace card configs.]
Hello - Any help much appreciated.
I have tried using both curl via a terminal and the dev-service page to overwrite the brightness attribute of a light. I have tried this with both rfxtrx: and mqtt: lights.
Examples:
curl -X POST -H "Authorization: Bearer MYTOKEN" \
-H "Content-Type: application/json" \
-d '{"state": "on", "attributes": {"brightness": "100"}}' \
"http://192.168.xxx.xxx:8123/api/states/light.office_light"
Both commands are successful with the same result in the dev-state panel:
However, the on/off light bulb icon indicator disappears (actually goes white, I think) in all of the UI views I’ve tried:
Lovelace Light Card
entity: light.office_light
name: Office
type: light
Lovelace Entity Card
entity: light.office_light
hold_action:
action: more-info
name: Office
tap_action:
action: toggle
type: entity-button
and the States UI.
Here is an example of what the Lovelace Light Card looks like:
As you can see, the brightness slide displays the value correctly, but the light bulb is missing.
Any ideas why this the light bulb icon disappears and/or suggestions for a workaround?
Thanks