node-red-contrib-google-smarthome icon indicating copy to clipboard operation
node-red-contrib-google-smarthome copied to clipboard

How to use functionNotSupported?

Open patrik-malina opened this issue 1 year ago • 2 comments

I have several devices that don't support some traits. How can I use error functionNotSupported in flow/device settings?

Thanks in advace.

patrik-malina avatar Jan 23 '24 17:01 patrik-malina

Unfortunately, there is currently no way to do this.

There are plans to include some kind of async response like node-red-contrib-smartnora has. See #458. There, the device node outputs a command, your function node handles the command and generates a response (e.g. a functionNotSupported response) and that response is fed back into the system via a response node. image

But there is currently nobody working on that. So it could still take months or years before we support this.

Caprico85 avatar Jan 23 '24 20:01 Caprico85

Ok, thank you for clarifying. Hope someone get to work on it soon :)

patrik-malina avatar Jan 24 '24 12:01 patrik-malina