StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
621 stars 112 forks source link

[BUG] Shelly 1L second channel / switch not available in beta 0.2.2.beta1 #518

Closed kongo09 closed 3 years ago

kongo09 commented 3 years ago

Environment

Describe the bug

The Shelly 1L gets discovered. SW1 of the device is attached to the relay. SW2 is detached. SW1 is represented by a binary sensor, but SW2 is not shown.

image

Switch state is enabled in the sensor settings:

image

Steps to Reproduce

Adopt a Shelly 1L and observe the sensors.

Expected behavior

I would expect two sensor, one for each input. That's the behaviour of the built-in Shelly integration as well.

Screenshots

see above

Traceback/Error logs

none

Additional context

none

hakana commented 3 years ago

Ok, I see. Yes, it is a bug and will be fixed in the next release.

kongo09 commented 3 years ago

I see 1L mentioned in beta 2 - does that refer to this bug?

hakana commented 3 years ago

Yes this issue should be fixed in beta 2.

kongo09 commented 3 years ago

I can confirm this is working now. Thanks so much for the great effort!

hakana commented 3 years ago

Great!