1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

better states handling + enable/disable

This commit is contained in:
oarcher
2024-07-18 18:41:52 +02:00
parent 290952fd9c
commit a8e43335ae
5 changed files with 217 additions and 86 deletions

View File

@@ -7,7 +7,13 @@ modem:
model: SIM7600
apn: orange
pin_code: "0000"
enabled_on_boot: True
init_at:
- AT
on_not_responding:
logger.log: "modem not responding"
on_connect:
logger.log: "got IP"
on_disconnect:
logger.log: "lost IP"