SinricPro Library
Main Page
Classes
SinricProSwitch.h
1
/*
2
* Copyright (c) 2019 Sinric. All rights reserved.
3
* Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
4
*
5
* This file is part of the Sinric Pro (https://github.com/sinricpro/)
6
*/
7
8
#ifndef _SINRICSWITCH_H_
9
#define _SINRICSWITCH_H_
10
11
#include "SinricProDevice.h"
12
17
class
SinricProSwitch
:
public
SinricProDevice
{
18
public
:
19
SinricProSwitch
(
const
char
* deviceId,
unsigned
long
eventWaitTime=100);
20
String getProductType() {
return
SinricProDevice::getProductType() + String(
"SWITCH"
); }
21
};
22
23
SinricProSwitch::SinricProSwitch(
const
char
* deviceId,
unsigned
long
eventWaitTime) :
SinricProDevice
(deviceId, eventWaitTime) {}
24
25
26
#endif
27
SinricProSwitch
Device suporting basic on / off command.
Definition:
SinricProSwitch.h:17
SinricProDevice
Base class for all device types.
Definition:
SinricProDevice.h:23
src
SinricProSwitch.h
Generated by
1.8.16