You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value: 'off'
color: red
icon: mdi:garage-open-variant
styles:
icon:
- animation: blink 2s linear infinite
value: 'on'
icon: mdi:garage-variant
color: green
When I tap the button, I just get the history window for the binary_sensor. It does not call my script. It does call the script if I change the entity to the momentary relay that activates my garage door. However, since that's a momentary switch, my state section is not working correctly, as that relies on the state of the binary_sensor.
The text was updated successfully, but these errors were encountered:
I have the following yaml for my garage button:
type: custom:button-card
entity: binary_sensor.garage_door_sensor
icon: mdi:garage-variant
name: Garage
tap-action:
action: call-service
service: script.toggle_garage_door
state:
color: red
icon: mdi:garage-open-variant
styles:
icon:
- animation: blink 2s linear infinite
icon: mdi:garage-variant
color: green
When I tap the button, I just get the history window for the binary_sensor. It does not call my script. It does call the script if I change the entity to the momentary relay that activates my garage door. However, since that's a momentary switch, my state section is not working correctly, as that relies on the state of the binary_sensor.
The text was updated successfully, but these errors were encountered: