diff --git a/components/aux_ac/climate.py b/components/aux_ac/climate.py index 9d5796e..dbd52f8 100644 --- a/components/aux_ac/climate.py +++ b/components/aux_ac/climate.py @@ -39,9 +39,6 @@ CODEOWNERS = ["@GrKoR"] DEPENDENCIES = ["climate", "uart"] AUTO_LOAD = ["sensor", "binary_sensor"] -CONF_SUPPORTED_MODES = 'supported_modes' -CONF_SUPPORTED_SWING_MODES = 'supported_swing_modes' -CONF_SUPPORTED_PRESETS = 'supported_presets' CONF_SHOW_ACTION = 'show_action' CONF_INDOOR_TEMPERATURE = 'indoor_temperature' CONF_OUTDOOR_TEMPERATURE = 'outdoor_temperature' @@ -60,7 +57,6 @@ CONF_DISPLAY_INVERTED = 'display_inverted' ICON_DISPLAY = "mdi:clock-digital" CONF_STORE_SETTINGS = 'store_settings' - aux_ac_ns = cg.esphome_ns.namespace("aux_ac") AirCon = aux_ac_ns.class_("AirCon", climate.Climate, cg.Component) Capabilities = aux_ac_ns.namespace("Constants") @@ -301,8 +297,9 @@ async def display_off_to_code(config, action_id, template_arg, args): async def display_on_to_code(config, action_id, template_arg, args): paren = await cg.get_variable(config[CONF_ID]) return cg.new_Pvariable(action_id, template_arg, paren) - - + + + SEND_TEST_PACKET_ACTION_SCHEMA = maybe_simple_id( { cv.Required(CONF_ID): cv.use_id(AirCon), diff --git a/examples/advanced/ac_common.yaml b/examples/advanced/ac_common.yaml index dcf8048..e012151 100644 --- a/examples/advanced/ac_common.yaml +++ b/examples/advanced/ac_common.yaml @@ -65,7 +65,7 @@ climate: show_action: true display_inverted: true indoor_temperature: - name: ${upper_devicename} AC Indoor Temperature + name: ${upper_devicename} Indoor Temperature id: ${devicename}_indoor_temp internal: false display_state: @@ -119,4 +119,4 @@ switch: turn_on_action: - aux_ac.display_on: aux_id turn_off_action: - - aux_ac.display_off: aux_id \ No newline at end of file + - aux_ac.display_off: aux_id