Open dantera333 opened 7 years ago
I noticed this too while doing development. I thought I broke the button but it doesn't seem like it ever worked. The state change trying to change the widget from a status to a button doesn't seem to work.
@tgsoverly did this ever work?
I think so it did. I can fix if someone can provide the output of the controller and what to send to get the timer to change.
That's interesting. I'm not sure what's going on then. This is the part that doesn't seem to work:
tileAttribute("device.statusOfUpdate", key: "SECONDARY_CONTROL") {
attributeState "ready", label:'+ Timer', action:"addTime"
attributeState "updating", label:'Updating...'
}
When the tile is in its default state (with the label "+ Timer"), clicking on it doesn't seem to do anything. The addTime method is not being called. I added some log statements in there and it never triggers. It kind of seems like the tile is not becoming a button for some reason.
SECONDARY_CONTROL | Used to display textual information.
I'm wondering if VALUE_CONTROL or SLIDER_CONTROL would work better?
To change the timer, you can only increase it. here's the value getSendCodeAction(2)
Great and useful handler, thank you! However, tapping on the timer tile doesn't increase the value.