mikejac / node-red-contrib-google-smarthome

A collection of Node-RED nodes to control your smart home devices via Google Assistant.
GNU General Public License v3.0
116 stars 36 forks source link

How to use functionNotSupported? #474

Open patrik-malina opened 7 months ago

patrik-malina commented 7 months ago

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

Thanks in advace.

Caprico85 commented 7 months ago

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.

patrik-malina commented 7 months ago

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