mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
Set "CONF_" CI counter to fail on 3 or more definitions (#6668)
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.components import climate_ir
|
||||
from esphome.const import CONF_ID
|
||||
from esphome.const import CONF_ID, CONF_USE_FAHRENHEIT
|
||||
|
||||
AUTO_LOAD = ["climate_ir"]
|
||||
|
||||
whynter_ns = cg.esphome_ns.namespace("whynter")
|
||||
Whynter = whynter_ns.class_("Whynter", climate_ir.ClimateIR)
|
||||
|
||||
CONF_USE_FAHRENHEIT = "use_fahrenheit"
|
||||
|
||||
CONFIG_SCHEMA = climate_ir.CLIMATE_IR_WITH_RECEIVER_SCHEMA.extend(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user