home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70k stars 29.08k forks source link

HVAC modes don't work for AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint in Overkiz #102573

Open pgpapp opened 9 months ago

pgpapp commented 9 months ago

The problem

Model Thermor issues keyword 'manual' not handled by the integration. Furthermore, the control commands are not proper for the model, the ON, OFF, AUTO is missing.

What version of Home Assistant Core has the issue?

2023.10.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

overkiz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/overkiz/

Diagnostics information

 File "/usr/src/homeassistant/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py", line 90, in hvac_mode
    return OVERKIZ_TO_HVAC_MODE[state.value_as_str]
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'manual'

Model thermor issues 'manual' mode not handled by the integration. While overkiz was an addon it was easy to correct for it substituting (lines 86-90)

    def hvac_mode(self) -> HVACMode:
        """Return hvac operation ie. heat, cool mode."""
        states = self.device.states
        if (state := states[OverkizState.CORE_OPERATING_MODE]) and state.value_as_str:
            return OVERKIZ_TO_HVAC_MODE[state.value_as_str]

to

    def hvac_mode(self) -> HVACMode:
        """Return hvac operation ie. heat, cool mode."""
        states = self.device.states
        if (state := states[OverkizState.CORE_OPERATING_MODE]) and state.value_as_str and state.value in OVERKIZ_TO_HVAC_MODE.keys():
            return OVERKIZ_TO_HVAC_MODE[state.value_as_str]

-- another problem is arising from lines 48-58:

OVERKIZ_TO_HVAC_MODE: dict[str, HVACMode] = {
    OverkizCommandParam.ON: HVACMode.HEAT,
    OverkizCommandParam.OFF: HVACMode.OFF,
    OverkizCommandParam.AUTO: HVACMode.AUTO,
    OverkizCommandParam.BASIC: HVACMode.HEAT,
    OverkizCommandParam.STANDBY: HVACMode.OFF,
    OverkizCommandParam.EXTERNAL: HVACMode.AUTO,
    OverkizCommandParam.INTERNAL: HVACMode.AUTO,
}

HVAC_MODE_TO_OVERKIZ = {v: k for k, v in OVERKIZ_TO_HVAC_MODE.items()}

since from the 4th value in OVERKIZ_TO_HVAC_MODE it repeats the previous ones, HVAC_MODE_TO_OVERKIZ does not have the values for ON, OFF and AUTO, which are needed for this model. (In the addon I just commented out the last four).

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1057, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 779, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 879, in _async_write_ha_state
    state, attr = self._async_generate_attributes()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 820, in _async_generate_attributes
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 785, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 256, in state
    hvac_mode = self.hvac_mode
                ^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py", line 90, in hvac_mode
    return OVERKIZ_TO_HVAC_MODE[state.value_as_str]
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'manual'

Additional information

No response

home-assistant[bot] commented 9 months ago

