homebridge-script2
homebridge-script2 copied to clipboard
multiple "on_value" values
I'd like to be able to specify multiple "on_value" values. If the script returns any of the values listed the switch would then be considered as on. Any chance you could add this in?
Probably not what you're looking for and definitely slightly more inefficient but if its pressing you could write a shell script to call the main script and then if any of the results you want to see are returned, then this script returns true, otherwise just false.