mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
This commit is contained in:
parent
9fc1377b44
commit
d4d630823c
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.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