Inital Commit
This commit is contained in:
10
automations/quiet_time_settings.yaml
Normal file
10
automations/quiet_time_settings.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
- id: quiet_time_settings_to_mqtt
|
||||
alias: Publish quiet time value to mqtt
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.quiet_time
|
||||
action:
|
||||
service: mqtt.publish
|
||||
data_template:
|
||||
payload: "{{trigger.to_state.state}}"
|
||||
topic: viewroad-status/homeassistant/quiet-time
|
Reference in New Issue
Block a user