StyraHem / ShellyForHASS

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

[FR] Restrict login for Plus/Pro device #729

Open Henry-Sir opened 1 year ago

Henry-Sir commented 1 year ago

Logger: pyShelly Source: /usr/local/lib/python3.10/site-packages/pyShelly/utils.py:39 First occurred: 13:13:22 (75 occurrences) Last logged: 13:50:01

Restrict login is not supported for Plus/Pro device

Describe the solution you'd like

Please implement login via user/password for Plus/Pro devices.

Additional context

Shelly Doc: https://shelly-api-docs.shelly.cloud/gen2/General/Authentication/

See the official implementation in HA. https://github.com/home-assistant-libs/aioshelly/blob/main/aioshelly/rpc_device/wsrpc.py

fredster1979 commented 1 year ago

same issue for shelly 1 plus, with newest shelly firmware (0.12.0, firmware id 20221206-141227/0.12.0-gafc2404) and latest HACS (1.28.4) home assistant log says: Restrict login is not supported for Plus/Pro device