StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

[BUG] Cannot add pm2plus #708

Open spawnax opened 1 year ago

spawnax commented 1 year ago

Environment

Describe the bug

Discovery and add new Shelly PM2 Plus not work

Steps to Reproduce

Install new Shelly PM2 Plus into network

Expected behavior

Error in logs

Screenshots

Traceback/Error logs

 Logger: pyShelly
Source: /usr/local/lib/python3.10/site-packages/pyShelly/utils.py:76
First occurred: 24 августа 2022 г., 20:24:22 (54 occurrences)
Last logged: 18:48:58

    Error, 404 Not Found http://192.168.44.58/status
    Error, 404 Not Found http://192.168.44.57/status

Additional context

Shelly1 plus work correctly

spawnax commented 1 year ago

Logger: homeassistant.components.switch Source: helpers/entity_platform.py:652 Integration: Выключатель (documentation, issues) First occurred: 21:35:47 (1 occurrences) Last logged: 21:35:47 Platform shelly does not generate unique IDs. ID shelly_SHSW-1_F4CFA2E514AC is already used by switch.shelly_shsw_1_f4cfa2e514ac - ignoring switch.shelly_shsw_1_f4cfa2e514ac