Skip to content

73: fix 'platform vesync does not generate unique IDs' log spam#74

Open
XerxesDGreat wants to merge 1 commit into
haext:mainfrom
XerxesDGreat:73-fix-duplicate-id-issue
Open

73: fix 'platform vesync does not generate unique IDs' log spam#74
XerxesDGreat wants to merge 1 commit into
haext:mainfrom
XerxesDGreat:73-fix-duplicate-id-issue

Conversation

@XerxesDGreat
Copy link
Copy Markdown

This fixes issue #73

When building up the list of entities to register, the integration currenty appends to device lists on each update call. This causes duplicate entities, including the ids which end up causing the above error. This patch performs deduplication, building up a unique list of entities and eliminating the log spam.

When building up the list of entities to register, the integration currenty appends to device lists
on each update call. This causes duplicate entities, including the ids which end up causing the above
error. This patch performs deduplication, building up a unique list of entities and eliminating the
log spam.
Copy link
Copy Markdown

@Rainbow45-pixel Rainbow45-pixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work.
No changes, new device on every reboot

@XerxesDGreat
Copy link
Copy Markdown
Author

which device/devices do you have? It has worked consistently for me for the last 6 weeks. Also are you the maintainer of this repo?

@Rainbow45-pixel
Copy link
Copy Markdown

I'm not the maintainer, only a annoyed user.
vesync classic 300s ultrasonic smart humidifier is my device.

Copy link
Copy Markdown

@Rainbow45-pixel Rainbow45-pixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, it's not working after all. at second restart of HA ich have a new Vesync device detection...
i have applied the changes from #72 too, now the problem ist fixed. i haven't read before

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

Successfully merging this pull request may close these issues.

2 participants