Hey there @imicknl, @vlebourl, @tetienne, @nyrodev, mind taking a look at this issue as it has been labeled with an integration (overkiz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `overkiz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign overkiz` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


overkiz documentation overkiz source (message by IssueLinks)

iMicknl commented 8 months ago

@pgpapp, can you please add your diagnostics?

  1. If your device already shows up in Home Assistant, go to your integrations page and select Overkiz, your hub and the device. Press the 3 dots and select "Download diagnostics. Otherwise, go to your integrations page and select Overkiz. Next to your hub, click the 3 dots and select "Download diagnostics".

  2. Attach your diagnostics (JSON file) to this issue by uploading the file in a new comment (drag and drop supported).

pgpapp commented 8 months ago

Dear Mick,

thanx for the reply, I am attaching the diagnostics. Running the intialization it brings up nicely the sensors, showing me the actual temerature e.g., but than due to the problem with the climate device even the sensors are not updated (only after each Reload ...).

bests, Gabor


Feladó: Mick Vleeshouwer @.> Elküldve: 2023. november 7., kedd 12:58 Címzett: home-assistant/core @.> Másolatot kap: Gábor Papp @.>; Mention @.> Tárgy: Re: [home-assistant/core] overkiz integration: atlantic_electrical_heater_with_adjustable_temperature_setpoint problem with model Thermor (Issue #102573)

@pgpapphttps://github.com/pgpapp, can you please add your diagnostics?

  1. If your device already shows up in Home Assistant, go to your integrations pagehttps://my.home-assistant.io/redirect/integrations/ and select Overkiz, your hub and the device. Press the 3 dots and select "Download diagnostics. Otherwise, go to your integrations pagehttps://my.home-assistant.io/redirect/integrations/ and select Overkiz. Next to your hub, click the 3 dots and select "Download diagnostics".

  2. Attach your diagnostics (JSON file) to this issue by uploading the file in a new comment (drag and drop supported).

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/102573#issuecomment-1798363378, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACDIX7D3L45PU7Z3S3SSHMDYDIO73AVCNFSM6AAAAAA6LVQZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGM3DGMZXHA. You are receiving this because you were mentioned.

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.11.0", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "aarch64", "timezone": "Europe/Budapest", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.10.1", "host_os": "Home Assistant OS 11.1", "docker_version": "24.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "sonoff": { "version": "3.5.2", "requirements": [ "pycryptodome>=3.6.6" ] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "tahoma": { "version": "2.15.0", "requirements": [ "pyoverkiz==1.8.0" ] } }, "integration_manifest": { "domain": "overkiz", "name": "Overkiz", "codeowners": [ @.", @.", @.", @." ], "config_flow": true, "dhcp": [ { "hostname": "gateway", "macaddress": "F8811A" } ], "documentation": "https://www.home-assistant.io/integrations/overkiz", "integration_type": "hub", "iot_class": "cloud_polling", "loggers": [ "boto3", "botocore", "pyhumps", "pyoverkiz", "s3transfer" ], "requirements": [ "pyoverkiz==1.12.1" ], "zeroconf": [ { "type": "_kizbox._tcp.local.", "name": "gateway*" } ], "is_built_in": true }, "data": { "setup": { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "id": "SETUP---5407", "location": { "creationTime": 1638193405000, "lastUpdateTime": 1638198922000, "city": "\u00e1", "country": "", "postalCode": "", "addressLine1": "\u00e1", "timezone": "Europe/Budapest", "longitude": "", "latitude": "", "twilightMode": 2, "twilightAngle": "CIVIL", "twilightCity": "paris", "summerSolsticeDuskMinutes": 1290, "winterSolsticeDuskMinutes": 990, "twilightOffsetEnabled": false, "dawnOffset": 0, "duskOffset": 0, "tariffSettings": { "tariffMode": "base" }, "countryCode": "HU" }, "gateways": [ { "gatewayId": "--4123", "type": 83, "subType": 0, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "autoUpdateEnabled": false, "alive": true, "timeReliable": true, "connectivity": { "status": "OK", "protocolVersion": "1" }, "updateStatus": "NOT_UPDATABLE", "syncInProgress": false, "mode": "ACTIVE", "functions": "" }, { "gatewayId": "--1679", "type": 83, "subType": 0, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "autoUpdateEnabled": false, "alive": true, "timeReliable": true, "connectivity": { "status": "OK", "protocolVersion": "1" }, "updateStatus": "NOT_UPDATABLE", "syncInProgress": false, "mode": "ACTIVE", "functions": "" }, { "gatewayId": "--7033", "type": 83, "subType": 0, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "autoUpdateEnabled": false, "alive": true, "timeReliable": true, "connectivity": { "status": "OK", "protocolVersion": "1" }, "updateStatus": "NOT_UPDATABLE", "syncInProgress": false, "mode": "ACTIVE", "functions": "" }, { "gatewayId": "--0670", "type": 83, "subType": 0, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "autoUpdateEnabled": false, "alive": true, "timeReliable": true, "connectivity": { "status": "OK", "protocolVersion": "1" }, "updateStatus": "NOT_UPDATABLE", "syncInProgress": false, "mode": "ACTIVE", "functions": "" }, { "gatewayId": "--5407", "type": 83, "subType": 0, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "autoUpdateEnabled": false, "alive": true, "timeReliable": true, "connectivity": { "status": "OK", "protocolVersion": "1" }, "updateStatus": "NOT_UPDATABLE", "syncInProgress": false, "mode": "ACTIVE", "functions": "" } ], "devices": [ { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": " (/)", "deviceURL": "internal://**-**-5407/uPod/0", "shortcut": false, "controllableName": "internal:UPodComponent", "definition": { "commands": [], "states": [], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodComponent", "type": "ACTUATOR" }, "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "ef28e708-5f5e-4411-b0ce-0fca4143f9d9", "uiClass": "Pod" }, { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": " (/)", "deviceURL": "internal://--5407/uPodNetwork/0", "shortcut": false, "controllableName": "internal:UPodNetWorkComponent", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" }, { "type": "ContinuousState", "qualifiedName": "core:RSSIQualityState" } ], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodNetWorkComponent", "type": "ACTUATOR" }, "states": [ { "name": "core:RSSILevelState", "type": 1, "value": -79 }, { "name": "core:RSSIQualityState", "type": 3, "value": "verylow" } ], "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "514689d7-1914-4a14-b85a-df2282a8b876", "uiClass": "Pod" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": " (/)", "deviceURL": "internal://**-**-7033/uPod/0", "shortcut": false, "controllableName": "internal:UPodComponent", "definition": { "commands": [], "states": [], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodComponent", "type": "ACTUATOR" }, "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "627433df-a1b6-497a-bcbc-129b9bcabe91", "uiClass": "Pod" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": " (/)", "deviceURL": "internal://--7033/uPodNetwork/0", "shortcut": false, "controllableName": "internal:UPodNetWorkComponent", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" }, { "type": "ContinuousState", "qualifiedName": "core:RSSIQualityState" } ], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodNetWorkComponent", "type": "ACTUATOR" }, "states": [ { "name": "core:RSSILevelState", "type": 1, "value": -91 }, { "name": "core:RSSIQualityState", "type": 3, "value": "verylow" } ], "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "441b86ae-d6d5-495c-9cd6-d88434731fa9", "uiClass": "Pod" }, { "creationTime": 1638514464000, "lastUpdateTime": 1638514464000, "label": " (/)", "deviceURL": "internal://**-**-1679/uPod/0", "shortcut": false, "controllableName": "internal:UPodComponent", "definition": { "commands": [], "states": [], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodComponent", "type": "ACTUATOR" }, "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "5be2539c-a978-46ea-944b-473f638ac5ca", "uiClass": "Pod" }, { "creationTime": 1638514464000, "lastUpdateTime": 1638514464000, "label": " (/)", "deviceURL": "internal://--1679/uPodNetwork/0", "shortcut": false, "controllableName": "internal:UPodNetWorkComponent", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" }, { "type": "ContinuousState", "qualifiedName": "core:RSSIQualityState" } ], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodNetWorkComponent", "type": "ACTUATOR" }, "states": [ { "name": "core:RSSILevelState", "type": 1, "value": -91 }, { "name": "core:RSSIQualityState", "type": 3, "value": "verylow" } ], "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "9d2473f5-e43a-4f35-bf98-1745b31b85cf", "uiClass": "Pod" }, { "creationTime": 1638536673000, "lastUpdateTime": 1638536673000, "label": " (/)", "deviceURL": "internal://**-**-0670/uPod/0", "shortcut": false, "controllableName": "internal:UPodComponent", "definition": { "commands": [], "states": [], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodComponent", "type": "ACTUATOR" }, "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "2babf7d2-32f6-45a0-b383-56ee7cc3d701", "uiClass": "Pod" }, { "creationTime": 1638536673000, "lastUpdateTime": 1638536673000, "label": " (/)", "deviceURL": "internal://--0670/uPodNetwork/0", "shortcut": false, "controllableName": "internal:UPodNetWorkComponent", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" }, { "type": "ContinuousState", "qualifiedName": "core:RSSIQualityState" } ], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodNetWorkComponent", "type": "ACTUATOR" }, "states": [ { "name": "core:RSSILevelState", "type": 1, "value": -73 }, { "name": "core:RSSIQualityState", "type": 3, "value": "verylow" } ], "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "bf8b3368-2c2a-489f-b8bb-20da4d792de2", "uiClass": "Pod" }, { "creationTime": 1638543770000, "lastUpdateTime": 1638543770000, "label": " (/)", "deviceURL": "internal://**-**-4123/uPod/0", "shortcut": false, "controllableName": "internal:UPodComponent", "definition": { "commands": [], "states": [], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodComponent", "type": "ACTUATOR" }, "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "a845176c-1a65-415e-b0bd-c21844d5b7b1", "uiClass": "Pod" }, { "creationTime": 1638543770000, "lastUpdateTime": 1638543770000, "label": " (/)", "deviceURL": "internal://--4123/uPodNetwork/0", "shortcut": false, "controllableName": "internal:UPodNetWorkComponent", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:RSSILevelState" }, { "type": "ContinuousState", "qualifiedName": "core:RSSIQualityState" } ], "dataProperties": [], "widgetName": "Pod", "uiProfiles": [ "Specific" ], "uiClass": "Pod", "qualifiedName": "internal:UPodNetWorkComponent", "type": "ACTUATOR" }, "states": [ { "name": "core:RSSILevelState", "type": 1, "value": -74 }, { "name": "core:RSSIQualityState", "type": 3, "value": "verylow" } ], "available": true, "enabled": true, "placeOID": "0baee437-8721-451c-aa75-c3d6f08c47e5", "type": 1, "widget": "Pod", "oid": "e9996a31-42a1-4279-ae0d-35f04aa7ee10", "uiClass": "Pod" }, { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": " (#)", "deviceURL": "modbuslink://**-**-5407/1#1", "shortcut": false, "controllableName": "modbuslink:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointMBLComponent", "definition": { "commands": [ { "commandName": "off", "nparams": 0 }, { "commandName": "on", "nparams": 0 }, { "commandName": "refreshAbsenceEndDate", "nparams": 0 }, { "commandName": "refreshAbsenceMode", "nparams": 0 }, { "commandName": "refreshAbsenceStartDate", "nparams": 0 }, { "commandName": "refreshBoostActivation", "nparams": 0 }, { "commandName": "refreshDateTime", "nparams": 0 }, { "commandName": "refreshErrorCode", "nparams": 0 }, { "commandName": "refreshFridayTimeProgram", "nparams": 0 }, { "commandName": "refreshHeatingLevel", "nparams": 0 }, { "commandName": "refreshIdentifier", "nparams": 0 }, { "commandName": "refreshLanguage", "nparams": 0 }, { "commandName": "refreshMaximumHeatingTargetTemperature", "nparams": 0 }, { "commandName": "refreshMondayTimeProgram", "nparams": 0 }, { "commandName": "refreshOccupancyActivation", "nparams": 0 }, { "commandName": "refreshOnOffState", "nparams": 0 }, { "commandName": "refreshOperatingMode", "nparams": 0 }, { "commandName": "refreshSaturdayTimeProgram", "nparams": 0 }, { "commandName": "refreshSundayTimeProgram", "nparams": 0 }, { "commandName": "refreshTargetTemperature", "nparams": 0 }, { "commandName": "refreshThursdayTimeProgram", "nparams": 0 }, { "commandName": "refreshTuesdayTimeProgram", "nparams": 0 }, { "commandName": "refreshWednesdayTimeProgram", "nparams": 0 }, { "commandName": "setAbsenceEndDate", "nparams": 1 }, { "commandName": "setAbsenceMode", "nparams": 1 }, { "commandName": "setAbsenceStartDate", "nparams": 1 }, { "commandName": "setBoostActivation", "nparams": 1 }, { "commandName": "setDateTime", "nparams": 1 }, { "commandName": "setHeatingLevel", "nparams": 1 }, { "commandName": "setLanguage", "nparams": 1 }, { "commandName": "setMaximumHeatingTargetTemperature", "nparams": 1 }, { "commandName": "setMondayTimeProgram", "nparams": 1 }, { "commandName": "setOccupancyActivation", "nparams": 1 }, { "commandName": "setOnOff", "nparams": 1 }, { "commandName": "setOperatingMode", "nparams": 1 }, { "commandName": "setSaturdayTimeProgram", "nparams": 1 }, { "commandName": "setSundayTimeProgram", "nparams": 1 }, { "commandName": "setTargetTemperature", "nparams": 1 }, { "commandName": "setWednesdayTimeProgram", "nparams": 1 }, { "commandName": "startIdentify", "nparams": 0 }, { "commandName": "stopIdentify", "nparams": 0 }, { "commandName": "setFridayTimeProgram", "nparams": 1 }, { "commandName": "setThursdayTimeProgram", "nparams": 1 }, { "commandName": "setTuesdayTimeProgram", "nparams": 1 }, { "commandName": "refreshDiagnostic", "nparams": 0 }, { "commandName": "refreshSetpointLoweringTemperatureInProgMode", "nparams": 0 }, { "commandName": "refreshStaticStates1", "nparams": 0 }, { "commandName": "refreshStaticStates2", "nparams": 0 }, { "commandName": "setSetpointLoweringTemperatureInProgMode", "nparams": 1 } ], "states": [ { "type": "DataState", "qualifiedName": "core:AbsenceEndDateState" }, { "type": "DataState", "qualifiedName": "core:AbsenceStartDateState" }, { "type": "DiscreteState", "values": [ "active", "inactive" ], "qualifiedName": "core:BoostActivationState" }, { "type": "DataState", "qualifiedName": "core:DateTimeState" }, { "type": "DataState", "qualifiedName": "core:ErrorCodeState" }, { "type": "DataState", "qualifiedName": "core:FridayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:IdentifierState" }, { "type": "ContinuousState", "qualifiedName": "core:LanguageState" }, { "type": "ContinuousState", "qualifiedName": "core:MaximumHeatingTargetTemperatureState" }, { "type": "DataState", "qualifiedName": "core:MondayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:NameState" }, { "type": "DiscreteState", "values": [ "active", "inactive" ], "qualifiedName": "core:OccupancyActivationState" }, { "type": "DiscreteState", "values": [ "available", "unavailable" ], "qualifiedName": "core:OccupancySensorStatusState" }, { "type": "DiscreteState", "values": [ "off", "on" ], "qualifiedName": "core:OnOffState" }, { "type": "DiscreteState", "values": [ "antifreeze", "auto", "away", "eco", "frostprotection", "manual", "max", "normal", "off", "on", "prog", "program", "boost" ], "qualifiedName": "core:OperatingModeState" }, { "type": "DataState", "qualifiedName": "core:SaturdayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:SundayTimeProgramState" }, { "type": "DiscreteState", "values": [ "boost", "comfort", "comfort-1", "comfort-2", "eco", "frostprotection", "off", "secured" ], "qualifiedName": "core:TargetHeatingLevelState" }, { "type": "ContinuousState", "qualifiedName": "core:TargetTemperatureState" }, { "type": "DataState", "qualifiedName": "core:ThursdayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:TuesdayTimeProgramState" }, { "type": "ContinuousState", "qualifiedName": "core:VersionState" }, { "type": "DataState", "qualifiedName": "core:WednesdayTimeProgramState" }, { "type": "DiscreteState", "values": [ "off", "on", "prog" ], "qualifiedName": "modbuslink:AbsenceModeState" }, { "type": "ContinuousState", "qualifiedName": "modbuslink:SetpointLoweringTemperatureInProgModeState" }, { "type": "DiscreteState", "values": [ "boost", "comfort", "eco" ], "qualifiedName": "modbuslink:TargetHeatingLevelState" } ], "dataProperties": [], "widgetName": "AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint", "uiProfiles": [ "StatefulHeatingLevel", "HeatingLevel", "StatefulThermostat", "Thermostat", "StatefulSwitchable", "Switchable" ], "uiClass": "HeatingSystem", "uiClassifiers": [ "emitter" ], "qualifiedName": "modbuslink:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointMBLComponent", "type": "ACTUATOR" }, "states": [ { "name": "modbuslink:AbsenceModeState", "type": 3, "value": "off" }, { "name": "core:MaximumHeatingTargetTemperatureState", "type": 2, "value": 30.0 }, { "name": "core:IdentifierState", "type": 3, "value": "on" }, { "name": "core:MondayTimeProgramState", "type": 11, "value": { "monday": [ { "start": "06:00", "end": "08:00" }, { "start": "18:00", "end": "22:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:TuesdayTimeProgramState", "type": 11, "value": { "tuesday": [ { "start": "06:00", "end": "08:00" }, { "start": "18:00", "end": "22:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:WednesdayTimeProgramState", "type": 11, "value": { "wednesday": [ { "start": "06:00", "end": "08:00" }, { "start": "18:00", "end": "22:15" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:ThursdayTimeProgramState", "type": 11, "value": { "thursday": [ { "start": "06:00", "end": "08:00" }, { "start": "18:00", "end": "22:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:FridayTimeProgramState", "type": 11, "value": { "friday": [ { "start": "06:00", "end": "08:00" }, { "start": "00:00", "end": "00:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:SaturdayTimeProgramState", "type": 11, "value": { "saturday": [ { "start": "10:00", "end": "20:00" }, { "start": "00:00", "end": "00:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:SundayTimeProgramState", "type": 11, "value": { "sunday": [ { "start": "10:00", "end": "20:00" }, { "start": "00:00", "end": "00:00" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:TargetTemperatureState", "type": 2, "value": 16.5 }, { "name": "modbuslink:SetpointLoweringTemperatureInProgModeState", "type": 2, "value": 11.5 }, { "name": "core:OperatingModeState", "type": 3, "value": "manual" }, { "name": "core:BoostActivationState", "type": 3, "value": "inactive" }, { "name": "core:OccupancyActivationState", "type": 3, "value": "inactive" }, { "name": "modbuslink:TargetHeatingLevelState", "type": 3, "value": "comfort" }, { "name": "core:TargetHeatingLevelState", "type": 3, "value": "comfort" }, { "name": "core:OnOffState", "type": 3, "value": "on" }, { "name": "core:OccupancySensorStatusState", "type": 3, "value": "active" }, { "name": "core:VersionState", "type": 1, "value": 67 } ], "available": true, "enabled": true, "placeOID": "d71433f0-953d-4a31-9ee0-e4564fd5bbef", "type": 1, "widget": "AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint", "oid": "547de0f9-05ca-4005-b8ae-a8d13f9e0b54", "uiClass": "HeatingSystem" }, { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": "* (#)*", "deviceURL": "modbuslink://--5407/1#2", "shortcut": false, "controllableName": "modbuslink:TemperatureInCelciusMBLSystemDeviceSensor", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:TemperatureState" } ], "dataProperties": [], "widgetName": "TemperatureSensor", "uiProfiles": [ "Temperature" ], "uiClass": "TemperatureSensor", "qualifiedName": "modbuslink:TemperatureInCelciusMBLSystemDeviceSensor", "type": "SENSOR" }, "states": [ { "name": "core:TemperatureState", "type": 2, "value": 16.6 } ], "attributes": [ { "name": "core:MeasuredValueType", "type": 3, "value": "core:TemperatureInCelcius" }, { "name": "core:PowerSourceType", "type": 3, "value": "mainSupply" } ], "available": true, "enabled": true, "placeOID": "d71433f0-953d-4a31-9ee0-e4564fd5bbef", "type": 2, "widget": "TemperatureSensor", "oid": "a54e1e81-5068-48c5-87fb-94b90c86dc2e", "uiClass": "TemperatureSensor" }, { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": "* (#)*", "deviceURL": "modbuslink://--5407/1#3", "shortcut": false, "controllableName": "core:OccupancySensor", "definition": { "commands": [], "states": [ { "eventBased": true, "type": "DiscreteState", "values": [ "noPersonInside", "personInside" ], "qualifiedName": "core:OccupancyState" } ], "dataProperties": [], "widgetName": "OccupancySensor", "uiProfiles": [ "OccupancyDetector" ], "uiClass": "OccupancySensor", "qualifiedName": "core:OccupancySensor", "type": "SENSOR" }, "states": [ { "name": "core:OccupancyState", "type": 3, "value": "noPersonInside" } ], "available": true, "enabled": true, "placeOID": "d71433f0-953d-4a31-9ee0-e4564fd5bbef", "type": 2, "widget": "OccupancySensor", "oid": "d3b7fdf5-8640-4224-9112-cff598031d8d", "uiClass": "OccupancySensor" }, { "creationTime": 1638193405000, "lastUpdateTime": 1638193405000, "label": "* (#)*", "deviceURL": "modbuslink://--5407/1#4", "shortcut": false, "controllableName": "modbuslink:CumulatedElectricalEnergyConsumptionMBLSystemDeviceSensor", "definition": { "commands": [ { "commandName": "refreshElectricEnergyConsumption", "nparams": 0 } ], "states": [ { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff0State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff1State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff2State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff3State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff4State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff5State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff6State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff7State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff8State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff9State" }, { "type": "ContinuousState", "qualifiedName": "core:ElectricEnergyConsumptionState" } ], "dataProperties": [], "widgetName": "CumulativeElectricPowerConsumptionSensor", "uiProfiles": [ "ElectricEnergyConsumption" ], "uiClass": "ElectricitySensor", "qualifiedName": "modbuslink:CumulatedElectricalEnergyConsumptionMBLSystemDeviceSensor", "type": "SENSOR" }, "states": [ { "name": "core:ElectricEnergyConsumptionState", "type": 1, "value": 1413624 }, { "name": "core:ConsumptionTariff0State", "type": 1, "value": 1413021 } ], "attributes": [ { "name": "core:MeasuredValueType", "type": 3, "value": "core:ElectricalEnergyInWh" } ], "available": true, "enabled": true, "placeOID": "d71433f0-953d-4a31-9ee0-e4564fd5bbef", "type": 2, "widget": "CumulativeElectricPowerConsumptionSensor", "oid": "2a0f22e2-fb18-48fd-9a6a-667359042011", "uiClass": "ElectricitySensor" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": "* (#)*", "deviceURL": "modbuslink://--7033/1#1", "shortcut": false, "controllableName": "modbuslink:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointMBLComponent", "definition": { "commands": [ { "commandName": "off", "nparams": 0 }, { "commandName": "on", "nparams": 0 }, { "commandName": "refreshAbsenceEndDate", "nparams": 0 }, { "commandName": "refreshAbsenceMode", "nparams": 0 }, { "commandName": "refreshAbsenceStartDate", "nparams": 0 }, { "commandName": "refreshBoostActivation", "nparams": 0 }, { "commandName": "refreshDateTime", "nparams": 0 }, { "commandName": "refreshErrorCode", "nparams": 0 }, { "commandName": "refreshFridayTimeProgram", "nparams": 0 }, { "commandName": "refreshHeatingLevel", "nparams": 0 }, { "commandName": "refreshIdentifier", "nparams": 0 }, { "commandName": "refreshLanguage", "nparams": 0 }, { "commandName": "refreshMaximumHeatingTargetTemperature", "nparams": 0 }, { "commandName": "refreshMondayTimeProgram", "nparams": 0 }, { "commandName": "refreshOccupancyActivation", "nparams": 0 }, { "commandName": "refreshOnOffState", "nparams": 0 }, { "commandName": "refreshOperatingMode", "nparams": 0 }, { "commandName": "refreshSaturdayTimeProgram", "nparams": 0 }, { "commandName": "refreshSundayTimeProgram", "nparams": 0 }, { "commandName": "refreshTargetTemperature", "nparams": 0 }, { "commandName": "refreshThursdayTimeProgram", "nparams": 0 }, { "commandName": "refreshTuesdayTimeProgram", "nparams": 0 }, { "commandName": "refreshWednesdayTimeProgram", "nparams": 0 }, { "commandName": "setAbsenceEndDate", "nparams": 1 }, { "commandName": "setAbsenceMode", "nparams": 1 }, { "commandName": "setAbsenceStartDate", "nparams": 1 }, { "commandName": "setBoostActivation", "nparams": 1 }, { "commandName": "setDateTime", "nparams": 1 }, { "commandName": "setHeatingLevel", "nparams": 1 }, { "commandName": "setLanguage", "nparams": 1 }, { "commandName": "setMaximumHeatingTargetTemperature", "nparams": 1 }, { "commandName": "setMondayTimeProgram", "nparams": 1 }, { "commandName": "setOccupancyActivation", "nparams": 1 }, { "commandName": "setOnOff", "nparams": 1 }, { "commandName": "setOperatingMode", "nparams": 1 }, { "commandName": "setSaturdayTimeProgram", "nparams": 1 }, { "commandName": "setSundayTimeProgram", "nparams": 1 }, { "commandName": "setTargetTemperature", "nparams": 1 }, { "commandName": "setWednesdayTimeProgram", "nparams": 1 }, { "commandName": "startIdentify", "nparams": 0 }, { "commandName": "stopIdentify", "nparams": 0 }, { "commandName": "setFridayTimeProgram", "nparams": 1 }, { "commandName": "setThursdayTimeProgram", "nparams": 1 }, { "commandName": "setTuesdayTimeProgram", "nparams": 1 }, { "commandName": "refreshDiagnostic", "nparams": 0 }, { "commandName": "refreshSetpointLoweringTemperatureInProgMode", "nparams": 0 }, { "commandName": "refreshStaticStates1", "nparams": 0 }, { "commandName": "refreshStaticStates2", "nparams": 0 }, { "commandName": "setSetpointLoweringTemperatureInProgMode", "nparams": 1 } ], "states": [ { "type": "DataState", "qualifiedName": "core:AbsenceEndDateState" }, { "type": "DataState", "qualifiedName": "core:AbsenceStartDateState" }, { "type": "DiscreteState", "values": [ "active", "inactive" ], "qualifiedName": "core:BoostActivationState" }, { "type": "DataState", "qualifiedName": "core:DateTimeState" }, { "type": "DataState", "qualifiedName": "core:ErrorCodeState" }, { "type": "DataState", "qualifiedName": "core:FridayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:IdentifierState" }, { "type": "ContinuousState", "qualifiedName": "core:LanguageState" }, { "type": "ContinuousState", "qualifiedName": "core:MaximumHeatingTargetTemperatureState" }, { "type": "DataState", "qualifiedName": "core:MondayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:NameState" }, { "type": "DiscreteState", "values": [ "active", "inactive" ], "qualifiedName": "core:OccupancyActivationState" }, { "type": "DiscreteState", "values": [ "available", "unavailable" ], "qualifiedName": "core:OccupancySensorStatusState" }, { "type": "DiscreteState", "values": [ "off", "on" ], "qualifiedName": "core:OnOffState" }, { "type": "DiscreteState", "values": [ "antifreeze", "auto", "away", "eco", "frostprotection", "manual", "max", "normal", "off", "on", "prog", "program", "boost" ], "qualifiedName": "core:OperatingModeState" }, { "type": "DataState", "qualifiedName": "core:SaturdayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:SundayTimeProgramState" }, { "type": "DiscreteState", "values": [ "boost", "comfort", "comfort-1", "comfort-2", "eco", "frostprotection", "off", "secured" ], "qualifiedName": "core:TargetHeatingLevelState" }, { "type": "ContinuousState", "qualifiedName": "core:TargetTemperatureState" }, { "type": "DataState", "qualifiedName": "core:ThursdayTimeProgramState" }, { "type": "DataState", "qualifiedName": "core:TuesdayTimeProgramState" }, { "type": "ContinuousState", "qualifiedName": "core:VersionState" }, { "type": "DataState", "qualifiedName": "core:WednesdayTimeProgramState" }, { "type": "DiscreteState", "values": [ "off", "on", "prog" ], "qualifiedName": "modbuslink:AbsenceModeState" }, { "type": "ContinuousState", "qualifiedName": "modbuslink:SetpointLoweringTemperatureInProgModeState" }, { "type": "DiscreteState", "values": [ "boost", "comfort", "eco" ], "qualifiedName": "modbuslink:TargetHeatingLevelState" } ], "dataProperties": [], "widgetName": "AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint", "uiProfiles": [ "StatefulHeatingLevel", "HeatingLevel", "StatefulThermostat", "Thermostat", "StatefulSwitchable", "Switchable" ], "uiClass": "HeatingSystem", "uiClassifiers": [ "emitter" ], "qualifiedName": "modbuslink:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointMBLComponent", "type": "ACTUATOR" }, "states": [ { "name": "modbuslink:AbsenceModeState", "type": 3, "value": "off" }, { "name": "core:MaximumHeatingTargetTemperatureState", "type": 2, "value": 30.0 }, { "name": "core:IdentifierState", "type": 3, "value": "on" }, { "name": "core:MondayTimeProgramState", "type": 11, "value": { "monday": [ { "start": "00:00", "end": "06:15" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:TuesdayTimeProgramState", "type": 11, "value": { "tuesday": [ { "start": "00:00", "end": "06:15" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:WednesdayTimeProgramState", "type": 11, "value": { "wednesday": [ { "start": "00:00", "end": "06:15" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:ThursdayTimeProgramState", "type": 11, "value": { "thursday": [ { "start": "00:00", "end": "06:15" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:FridayTimeProgramState", "type": 11, "value": { "friday": [ { "start": "00:00", "end": "06:15" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:SaturdayTimeProgramState", "type": 11, "value": { "saturday": [ { "start": "00:00", "end": "08:00" }, { "start": "20:30", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:SundayTimeProgramState", "type": 11, "value": { "sunday": [ { "start": "00:00", "end": "08:00" }, { "start": "20:00", "end": "23:45" }, { "start": "00:00", "end": "00:00" } ] } }, { "name": "core:TargetTemperatureState", "type": 2, "value": 15.0 }, { "name": "modbuslink:SetpointLoweringTemperatureInProgModeState", "type": 1, "value": 13 }, { "name": "core:OperatingModeState", "type": 3, "value": "manual" }, { "name": "core:BoostActivationState", "type": 3, "value": "inactive" }, { "name": "core:OccupancyActivationState", "type": 3, "value": "inactive" }, { "name": "modbuslink:TargetHeatingLevelState", "type": 3, "value": "comfort" }, { "name": "core:TargetHeatingLevelState", "type": 3, "value": "comfort" }, { "name": "core:OnOffState", "type": 3, "value": "on" }, { "name": "core:OccupancySensorStatusState", "type": 3, "value": "active" }, { "name": "core:VersionState", "type": 1, "value": 67 } ], "available": true, "enabled": true, "placeOID": "9800b6b4-f01a-43a0-812a-5b8619414610", "type": 1, "widget": "AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint", "oid": "87768757-f0ae-40b9-b54f-fb8c53ab53d0", "uiClass": "HeatingSystem" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": "* (#)*", "deviceURL": "modbuslink://--7033/1#2", "shortcut": false, "controllableName": "modbuslink:TemperatureInCelciusMBLSystemDeviceSensor", "definition": { "commands": [], "states": [ { "type": "ContinuousState", "qualifiedName": "core:TemperatureState" } ], "dataProperties": [], "widgetName": "TemperatureSensor", "uiProfiles": [ "Temperature" ], "uiClass": "TemperatureSensor", "qualifiedName": "modbuslink:TemperatureInCelciusMBLSystemDeviceSensor", "type": "SENSOR" }, "states": [ { "name": "core:TemperatureState", "type": 2, "value": 16.6 } ], "attributes": [ { "name": "core:MeasuredValueType", "type": 3, "value": "core:TemperatureInCelcius" }, { "name": "core:PowerSourceType", "type": 3, "value": "mainSupply" } ], "available": true, "enabled": true, "placeOID": "9800b6b4-f01a-43a0-812a-5b8619414610", "type": 2, "widget": "TemperatureSensor", "oid": "db329ba7-800e-47a7-9aa2-e649b482f8bc", "uiClass": "TemperatureSensor" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": "* (#)*", "deviceURL": "modbuslink://--7033/1#3", "shortcut": false, "controllableName": "core:OccupancySensor", "definition": { "commands": [], "states": [ { "eventBased": true, "type": "DiscreteState", "values": [ "noPersonInside", "personInside" ], "qualifiedName": "core:OccupancyState" } ], "dataProperties": [], "widgetName": "OccupancySensor", "uiProfiles": [ "OccupancyDetector" ], "uiClass": "OccupancySensor", "qualifiedName": "core:OccupancySensor", "type": "SENSOR" }, "states": [ { "name": "core:OccupancyState", "type": 3, "value": "noPersonInside" } ], "available": true, "enabled": true, "placeOID": "9800b6b4-f01a-43a0-812a-5b8619414610", "type": 2, "widget": "OccupancySensor", "oid": "e9351527-2d8d-490a-8832-1ede68af1e0d", "uiClass": "OccupancySensor" }, { "creationTime": 1638198274000, "lastUpdateTime": 1638198274000, "label": "* (#*)", "deviceURL": "modbuslink://--7033/1#4", "shortcut": false, "controllableName": "modbuslink:CumulatedElectricalEnergyConsumptionMBLSystemDeviceSensor", "definition": { "commands": [ { "commandName": "refreshElectricEnergyConsumption", "nparams": 0 } ], "states": [ { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff0State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff1State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff2State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff3State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff4State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff5State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff6State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff7State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff8State" }, { "type": "ContinuousState", "qualifiedName": "core:ConsumptionTariff9State" }, { "type": "ContinuousState", "qualifiedName": "core:ElectricEnergyConsumptionState" } ], "dataProperties": [], "widgetName": "CumulativeElectricPowerConsumptionSensor", "uiProfiles": [ "ElectricEnergyConsumption" ], "uiClass": "ElectricitySensor", "qualifiedName": "modbuslink:CumulatedElectricalEnergyConsumptionMBLSystemDeviceSensor", "type": "SENSOR" }, "states": [ { "name": "core:ElectricEnergyConsumptionState", "type": 1, "value": 1330681 },

pgpapp commented 7 months ago

Actually the first problem why the integration stops is in line 90 of /overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py

Function hvac_mode() receives in my case 'manual' as state, which is not listed in OVERKIZ_TO_HVAC_MODE. In the addon I simply changed line 89 from

if (state := states[OverkizState.CORE_OPERATING_MODE]) and state.value_as_str:

to

if (state := states[OverkizState.CORE_OPERATING_MODE]) and state.value_as_str and state.value_as_string in OVERKIZ_TO_HVAC_MODE.keys():

and at least this part was OK then.

NikolayKaradzhov commented 4 months ago

Hello,

Do you have any solution for this. I also have the same problem for Atlantic Radiator. Screenshot 2024-03-16 235552

Screenshot 2024-03-16 235821

I am unable to control the temperature on the radiator.

`Logger: homeassistant Source: components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py:94 First occurred: 10:53:41 PM (130 occurrences) Last logged: 11:58:37 PM

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 261, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 417, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 183, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 497, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 992, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1113, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1050, in async_calculate_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 998, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute return super().getattribute(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 409, in state hvac_mode = self.hvac_mode ^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute return super().getattribute(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py", line 94, in hvac_mode return OVERKIZ_TO_HVAC_MODE[state.value_as_str]


KeyError: 'prog'`

![Screenshot 2024-03-16 235943](https://github.com/home-assistant/core/assets/35952928/15393a6a-5760-45fc-babb-012d5beb5a75)
issue-triage-workflows[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.