SinricPro Library
Main Page
Classes
SinricProFan.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 _SINRICFAN_H_
9
#define _SINRICFAN_H_
10
11
#include "SinricProDevice.h"
12
#include "SinricProDimSwitch.h"
13
18
class
SinricProFan
:
public
SinricProDimSwitch
{
19
public
:
20
SinricProFan
(
const
char
* deviceId,
unsigned
long
eventWaitTime=100);
21
};
22
23
SinricProFan::SinricProFan(
const
char
* deviceId,
unsigned
long
eventWaitTime) :
SinricProDimSwitch
(deviceId, eventWaitTime) {}
24
25
#endif
26
SinricProFan
Device to turn on / off a fan and change it's speed by using powerlevel.
Definition:
SinricProFan.h:18
SinricProDimSwitch
Device which supports on / off and dimming commands.
Definition:
SinricProDimSwitch.h:17
src
SinricProFan.h
Generated by
1.8.16