mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-12 14:37:11 +03:00
Merge branch 'dev' into dev
This commit is contained in:
@@ -39,9 +39,6 @@ CODEOWNERS = ["@GrKoR"]
|
|||||||
DEPENDENCIES = ["climate", "uart"]
|
DEPENDENCIES = ["climate", "uart"]
|
||||||
AUTO_LOAD = ["sensor", "binary_sensor"]
|
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_SHOW_ACTION = 'show_action'
|
||||||
CONF_INDOOR_TEMPERATURE = 'indoor_temperature'
|
CONF_INDOOR_TEMPERATURE = 'indoor_temperature'
|
||||||
CONF_OUTDOOR_TEMPERATURE = 'outdoor_temperature'
|
CONF_OUTDOOR_TEMPERATURE = 'outdoor_temperature'
|
||||||
@@ -60,7 +57,6 @@ CONF_DISPLAY_INVERTED = 'display_inverted'
|
|||||||
ICON_DISPLAY = "mdi:clock-digital"
|
ICON_DISPLAY = "mdi:clock-digital"
|
||||||
CONF_STORE_SETTINGS = 'store_settings'
|
CONF_STORE_SETTINGS = 'store_settings'
|
||||||
|
|
||||||
|
|
||||||
aux_ac_ns = cg.esphome_ns.namespace("aux_ac")
|
aux_ac_ns = cg.esphome_ns.namespace("aux_ac")
|
||||||
AirCon = aux_ac_ns.class_("AirCon", climate.Climate, cg.Component)
|
AirCon = aux_ac_ns.class_("AirCon", climate.Climate, cg.Component)
|
||||||
Capabilities = aux_ac_ns.namespace("Constants")
|
Capabilities = aux_ac_ns.namespace("Constants")
|
||||||
@@ -303,6 +299,7 @@ async def display_on_to_code(config, action_id, template_arg, args):
|
|||||||
return cg.new_Pvariable(action_id, template_arg, paren)
|
return cg.new_Pvariable(action_id, template_arg, paren)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SEND_TEST_PACKET_ACTION_SCHEMA = maybe_simple_id(
|
SEND_TEST_PACKET_ACTION_SCHEMA = maybe_simple_id(
|
||||||
{
|
{
|
||||||
cv.Required(CONF_ID): cv.use_id(AirCon),
|
cv.Required(CONF_ID): cv.use_id(AirCon),
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ climate:
|
|||||||
show_action: true
|
show_action: true
|
||||||
display_inverted: true
|
display_inverted: true
|
||||||
indoor_temperature:
|
indoor_temperature:
|
||||||
name: ${upper_devicename} AC Indoor Temperature
|
name: ${upper_devicename} Indoor Temperature
|
||||||
id: ${devicename}_indoor_temp
|
id: ${devicename}_indoor_temp
|
||||||
internal: false
|
internal: false
|
||||||
display_state:
|
display_state:
|
||||||
|
|||||||
Reference in New Issue
Block a user