Hi, I’ve been getting an error for a while when trying to use the Thing: Get Attribute action in Tasker when trying to get the light state of a specific switch of mine. I have multiple light switches and bulbs in my SmartThings network, but only this one switch gives me this error.
12.06.57/ActionArgBundle key: locationID: replace String value with null
12.06.57/E FIRE PLUGIN: Thing: Get Attribute / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 7 bundle keys
12.06.57/E Thing: Get Attribute: plugin comp: com.boshdirect.stwidgets/com.boshdirect.stwidgets.Tasker.FireService
12.06.57/E add wait type Plugin1 time 15
12.06.57/E add wait type Plugin1 done
12.06.57/E handlePluginFinish: taskExeID: 1 result 3
12.06.57/E pending result code
12.06.57/E add wait task
12.06.58/E Error: 2
That is odd. If you watch the SmartThings IDE Live Logs while you try to run that task, are there any clues?
Is that the exact same task you are using to retrieve status from other devices (using variables) or a separate task? If it’s a separate task, does it work when you edit it and change it out to one of the other known ‘good’ devices?
And have you tried creating a new simple task just for troubleshooting this? Just a single action to get the Thing State and the Flash it to the screen for verification. Do that for a working device and then edit the task and change it to your ‘bad’ device to see if the issue still exists?
So I just made a simple task with just the Thing: Get Attribute action and a Flash toast action. When set to the working devices, it doesn’t error, but returns a “null” value. It still errors on the switch I’m having issues with.