Hey all,
i have this entity: switch.downstairs_hallway_chime_snooze_2
I can trigger this via the button card in my UI
However, if want to trigger this via an automation im not sure which service to call?
- “button.press” or
- “swtich.toggle”
- “switch.on”
seem to show this entity in the devices
thoughts?
card:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
confirmation:
text: Are you sure you want to snooze for 30min?
entity: switch.downstairs_hallway_chime_snooze_2
name: Snoozen Chime 30min
I know the button works as the notification comes up and i see the event trigger
- id: ikea_button_snooze_chime
alias: Ikea Button Snooze Chime
trigger:
platform: event
event_type: deconz_event
event_data:
id: chime_snooze
event: 1002
action:
- service: button.press
target:
entity_id: button.downstairs_hallway_chime_snooze_2
- service: notify.persistent_notification #notify.notify
data_template:
message: "Chime snoozed for 30min"
title: Chime Snooze!