Closed PalmTamino closed 2 years ago
You can use an apply function for the topic something like (not tested):
return (["idle","docked","paused"].includes(message) ? "OFF" : "ON");
see here for details https://github.com/arachnetech/homebridge-mqttthing/blob/master/docs/Configuration.md
Thanks! Got it
Screenshot: https://ibb.co/7R8fFSk