Jan200101/ShellyPy

Shelly versions features support

Opened this issue · 1 comments

h3tz commented

We should take care according to the technical documentation which features are supported to throw exceptions in case a shelly device is not updated to date but a ShellyPy user would like to use a feature arrived in the latest feature: https://shelly-api-docs.shelly.cloud/gen1/#based-on-mongoose-os

Not sure.

The library doesn't keep track device type is capable of what and firmware numbers might not be reliable in the future.

I think it would be better to check the device response for its capabilities
e.g.
If /light/0 has no transition key, then transition are not a valid parameter (though then question would be when is any key valid and should we allow invalid keys.

I'll see what Shelly devices can natively respond and see how to implement this.