called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the motion sensor
| 61 | |
| 62 | //called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the motion sensor |
| 63 | void IS_Motion::refresh() |
| 64 | { |
| 65 | Everything::sendSmartString(getName() + (getStatus() ? F(" active") : F(" inactive"))); |
| 66 | } |
| 67 | |
| 68 | void IS_Motion::runInterrupt() |
| 69 | { |
nothing calls this directly
no outgoing calls
no test coverage detected