You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's an ESPHome bug, but I get this only with esphome-opentherm. After I restart Home Assistant, the integration fails with this error:
Error setting up entry opentherm for esphome
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/esphome/__init__.py", line 370, in async_setup_entry
infos, services = await entry_data.async_load_from_store()
File "/usr/src/homeassistant/homeassistant/components/esphome/entry_data.py", line 228, in async_load_from_store
infos.append(cls.from_dict(info))
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/model.py", line 87, in from_dict
return cls(**init_args)
File "<string>", line 16, in __init__
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/model.py", line 73, in __post_init__
super().__setattr__(field_.name, convert(val))
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/util.py", line 49, in fix_float_single_double_conversion
if value == 0 or not math.isfinite(value):
TypeError: must be real number, not NoneType
Not sure if it's an ESPHome bug, but I get this only with esphome-opentherm. After I restart Home Assistant, the integration fails with this error:
Error setting up entry opentherm for esphome
This is the yaml configuration:
This happens with ESPHome 2023.2.4. Any idea what could trigger that error?
The text was updated successfully, but these errors were encountered: