Update climate.py

This commit is contained in:
Midnighter32 2024-10-08 13:11:51 +03:00 committed by GitHub
parent 1d25a6f4f5
commit 74523496fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,7 @@ CONFIG_SCHEMA = climate_ir.CLIMATE_IR_SCHEMA.extend(
} }
) )
async def to_code(config): async def to_code(config):
var = cg.new_Pvariable(config[CONF_ID]) var = cg.new_Pvariable(config[CONF_ID])
await climate_ir.register_climate_ir(var, config) await climate_ir.register_climate_ir(var, config)