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

Core updated to 2024.3.0, BT instances does not start #1311

Open
2 tasks
LinuxfarmerHH opened this issue Mar 7, 2024 · 3 comments
Open
2 tasks

Core updated to 2024.3.0, BT instances does not start #1311

LinuxfarmerHH opened this issue Mar 7, 2024 · 3 comments
Assignees
Labels
new bug incoming bug issue

Comments

@LinuxfarmerHH
Copy link

  • Model name of your Devices: Eurotronik SpiritZ
  • Output from Home Assistant Device Diagnostic from BT

Got 2024.3.0 as update today, after reboot 3 of 4 BTE configurations wont fire up anymore. Maybe this is form their old config, or there is new incompatibility.

Reported error in overview

"Unavailable NaN C°"

Logfile
2024-03-07 08:39:47.830 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from better_thermostat, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-03-07 08:39:49.089 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-03-07 08:39:49.106 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-03-07 08:39:49.111 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-03-07 08:39:49.117 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.better_thermostat.climate.BetterThermostat'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/KartoffelToby/better_thermostat/issues
2024-03-07 08:39:52.243 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-03-07 08:40:32.253 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/climate.py", line 563, in startup
if self.hass.states.get(self.weather_entity).state in (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'state'
2024-03-07 08:40:32.263 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/climate.py", line 563, in startup
if self.hass.states.get(self.weather_entity).state in (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'state'
2024-03-07 08:40:32.269 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/climate.py", line 563, in startup
if self.hass.states.get(self.weather_entity).state in (

"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.3.0",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.1.73-haos-raspi",
"supervisor": "2024.02.1",
"host_os": "Home Assistant OS 12.0",
"docker_version": "24.0.7",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"hacs": {
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"

@LinuxfarmerHH LinuxfarmerHH added the new bug incoming bug issue label Mar 7, 2024
@LinuxfarmerHH
Copy link
Author

Described problems seems the same as in #1304

@r-eckert
Copy link

r-eckert commented Mar 8, 2024

I had the same problem. In my case this was due to Home Assistant removing the hourly weather forecast entity. My thermostats were referring to an entity that no longer existed. Just configure the thermostat to point to the regular weather entity and it works again.

@LinuxfarmerHH LinuxfarmerHH changed the title Core updated to 2024.3.0, BTE does not start Core updated to 2024.3.0, BT instances does not start Mar 10, 2024
@LinuxfarmerHH
Copy link
Author

Can confirm r-eckert solution to this problem, so the 1.4.0 stable work again. The weather.hourly entity does not exist anymore in the core update.

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

3 participants