Closed drzoidberg33 closed 1 year ago
Been monitoring my hack over the weekend and it seems to be updating correctly, although I'm still unsure if my change is the correct one though.
You don't have any devices in your diagnostics. You need to find out why. Integration support this model. "UNKNOWN cloud msg" just info messages not affect to anything.
Yep, I suspect there are no devices listed because it wouldn't add them for some reason.
I removed my lines of code and restarted HA and will monitor and check that everything still works as expected.
Thanks for the work on this integration!
I am trying to set up a few SONOFF SNZB-02 temp/humidity sensors connected via a SONOFF ZB Bridge. When I first got them I was able to add it via my cloud account and it allowed me to configure all the device and the 3 sensors.
Then I did a firmware update on the bridge to 1.7.0 and it looks like maybe after that things went south and my sensors were no longer updating (similar reports here: https://github.com/AlexxIT/SonoffLAN/issues/1046)
When trying to completely reinstall the integration, it would no longer allow me to see or configure the devices.
Here is the diagnostic:
It seems to be receiving a new action called "subDevice" which isn't being handled here in this function: https://github.com/AlexxIT/SonoffLAN/blob/453cbed2dfa2fb94a0d9e007310673b1423e4063/custom_components/sonoff/core/ewelink/cloud.py#L330-L357
As a quick test I just created a new case for the "subDevice" action like so:
After reloading HA, I'm now able to configure the devices again - not yet sure if they're updating correctly though. This probably isn't the correct call for this but it was a shot in the dark as I am completely unfamiliar with this code.