The same should work in Hubitat. Do you happen to have a typo or a misplaced upper/lowercase letter somewhere compared to the (modified as documented) name of the driver you're looking for?
It might be simpler to use the “Sleep Sensor” capability as your filter. I have never seen the use of a specific device name as a filter. Learn something new every day! @chuck.schwer would know for sure whether or not Hubitat supports that functionality.
The match is done by removing the spaces in the name, so if you named your driver "person Status" it would be "device.personStatus" or if you named it "PERSON status" it would be "device.PERSONstatus"
I'm running into an issue where I can't filter on "HomeSeer WD-200 Dimmer".
What would the "device.xxx" be here? Reading the SmartThings docs it seems like it's impossible the way it starts with HomeSeer since "HomeSeer" -> "Home Seer"?
My App config page has this section:
section
{
input name: "managedSwitches", "device.InovelliDimmerRedSeriesLZW31-SN", title: "Output Switches", multiple: true, required: true
}
Driver name is: "Inovelli Dimmer Red Series LZW31-SN"
Error is
Error: No signature of method: user_app_test_MyApp.input() is applicable for argument types: (java.util.LinkedHashMap, java.lang.String) values: [[name:managedSwitches, title:Output Switches, multiple:false, ...], ...] Possible solutions: inspect(), wait(), run(), run(), any(), find()
I've tried a few combos of removing spaces, removing the dash, etc, and I get the same error. Anyone know what I'm missing?
HAHA, I posted this after a few hours of hitting my head against the wall, and sure enough in 5 minutes after posting, I stumbled upon the missing bit. Forgot to put type: in front of the device name! Replying here in case it helps any future traveler.
Is this a simple string match or are wildcards/regexes allowed?
I'm asking because I have separate drivers for various LIFX devices, all of which start with the string 'LIFX', so a device name of 'LIFX*' would be very handy.
I'm having some users report issues with a device-specific input using the Open Weather Map Alerts driver. Here is the OWM definition: definition (name: 'OpenWeatherMap-Alerts Weather Driver'
Here is my input code: input name: "weatherDevice", type: "device.OpenWeatherMap-AlertsWeatherDriver", title: "Open Weather Map Weather Device", submitOnChange: true, multiple: false, required: false
This works fine on my hub (C5 running 2.3.2.141) but for some reason it's apparently not working on at least 1 other user's hub (C-7, Platform Version 2.3.2.141). Any ideas??