I’m working on an application and am having some issues getting consistent results getting the state of my garage door.
def currentState = garageDoor.getState
Will occasionally, but not always, return “null”. When I’m checking the state of my garage door in my Garage Door app, I am getting inconsistent results with this.
garageDoor.garageDoorControl.currentValue(“door”) --> I’ll give that a shot as soon as the dev space comes back. Derp, not sure why I didn’t use this in the first place.
Cool. That seems a bit more consistent. For some reason, it still doesn’t always close on the first attempt, but I’m going to let it run real-world for a while and see what results I get.