mirror of
https://github.com/esphome/esphome.git
synced 2024-12-11 14:49:20 +01:00
This commit is contained in:
parent
e9851e7eb2
commit
1b91e0027b
@ -163,7 +163,7 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
),
|
),
|
||||||
cv.Optional(CONF_ON_OFFLINE): automation.validate_automation(
|
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 New Issue
Block a user