Closed leezh closed 3 years ago
Oh, thank you very much! had to play with p100 plugs and noticed that without device_id it just mixes them up after each HASS restart.
Works great! Thanks i had the same problem.
This has been fixed by mapping the device_id instead of the mac address. b53e739, 9f66f50
I have a few lights and switches that I'd like to be placed in different areas, but Home Assistant requires a unique_id. Details here: https://developers.home-assistant.io/docs/entity_registry_index/
After some digging around it seems like the device info dict contains the device MAC, so I've added it in. Tested and works with my L510E and P100.