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
71.93k stars 30.15k forks source link

Venstar thermostats unavailable after upgrade to 2024.10 #127498

Open timborino opened 7 hours ago

timborino commented 7 hours ago

The problem

After updating to Home Assistant Core 2024.10, venstar thermostats show unavailable. Cards display a banner that says "This entity is no longer being provided by the venstar integration. If the entity is no longer in use, delete it in settings."

The thermostats were installed last year per the integration docs and have been working great with no problems until now.

venstar1 venstar2 venstar3

What version of Home Assistant Core has the issue?

2024.10.0

What was the last working version of Home Assistant Core?

2024.9.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

venstar

Link to integration documentation on our website

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

Diagnostics information

home-assistant_venstar_2024-10-03T20-03-53.397Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: root
Source: /usr/local/lib/python3.12/site-packages/venstarcolortouch/venstarcolortouch.py:233
First occurred: 2:13:30 PM (4 occurrences)
Last logged: 2:18:49 PM

Unknown thermostat model VYG-4800, inferring API tempunits of Fahrenheit

Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:595
integration: Binary sensor (documentation, issues)
First occurred: 2:13:33 PM (36 occurrences)
Last logged: 2:18:52 PM

Error adding entity None for domain binary_sensor with platform venstar
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 765, in _async_add_entity
    if self.config_entry and (device_info := entity.device_info):
                                             ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/venstar/entity.py", line 37, in device_info
    fw_ver_major, fw_ver_minor = self._client.get_firmware_ver()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:595
integration: Climate (documentation, issues)
First occurred: 2:13:33 PM (4 occurrences)
Last logged: 2:18:52 PM

Error adding entity None for domain climate with platform venstar
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 765, in _async_add_entity
    if self.config_entry and (device_info := entity.device_info):
                                             ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 324, in __getattribute__
    return super().__getattribute__(__name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/venstar/entity.py", line 37, in device_info
    fw_ver_major, fw_ver_minor = self._client.get_firmware_ver()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:595
integration: Sensor (documentation, issues)
First occurred: 2:13:33 PM (48 occurrences)
Last logged: 2:18:52 PM

Error adding entity None for domain sensor with platform venstar
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 765, in _async_add_entity
    if self.config_entry and (device_info := entity.device_info):
                                             ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/venstar/entity.py", line 37, in device_info
    fw_ver_major, fw_ver_minor = self._client.get_firmware_ver()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)

Additional information

{ "api_ver": 7, "type": "commercial", "model": "VYG-4800", "firmware": "2.23.19" }

{ "name": "451 WEST", "mode": 3, "state": 0, "fan": 0, "fanstate": 0, "tempunits": 0, "schedule": 1, "schedulepart": 0, "holiday": 0, "override": 0, "overridetime": 0, "forceunocc": 0, "spacetemp": 73, "heattemp": 68, "cooltemp": 72, "cooltempmin": 68, "cooltempmax": 99, "heattempmin": 36, "heattempmax": 78, "setpointdelta": 2, "activestage": 0, "hum_active": 0, "hum": 0, "hum_setpoint": 0, "dehum_setpoint": 99, "availablemodes": 0 }

{ "api_ver": 7, "type": "commercial", "model": "VYG-4800", "firmware": "2.23.19" }

{ "name": "451 EAST", "mode": 3, "state": 0, "fan": 0, "fanstate": 0, "tempunits": 0, "schedule": 1, "schedulepart": 0, "holiday": 0, "override": 0, "overridetime": 0, "forceunocc": 0, "spacetemp": 73, "heattemp": 68, "cooltemp": 72, "cooltempmin": 68, "cooltempmax": 99, "heattempmin": 36, "heattempmax": 78, "setpointdelta": 2, "activestage": 0, "hum_active": 0, "hum": 0, "hum_setpoint": 0, "dehum_setpoint": 99, "availablemodes": 0 }

home-assistant[bot] commented 7 hours ago

Hey there @garbled1, @jhollowe, mind taking a look at this issue as it has been labeled with an integration (venstar) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `venstar` 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 venstar` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


venstar documentation venstar source (message by IssueLinks)