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

Non string unique_id #67

Closed
aherbjornsen opened this issue May 1, 2024 · 3 comments
Closed

Non string unique_id #67

aherbjornsen opened this issue May 1, 2024 · 3 comments

Comments

@aherbjornsen
Copy link

After upgrading to 1.0.3 and using HA 2024.5.0b4 I see this in the log:

ERROR (MainThread) [homeassistant.helpers.entity_registry] 'media_player' from integration smartthings_soundbar has a non string unique_id '<bound method SmartThingsSoundbarMediaPlayer.unique_id of >', please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/issues

And also a couple of these:

ERROR (MainThread) [homeassistant.helpers.entity_registry] Unable to serialize entry media_player.soundbar to JSON. Bad data found at $.unique_id=<bound method SmartThingsSoundbarMediaPlayer.unique_id of >(<class 'method'>

The integration seems to be working fine though.

@PiotrMachowski
Copy link
Owner

Fixed in v1.0.4

@aherbjornsen
Copy link
Author

You are fast. :-)
Installed 1.0.4 and can confirm that all error messages are gone now.
Thanks again!

@PiotrMachowski
Copy link
Owner

It's either that or 2 years later 😄 it was an easy fix, so I have decided to choose the first approach

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

No branches or pull requests

2 participants