11 lines
300 B
YAML
11 lines
300 B
YAML
- 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
|