SinricPro Library
SinricProThermostat.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 _SINRICTHERMOSTAT_H_
9 #define _SINRICTHERMOSTAT_H_
10 
11 #include "SinricProDevice.h"
12 #include "Capabilities/PowerStateController.h"
13 #include "Capabilities/ThermostatController.h"
14 #include "Capabilities/TemperatureSensor.h"
15 
28  public PowerStateController<SinricProThermostat>,
29  public ThermostatController<SinricProThermostat>,
30  public TemperatureSensor<SinricProThermostat> {
34  public:
35  SinricProThermostat(const DeviceId &deviceId) : SinricProDevice(deviceId, "THERMOSTAT") {}
36 };
37 
38 #endif
39 
PowerStateController.
Definition: PowerStateController.h:11
Base class for all device types.
Definition: SinricProDevice.h:25
Device to control Thermostat.
Definition: SinricProThermostat.h:30
TemperatureSensor.
Definition: TemperatureSensor.h:10
ThermostatController.
Definition: ThermostatController.h:11