pawlizio / my_velux

Custom component of velux integration for Home Assistant
32 stars 9 forks source link

My devices were duplicated after an update, after deleting inactive entities I'm left with empty device entries #41

Closed spitfire closed 6 months ago

spitfire commented 10 months ago

My devices were duplicated after an update

Zrzut ekranu 2024-01-26 o 10 43 27

after deleting inactive entities from device nodes I'm left with empty device entries (which I can't delete):

Zrzut ekranu 2024-01-26 o 10 44 03

And the actual (working) devices with entities:

Zrzut ekranu 2024-01-26 o 10 44 26

Can you please implement deletion of them?

pawlizio commented 10 months ago

Have you tried to restart HA?

spitfire commented 10 months ago

I have restarted it a lot of times since that happened. Some integrations offer that functionality (as seen on the below screenshot), isn't this something that you can implement?

Zrzut ekranu 2024-01-26 o 18 58 33
spitfire commented 6 months ago

I still have devices with no entities I can't delete.

pawlizio commented 6 months ago

Have you tried to delete all inactive velux entities through the entities page, not directly the devices?

Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg


From: Mieszko Ślusarczyk @.> Sent: Wednesday, May 15, 2024 10:24:41 PM To: pawlizio/my_velux @.> Cc: Paul Daumlechner @.>; State change @.> Subject: Re: [pawlizio/my_velux] My devices were duplicated after an update, after deleting inactive entities I'm left with empty device entries (Issue #41)

I still have devices with no entities I can't delete.

— Reply to this email directly, view it on GitHubhttps://github.com/pawlizio/my_velux/issues/41#issuecomment-2113392823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADS6GHW7DDRPPQUMOKLIXPDZCPAATAVCNFSM6AAAAABCL36DQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGM4TEOBSGM. You are receiving this because you modified the open/close state.Message ID: @.***>

spitfire commented 6 months ago

How can I do it for a device that has no entities? 🤔

Zrzut ekranu 2024-05-15 o 22 35 34

Some other integrations (like MQTT) offer that option (the three dot menu in the info section)

Zrzut ekranu 2024-05-15 o 22 36 12
pawlizio commented 6 months ago

Please check the entities page for all velux integration entities whether there any unavailable entities or with other issues and delete them. Actualy devices can only be created for entities, not sure what is happened here.

pawlizio commented 6 months ago

Try the pre-release 2.9.12, it should allow to detele devices now.

spitfire commented 6 months ago

Looks a bit different than in other integrations, but it seems to have worked for me flawlessly. Thanks!