I am using a mushroom chip card on my dashboard that turns off all devices in a specific area (in this case the area is “living room”. Works perfectly for lights, heating etc but I can’t get it to turn off the TV.
When I press the button, I can see that the TV Media card briefly says “off” but then it just changes back to “on”.
Here is the code from the card:
type: custom:mushroom-chips-card
chips:
- type: back
- type: weather
entity: weather.forecast_home
tap_action:
action: none
show_conditions: true
- type: action
tap_action:
action: call-service
service: homeassistant.turn_off
target:
area_id: living_room
data: {}
icon: mdi:power
icon_color: red
alignment: justify
I tried adding the area “living room” and also adding the TV entity as well but it still doesn’t work…
type: custom:mushroom-chips-card
chips:
- type: back
- type: weather
entity: weather.forecast_home
tap_action:
action: none
show_conditions: true
- type: action
tap_action:
action: call-service
service: homeassistant.turn_off
target:
area_id: living_room
entity_id: media_player.sony_tv_2
data: {}
icon: mdi:power
icon_color: red
alignment: justify