[Modbus Controller] Fix issue #6477. Online automation triggering Offline automation.

This commit is contained in:
Tercio Gaudencio Filho 2024-11-22 12:32:48 -03:00
parent ef7c5c6055
commit 9b2c4479f1
No known key found for this signature in database
GPG key ID: 7218D7B2F57BE9CB

View file

@ -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),
}
),
}