Basic handling for Apple events, manual night button #32

This commit is contained in:
2022-09-05 16:56:59 -04:00
parent e1c4a078bb
commit 7940532991
2 changed files with 20 additions and 1 deletions

File diff suppressed because one or more lines are too long

19
packages/apple.yaml Normal file
View File

@ -0,0 +1,19 @@
# This file will be for various Apple-related automations, scripts, and other needs
automation:
- id: f4b16032-34f2-4446-bddd-ea22cb32b12f
alias: Apple Watch Actions
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: manual-night
id: manual-night
action:
- if:
- condition: trigger
id: manual-night
then:
- service: button.press
target:
entity_id: button.master_bedroom_night_mode