1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-05 10:20:27 +01:00

Update __init__.py

This commit is contained in:
Oliver Kleinecke 2025-02-05 15:02:40 +01:00 committed by GitHub
parent 5e69d5ae19
commit a510c13d83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,3 +53,4 @@ async def to_code(config):
config[CONF_INITIAL_VALUE],
)
await output.register_output(var, config)
cg.add(var.set_initial_value(config[CONF_INITIAL_VALUE]))