various esphome yaml tidyups

This commit is contained in:
root
2024-06-06 11:08:40 +12:00
parent 29c092232b
commit 8851f8da5e
5 changed files with 493 additions and 387 deletions

View File

@@ -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: