various esphome yaml tidyups
This commit is contained in:
@@ -120,14 +120,6 @@ mqtt:
|
||||
# payload: offline
|
||||
# A way to prevent deep sleep using MQTT command
|
||||
on_message:
|
||||
- topic: viewroad-commands/attobat/deepsleepoff
|
||||
payload: 'ON'
|
||||
then:
|
||||
- deep_sleep.prevent: deep_sleep_1
|
||||
- topic: viewroad-commands/attobat/deepsleepon
|
||||
payload: 'ON'
|
||||
then:
|
||||
- deep_sleep.enter: deep_sleep_1
|
||||
- topic: viewroad-commands/attobat/deepsleep
|
||||
payload: 'OFF'
|
||||
then:
|
||||
|
Reference in New Issue
Block a user