superrob / genvexconnect

Integrate your Genvex Connect/Nilan Gateway locally into your Home Assistant setup
GNU Affero General Public License v3.0
27 stars 1 forks source link

Four controls have stopped working #2

Closed KingBendico closed 4 months ago

KingBendico commented 4 months ago

image image

The above controls have stopped working on CTS 602

superrob commented 4 months ago

What is your model information? You can see it under "CTS602" with the letter M, SM, SDN

KingBendico commented 4 months ago

Hardware: M: 1141, SD: 2763306, SDM: 12

superrob commented 4 months ago

Anything in Home Assistant logs?

KingBendico commented 4 months ago

Logger: homeassistant.config_entries Source: config_entries.py:586 First occurred: 1:32:51 PM (21 occurrences) Last logged: 1:33:09 PM

Error setting up entry 137118251504.remote.lscontrol.dk for climate Error setting up entry 137118251504.remote.lscontrol.dk for switch Error setting up entry 137118251504.remote.lscontrol.dk for number Error setting up entry 137118251504.remote.lscontrol.dk for button Error setting up entry 137118251504.remote.lscontrol.dk for select Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 130, in async_setup_entry return await component.async_setup_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 184, in async_setup_entry raise ValueError( ValueError: Config entry 137118251504.remote.lscontrol.dk (01J33K59VRGMVPHW16HRJRGSKK) for genvex_connect.sensor has already been setup!

superrob commented 4 months ago

Hmm.. looks like the integration did not unload correctly. Try restarting your home assistant :)!

KingBendico commented 4 months ago

Just tried it. Didn't work.

KingBendico commented 4 months ago

Logger: homeassistant.components.number Source: helpers/entity_platform.py:364 integration: Number (documentation, issues) First occurred: 3:31:35 PM (1 occurrences) Last logged: 3:31:35 PM

Error while setting up genvex_connect platform for number Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/genvex_connect/number.py", line 51, in async_setup_entry new_entities.append(GenvexConnectNumberSetpointTemperature(genvexNabto, GenvexNabtoSetpointKey.TEMP_SETPOINT)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/genvex_connect/number.py", line 82, in init self._attr_native_step = genvexNabto.getSetpointStep(valueKey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/genvexnabto/genvexnabto.py", line 173, in getSetpointStep return self._model_adapter.getSetpointStep(key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/genvexnabto/genvexnabto_modeladapter.py", line 95, in getSetpointStep return self._loadedModel._setpoints[key]['step']


KeyError: 'step'
superrob commented 4 months ago

Thanks! That was exactly what i was looking for. Addressed in newest release :)!