mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add dispatch_state_subtopic example
This commit is contained in:
parent
db57b0512a
commit
c36f3fe712
@ -26,6 +26,7 @@ void custom_every_second()
|
||||
void custom_every_5seconds()
|
||||
{
|
||||
Log.verbose(TAG_CUSTOM, "5 seconds have passsed...");
|
||||
dispatch_state_subtopic("my_sensor","{\"test\":123}");
|
||||
}
|
||||
|
||||
bool custom_pin_in_use(uint pin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user