-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Open
Labels
Description
The problem
Everything ok in version 2025.4
What version of Home Assistant Core has the issue?
2025.5.1 2025.5.2
What was the last working version of Home Assistant Core?
2025.4.4 and previous
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Netatmo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/netatmo
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Error setting up entry Home Assistant Cloud for netatmo
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 115, in async_setup_entry
await data_handler.async_setup()
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 173, in async_setup
await self.subscribe(ACCOUNT, ACCOUNT, None)
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 280, in subscribe
await self.async_fetch_data(signal_name)
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 235, in async_fetch_data
await getattr(self.account, self.publisher[signal_name].method)(
**self.publisher[signal_name].kwargs
)
File "/usr/local/lib/python3.13/site-packages/pyatmo/account.py", line 91, in async_update_topology
self.process_topology(disabled_homes_ids=disabled_homes_ids)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyatmo/account.py", line 76, in process_topology
self.homes[home_id] = Home(self.auth, raw_data=home)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyatmo/home.py", line 83, in __init__
s["id"]: Schedule(home=self, raw_data=s)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyatmo/schedule.py", line 47, in __init__
self.type = ScheduleType(raw_data.get("type", ScheduleType.THERM))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 726, in __call__
return cls.__new__(cls, value)
~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 1201, in __new__
raise ve_exc
ValueError: 'electricity_production' is not a valid ScheduleType
Additional information
No response