Results 3 comments of marknguy

Do you know if it's possible to "poll" before you issue the "toggle"? And based on whether the door was open or closed, it would use the icon "st.doors.garage.garage-closing" or...

Sorry, I probably was not clear. With the changes I made, the poll() retrieves the status of the sensor on GPIO14 (which is a reed switch connected to the garage...

Oh ok, thanks for pointer. I'll give that a shot later this week. I'm busy with work until this weekend.