diff --git a/custom_components/ge_home/devices/sac.py b/custom_components/ge_home/devices/sac.py index 2edfac6..a183fe9 100644 --- a/custom_components/ge_home/devices/sac.py +++ b/custom_components/ge_home/devices/sac.py @@ -27,9 +27,9 @@ class SacApi(ApplianceApi): ] if self.has_erd_code(ErdCode.SAC_SLEEP_MODE): - GeErdSwitch(self, ErdCode.SAC_SLEEP_MODE, bool_converter=ErdOnOffBoolConverter(), icon_on_override="mdi:sleep", icon_off_override="mdi:sleep-off"), + sac_entities.append(GeErdSwitch(self, ErdCode.SAC_SLEEP_MODE, bool_converter=ErdOnOffBoolConverter(), icon_on_override="mdi:sleep", icon_off_override="mdi:sleep-off")) if self.has_erd_code(ErdCode.SAC_AUTO_SWING_MODE): - GeErdSwitch(self, ErdCode.SAC_AUTO_SWING_MODE, bool_converter=ErdOnOffBoolConverter(), icon_on_override="mdi:arrow-decision-auto", icon_off_override="mdi:arrow-decision-auto-outline"), + sac_entities.append(GeErdSwitch(self, ErdCode.SAC_AUTO_SWING_MODE, bool_converter=ErdOnOffBoolConverter(), icon_on_override="mdi:arrow-decision-auto", icon_off_override="mdi:arrow-decision-auto-outline")) entities = base_entities + sac_entities diff --git a/custom_components/ge_home/entities/common/ge_erd_entity.py b/custom_components/ge_home/entities/common/ge_erd_entity.py index aae33fc..ab45351 100644 --- a/custom_components/ge_home/entities/common/ge_erd_entity.py +++ b/custom_components/ge_home/entities/common/ge_erd_entity.py @@ -132,6 +132,8 @@ class GeErdEntity(GeEntity): if self.erd_code_class == ErdCodeClass.LIQUID_VOLUME: return "mdi:water" if self.erd_code_class == ErdCodeClass.AC_SENSOR: - return "mdi:air-conditioner" + return "mdi:air-conditioner" + if self.erd_code_class == ErdCodeClass.TEMPERATURE_CONTROL: + return "mdi:thermometer" return None