Hubitat's button implementation

These are all great ideas.

Ultimately my goal was just to expose those functions as a button. My thought pattern was:

  • RM calls the Roomba "Pushable Button" #1
  • Roomba driver "feels" a button pushed
  • Button #1 now calls XYZ routine mapped to that button number

My thought on this was from another post about the same subject but the example given was what I have above BUT they just called the push(btn) routine in the driver.

This originally was a request to have "dock" be a momentary switch which @plantucha provided me an example of what he was doing. I am hoping to go a little further with it to reveal at least start, stop and dock.

Make sense? Probably not.