Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unavailable traceback when re-configured or new-configured #1460

Open
2 tasks
LinuxfarmerHH opened this issue Nov 10, 2024 · 0 comments
Open
2 tasks

Unavailable traceback when re-configured or new-configured #1460

LinuxfarmerHH opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels
new bug incoming bug issue

Comments

@LinuxfarmerHH
Copy link

Prerequisites

  • [Eurotronik Spirit-Z ] Model name of your Devices
  • Output from Home Assistant Developer Tools state e.g.
  • Output from Home Assistant Device Diagnostic from BT
{
 Traceback (most recent call last):
  File "/config/custom_components/better_thermostat/climate.py", line 794, in startup
    await init(self, trv)
  File "/config/custom_components/better_thermostat/adapters/delegate.py", line 46, in init
    return await self.real_trvs[entity_id]["adapter"].init(self, entity_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/better_thermostat/adapters/generic.py", line 39, in init
    ).state in (STATE_UNAVAILABLE, STATE_UNKNOWN, None):
      ^^^^^
}

Description

Updated ha core and better ui card today, after that it's not possible to create or reconfigure a better-thermostate entity

Steps to Reproduce

  1. Open be and change something on an existing be-entity, save it and look for the red dot (unavailable) at this entity
  2. Delete and recreate this entity from scratch, save it and look for the red dot at this entity
  3. Restart HA, look for the red dot entitys after that

Expected behavior:

Create a new entity or reconfigure should result to a working entity

Actual behavior:

BE- entitys result to a red dot in the entity list and cannot show up in better thermostat ui (greyed out)

Versions

Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
Better Thermostat 1.6.1

Additional Information

@LinuxfarmerHH LinuxfarmerHH added the new bug incoming bug issue label Nov 10, 2024
@LinuxfarmerHH LinuxfarmerHH changed the title Unavailable (Re-config or New-confgured) Traceback Unavailable traceback when re-configured or new-configured Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bug incoming bug issue
Projects
None yet
Development

No branches or pull requests

2 participants