called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor
| 164 | |
| 165 | //called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor |
| 166 | void S_TimedRelay::refresh() |
| 167 | { |
| 168 | //Queue the relay status update the ST Cloud |
| 169 | Everything::sendSmartString(getName() + " " + (m_bCurrentState == HIGH ? F("on") : F("off"))); |
| 170 | } |
| 171 | |
| 172 | void S_TimedRelay::setOutputPin(byte pin) |
| 173 | { |
nothing calls this directly
no outgoing calls
no test coverage detected