Updating standards.
This commit is contained in:
17
standard_mqtt_deepsleep.yaml
Normal file
17
standard_mqtt_deepsleep.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
mqtt:
|
||||
broker: !secret mqtt_broker
|
||||
discovery: True
|
||||
username: !secret mqtt_username
|
||||
password: !secret mqtt_password
|
||||
# keepalive: 2s
|
||||
birth_message:
|
||||
topic: ${device_name}/status
|
||||
payload: coming_online_birth
|
||||
will_message:
|
||||
topic: ${device_name}/status
|
||||
payload: going_offline_will
|
||||
on_message:
|
||||
topic: ${device_name}/ota_mode
|
||||
payload: 'ON'
|
||||
then:
|
||||
- deep_sleep.prevent: deep_sleep_1
|
||||
Reference in New Issue
Block a user