I have a mushroom-template card and the icon color changes nicely. But i want to be able to toggle two intities when i hold it and navigate when i tab on it.
I have the following code which does not present an error (or log for that matter) but it does not toggle the lights and navagating is not working.
- type: custom:mushroom-template-card
primary: Woonkamer
secondary: >
{{ states('sensor.livingroom_temperature') }}°c / {{
states('sensor.livingroom_humidity') }}%
icon: hue:room-living
entity:
- light.living_room
- light.corner_lights
tap_action:
action: navigate
navigation_path: /mushroom-home/woonkamer
hold_action:
action: toggle
icon_color: |-
{% if is_state('light.living_room', 'on') %}
orange
{% endif %}
When i use service:
service: light.toggle
service_data:
entity_id:
- light.living_room
- light.corner_lights
the lights are toggling fine but navigating is not working.
Any idea why this is not working and how to fix that?