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

[Modbus Controller] Added on_online and on_offline automation (#7417)

This commit is contained in:
TFGF
2024-11-12 17:48:40 -03:00
committed by GitHub
parent b367c01b4b
commit 7d75c9157b
7 changed files with 78 additions and 3 deletions

View File

@@ -13,4 +13,7 @@ modbus_controller:
address: 0x2
modbus_id: mod_bus1
allow_duplicate_commands: true
on_offline:
then:
logger.log: "Module Offline"
max_cmd_retries: 10