PowerSource capability might not work

I am integrating Shelly’s H&T sensor in the Shelly Cloud plugin and I tried to use the PowerSource capability to show the battery status or USB power and it seems not to work? It does not show up in the capabilities list either. I ended up using an attribute with the same parameters as the capability which works fine.

I’ve fixed this on my development machine. The PowerSource Capability will work in the next release. For the time being use the custom attribute.

Great Bill, many thanks again. I have made several improvemnets to the Shelly plugins which I will post after the fixes in the new release :wink:
I have also included your suggestion about how to run the HasSubscribers() and the App runs much faster now!!

1 Like