mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-09-14 15:49:35 +00:00
This is the current config. Moved old to the v1-config branch
This commit is contained in:
44
automation/notifications.yaml
Normal file
44
automation/notifications.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
#
|
||||
#
|
||||
# Notifications
|
||||
#
|
||||
#
|
||||
#####################
|
||||
|
||||
- alias: Turn Off Audible Notifications at 8pm
|
||||
trigger:
|
||||
- platform: time
|
||||
hours: 20
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.audible_notifications
|
||||
|
||||
|
||||
- alias: Turn Off Audible Notifications at 7pm
|
||||
trigger:
|
||||
- platform: time
|
||||
hours: 19
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'on'
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.audible_notifications
|
||||
|
||||
|
||||
- alias: Turn On Audible Notifications at 8am
|
||||
trigger:
|
||||
- platform: time
|
||||
hours: 8
|
||||
minutes: 0
|
||||
seconds: 0
|
||||
action:
|
||||
- entity_id: input_boolean.audible_notifications
|
||||
service: input_boolean.turn_on
|
||||
|
Reference in New Issue
Block a user