So I am playing with an rgb lightbulb.
on my dashboard I have a button as part of a glance card
- entity: light.office name: Office tap_action: action: toggle
on another card I have two buttons:
one activates a scene for that light and the other changes the light color using a script. Both scene and script turn the bulb red.
Scene Button
- type: entity-button
name: Night Light
show_name: true
icon: mdi:weather-night
entity: scene.office_night
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.office_night
Script button
- type: entity-button
name: Night Light
show_name: true
icon: mdi:weather-night
entity: script.nightlight
tap_action:
action: toggle
when using the script button the icon on the glance card above changes color to red reflecting the color of the bulb. When using the scene button however the color of the icon does not change and stays bright green as an “On” bulb.
Both buttons achieve the expected result on the lightbulb.
Is this standard behavior?