MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / init

Method init

Arduino/libraries/ST_Anything/EX_Alarm.cpp:93–96  ·  view source on GitHub ↗

initialization routine

Source from the content-addressed store, hash-verified

91
92 //initialization routine
93 void EX_Alarm::init()
94 {
95 refresh(); //update ST Cloud with initial data
96 }
97
98 //called periodically to ensure state of the Alarm Siren is up to date in the SmartThings Cloud (in case an event is missed)
99 void EX_Alarm::refresh()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected