called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor
| 124 | |
| 125 | //called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor |
| 126 | void IS_DoorControl::refresh() |
| 127 | { |
| 128 | Everything::sendSmartString(getName() + (getStatus() ? F(" closed") : F(" open"))); |
| 129 | } |
| 130 | |
| 131 | void IS_DoorControl::runInterrupt() |
| 132 | { |
nothing calls this directly
no outgoing calls
no test coverage detected