Closed OlivierZal closed 1 year ago
Web API documentation says that a CapabilityInstance is to switch on this way:
CapabilityInstance
on
capabilityInstance.setValue(true).catch(this.error)
but errors are raised:
[err] 2023-01-19 23:45:54 [MELCloudApp] [HomeyAPIError: Une erreur inconnue s'est produite [not_setable]] { statusCode: 500, description: "Une erreur inconnue s'est produite [not_setable]" }
or
[err] 2023-01-19 23:46:30 [MELCloudApp] [HomeyAPIError: not_setable] { statusCode: undefined, description: null }
This is not a bug but you are trying to set a capability that is not setable.The error code is wrong though.
Understood @jeroenwienk
Web API documentation says that a
CapabilityInstance
is to switchon
this way:but errors are raised:
or