mirror of
https://github.com/esphome/esphome.git
synced 2025-10-18 17:53:47 +01:00
15 lines
391 B
Python
15 lines
391 B
Python
import esphome.codegen as cg
|
|
from esphome.components import climate_ir
|
|
|
|
CODEOWNERS = ["@E440QF"]
|
|
AUTO_LOAD = ["climate_ir"]
|
|
|
|
emmeti_ns = cg.esphome_ns.namespace("emmeti")
|
|
EmmetiClimate = emmeti_ns.class_("EmmetiClimate", climate_ir.ClimateIR)
|
|
|
|
CONFIG_SCHEMA = climate_ir.climate_ir_with_receiver_schema(EmmetiClimate)
|
|
|
|
|
|
async def to_code(config):
|
|
await climate_ir.new_climate_ir(config)
|