AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.58k stars 403 forks source link

Deleted devices in Eweling remain in SonoffLAN #1416

Closed FredM17 closed 1 month ago

FredM17 commented 1 month ago

Hi,

When I delete a device in Ewelink, it still appears in SonoffLAN.

I tried to reload and also to configure again but nothing changed

So far the only solution is to uninstall and reinstall SonoffLAN and activate again all inactive entities I need.

Any other smarter solution?

Thanks in advance

sipimokus commented 1 month ago

Hi, these steps working for me :

The .json file contains the old devices, I think this is the cause of the problem (maybe caching?).

FredM17 commented 1 month ago

I just tried but still have to activate again all inactive entities I need.

PalliMcbain commented 1 month ago

Same problem here

FredM17 commented 1 month ago

I'll try to delete the info about the deleted device in the json file.

AlexxIT commented 1 month ago

You can remove a device from the Home Assistant via the device page. Three-dot button.

If the device remains in the ewelink account - it will load again when you restart the integration. And you need to remove it from cloud first.

Deleting a file from .storage is the wrong advice.

FredM17 commented 1 month ago

Hi, thanks. The three-dot bring just close to the Download Diagnostics, I never tried it. Just do it. Perfect.Thank you.