mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
better states handling + enable/disable
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user