mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
[Modbus Controller] Fix issue #6477. Online automation triggering Offline automation.
This commit is contained in:
parent
ef7c5c6055
commit
9b2c4479f1
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ CONFIG_SCHEMA = cv.All(
|
|||
),
|
||||
cv.Optional(CONF_ON_OFFLINE): automation.validate_automation(
|
||||
{
|
||||
cv.GenerateID(CONF_TRIGGER_ID): cv.declare_id(ModbusOnlineTrigger),
|
||||
cv.GenerateID(CONF_TRIGGER_ID): cv.declare_id(ModbusOfflineTrigger),
|
||||
}
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue