krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
415 stars 45 forks source link

Smart Switch (mss210) #380

Closed flo2126 closed 3 months ago

flo2126 commented 7 months ago

I cant add my plug to Meross in home assistant. I got an error message that it is already exist in ha, but there is no plug in the meross integration.

What can i do here? home-assistant_meross_lan_2024-01-28T20-21-46.624Z.log

krahabb commented 7 months ago

Hello @flo2126, could it be that you had a 'discovered' config pending confirmation while you were manually configuring the device? It could happen if by chance, either the dhcp discovery or the mqtt discovery feature (maybe you have setup the Meross cloud profile while configuring/looking for the device key?) At this point you still don't have the configuration in place but there's another configuration flow pending confirmation. Maybe it's 'ignored' or so if you previously didn't complete the configuration too

flo2126 commented 7 months ago

I can't remember that. What can I do now. Now it is always discovered automatically but I just can't set it up. What options do I have now?

krahabb commented 7 months ago

If you hit 'Configure' on the discovered item panel it should just work. there's a bug (investigating if it's HA or meross_lan though) in which the 'discovered item' doesn't disappear until you refresh the browser or login again into HA but that doesn't prevent the correct working of the device once acknowledged. If you'll hit 'Configure' again on the discovered item flow it will show you an error because the configuration process has already finished (just the browser UI isn't refreshed correctly) You should anyway find the configured device in the list of meross_lan actual entries. If not, check if you're maybe hiding some 'disabled' or 'ignored' entries from the HA UI