core: Wemo switches are operating the wrong wemo switches

Home Assistant release with the issue:

0.84.6

Last working Home Assistant release (if known): 0.83.? is my best guess. I can’t remember when I first noticed this. I was too busy to investigate the cause of it for awhile and went with my work-around of removing the wemo entities from .storage/core.entity_registry and restarting. I originally thought it was maybe something that I had done or switches were moved around my house.

Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu virtual environment: https://www.home-assistant.io/docs/installation/raspberry-pi/

Component/platform:

https://www.home-assistant.io/components/wemo/

Description of problem: Wemo switches are getting mixed up. For example, I will discover all my wemo switches and when I turn on the family room wemo it will turn on as expected. I’ll restart HASS and when I go to turn on that same family room wemo then the office lamp wemo will turn on instead. I’ve seen occasions where I turn one wemo on/off and multiple wemo’s will respond and do the same on or off. Going to .storage/core.entity_registry and deleting all the wemo’s from my system and restarting HASS will fix this… until another restart.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

wemo:
  discovery: true

Traceback (if applicable):

None found

Additional information: The “discovery: true” is what I’m using now, but using static addresses had the same issue.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (17 by maintainers)

Most upvoted comments

I haven’t had much time to test. And unfortunately I wont be able to this weekend since I have a visitor in from out of town. I’m still running pr https://github.com/pavoni/pywemo/pull/125 and I haven’t had to reboot HA since I installed that version. However my problematic insight switches are in storage at the moment, so I can’t say for sure that the issue is fixed. What I can say is that nothing is worse than it was 😃

It has worked across 3 restarts and a few hours. Mine seems to either be working or at least working for a longer time! Thanks again!

Thanks for the work @sqldiablo. I’ve updated to 0.85 and I’ll let you know what I find.