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

Bypass Weather Sensor if Unavailable #1388

Open
jamesonuk opened this issue Sep 10, 2024 · 1 comment
Open

Bypass Weather Sensor if Unavailable #1388

jamesonuk opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels

Comments

@jamesonuk
Copy link
Contributor

What is the feature?

Allow BT to ignore a missing weather sensor

Description

Currently if your weather sensor goes offline (Accuweather only allows 50 API calls a day and sometimes if you restart HA several times you can blow this limit and end up with a Weather sensor with a state of None).

If this happens then BT does not initialise and the logs just contain

2024-09-10 10:36:13.841 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat Playroom Thermostat: Starting version 1.6.0. Waiting for entity to be ready...
2024-09-10 10:36:13.841 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat Playroom Thermostat: waiting for weather entity with id 'weather.home' to become fully available...
2024-09-10 10:36:13.841 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat Bedroom Thermostat: Starting version 1.6.0. Waiting for entity to be ready...
2024-09-10 10:36:13.841 INFO (MainThread) [custom_components.better_thermostat.climate] better_thermostat Bedroom Thermostat: waiting for weather entity with id 'weather.home' to become fully available...

Whilst the weather is a nice to have I think BT should not stop if it cannot get weather sensor

Additional Information

Similar to #1383 but more specific

@cl445
Copy link

cl445 commented Sep 29, 2024

Same here: the batteries in my weather sensor ran out, and the BT stopped working—despite having configured a weather service as a fallback that could have been used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants