Fix variable name

This commit is contained in:
Keith Burzinski 2024-05-02 04:09:27 -05:00
parent 3c70762369
commit 75d5ba09e7
No known key found for this signature in database
GPG Key ID: 802564C5F0EEFFBE

View File

@ -17,14 +17,14 @@ CONF_ON_PROGRESS = "on_progress"
CONF_ON_STATE_CHANGE = "on_state_change"
ota = cg.esphome_ns.namespace("ota")
OTAComponent = ota.class_("OTAComponent", cg.Component)
OTAState = ota.enum("OTAState")
OTAEndTrigger = ota.class_("OTAEndTrigger", automation.Trigger.template())
OTAErrorTrigger = ota.class_("OTAErrorTrigger", automation.Trigger.template())
OTAProgressTrigger = ota.class_("OTAProgressTrigger", automation.Trigger.template())
OTAStartTrigger = ota.class_("OTAStartTrigger", automation.Trigger.template())
OTAStateChangeTrigger = ota.class_(
ota_ns = cg.esphome_ns.namespace("ota")
OTAComponent = ota_ns.class_("OTAComponent", cg.Component)
OTAState = ota_ns.enum("OTAState")
OTAEndTrigger = ota_ns.class_("OTAEndTrigger", automation.Trigger.template())
OTAErrorTrigger = ota_ns.class_("OTAErrorTrigger", automation.Trigger.template())
OTAProgressTrigger = ota_ns.class_("OTAProgressTrigger", automation.Trigger.template())
OTAStartTrigger = ota_ns.class_("OTAStartTrigger", automation.Trigger.template())
OTAStateChangeTrigger = ota_ns.class_(
"OTAStateChangeTrigger", automation.Trigger.template()
)