Use same Overkiz (Atlantic) climate entity for 2 different ui widget name (#82955)
* Use same overkiz entity for 2 different ui widget name * Update homeassistant/components/overkiz/climate_entities/__init__.py Co-authored-by: Mick Vleeshouwer <mick@imick.nl> Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
This commit is contained in:
parent
dffdc78915
commit
cad04bff99
2 changed files with 7 additions and 7 deletions
|
@ -7,9 +7,7 @@ from .atlantic_electrical_heater_with_adjustable_temperature_setpoint import (
|
|||
)
|
||||
from .atlantic_electrical_towel_dryer import AtlanticElectricalTowelDryer
|
||||
from .atlantic_heat_recovery_ventilation import AtlanticHeatRecoveryVentilation
|
||||
from .atlantic_pass_apc_heating_and_cooling_zone import (
|
||||
AtlanticPassAPCHeatingAndCoolingZone,
|
||||
)
|
||||
from .atlantic_pass_apc_heating_zone import AtlanticPassAPCHeatingZone
|
||||
from .atlantic_pass_apc_zone_control import AtlanticPassAPCZoneControl
|
||||
from .somfy_thermostat import SomfyThermostat
|
||||
|
||||
|
@ -18,7 +16,9 @@ WIDGET_TO_CLIMATE_ENTITY = {
|
|||
UIWidget.ATLANTIC_ELECTRICAL_HEATER_WITH_ADJUSTABLE_TEMPERATURE_SETPOINT: AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint,
|
||||
UIWidget.ATLANTIC_ELECTRICAL_TOWEL_DRYER: AtlanticElectricalTowelDryer,
|
||||
UIWidget.ATLANTIC_HEAT_RECOVERY_VENTILATION: AtlanticHeatRecoveryVentilation,
|
||||
UIWidget.ATLANTIC_PASS_APC_HEATING_AND_COOLING_ZONE: AtlanticPassAPCHeatingAndCoolingZone,
|
||||
# ATLANTIC_PASS_APC_HEATING_AND_COOLING_ZONE works exactly the same as ATLANTIC_PASS_APC_HEATING_ZONE
|
||||
UIWidget.ATLANTIC_PASS_APC_HEATING_AND_COOLING_ZONE: AtlanticPassAPCHeatingZone,
|
||||
UIWidget.ATLANTIC_PASS_APC_HEATING_ZONE: AtlanticPassAPCHeatingZone,
|
||||
UIWidget.ATLANTIC_PASS_APC_ZONE_CONTROL: AtlanticPassAPCZoneControl,
|
||||
UIWidget.SOMFY_THERMOSTAT: SomfyThermostat,
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"""Support for Atlantic Pass APC Heating And Cooling Zone Control."""
|
||||
"""Support for Atlantic Pass APC Heating Control."""
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, cast
|
||||
|
@ -61,8 +61,8 @@ OVERKIZ_TEMPERATURE_STATE_BY_PROFILE: dict[str, str] = {
|
|||
}
|
||||
|
||||
|
||||
class AtlanticPassAPCHeatingAndCoolingZone(OverkizEntity, ClimateEntity):
|
||||
"""Representation of Atlantic Pass APC Heating And Cooling Zone Control."""
|
||||
class AtlanticPassAPCHeatingZone(OverkizEntity, ClimateEntity):
|
||||
"""Representation of Atlantic Pass APC Heating Zone Control."""
|
||||
|
||||
_attr_hvac_modes = [*HVAC_MODE_TO_OVERKIZ]
|
||||
_attr_preset_modes = [*PRESET_MODES_TO_OVERKIZ]
|
Loading…
Add table
Reference in a new issue