Cannot initialize the Spotify integration due to a value that is not being correctly handled in the driver.
Traceback (most recent call last):
File "<string>", line 89, in __mashumaro_from_json__
File "/usr/local/lib/python3.12/enum.py", line 757, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 1171, in __new__
raise ve_exc
ValueError: 0 is not a valid TimeSignature
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/coordinator.py", line 97, in _async_update_data
audio_features = await self.client.get_audio_features(item.uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/spotifyaio/spotify.py", line 518, in get_audio_features
return AudioFeatures.from_json(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 91, in __mashumaro_from_json__
mashumaro.exceptions.InvalidFieldValue: Field "time_signature" of type TimeSignature in AudioFeatures has invalid value 0
The problem
Cannot initialize the Spotify integration due to a value that is not being correctly handled in the driver.
What version of Home Assistant Core has the issue?
core-2024.11.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Spotify
Link to integration documentation on our website
https://www.home-assistant.io/integrations/spotify
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Traceback (most recent call last): File "<string>", line 89, in __mashumaro_from_json__ File "/usr/local/lib/python3.12/enum.py", line 757, in __call__ return cls.__new__(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 1171, in __new__ raise ve_exc ValueError: 0 is not a valid TimeSignature During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/spotify/coordinator.py", line 97, in _async_update_data audio_features = await self.client.get_audio_features(item.uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/spotifyaio/spotify.py", line 518, in get_audio_features return AudioFeatures.from_json(response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 91, in __mashumaro_from_json__ mashumaro.exceptions.InvalidFieldValue: Field "time_signature" of type TimeSignature in AudioFeatures has invalid value 0Additional information
No response