Update climate.py

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

View file

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