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

This commit is contained in:
TFGF 2024-11-24 19:15:10 -03:00 committed by GitHub
parent 9fc1377b44
commit d4d630823c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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