ShellyForHASS: Version 0.1.6 - entity switch problems
HassOS 2.11 HA: 0.104.3 Shelly: 0.1.6 Device: Shelly 1, Shelly 1PM, Shelly 2.5
All three devices have same behaviour, which is the following.
I start from off state. I turn it on, the light goes on, but after few seconds (1/2) the entity switch turns off (light still on) then after about 30secs the entity switch turns on because the light is on.
I start from on state. I turn it off, the light goes off, but after few seconds (1/2) the entity switch turns on (light still off) then after about 30secs the entity switch turns off because the light is off.
I don’t get any error in HA log.
Am I doing something wrong or what?
My .yaml file is very basic
shelly:
version: true
The integration discovers all my shelly devices fine.
Since I’m on a test HA instance I can do as many test as I want.
Thanks Marco…
EDIT: I have done some more tests. I changed scan_interval to 5s and now the switch come back to the correct state after about 5s. Is this the correct behaviour? I mean, is there some side effect with a scan_interval so short? Is this the right solution?
Shelly 1 discover is CoAP Shelly 1PM are mDns Shelly 2.5 CoAP
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 25 (8 by maintainers)
@chemelli74
I’m running Home Assistant (non-Core) 0.98.5 and using ShellyForHass through HACS. I had no problem upgrading to 0.1.6, and now i’m left with: “Unable to import shelly: cannot import name ‘ATTR_RESTORED’ from ‘homeassistant.helpers.entity_registry’ (/usr/src/homeassistant/homeassistant/helpers/entity_registry.py)” The above seem to make ALL my Shelly units unavailable.
I guess i will have to update Home Assistant when i get home…