SinricPro Library
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 
18  public:
19  SinricProSwitch(const DeviceId &deviceId);
20  String getProductType() { return SinricProDevice::getProductType() + String("SWITCH"); }
21 };
22 
23 SinricProSwitch::SinricProSwitch(const DeviceId &deviceId) : SinricProDevice(deviceId) {}
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:24