SinricPro Library
Loading...
Searching...
No Matches
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#pragma once
9
10#include "SinricProDevice.h"
11#include "Capabilities/SettingController.h"
12#include "Capabilities/PushNotification.h"
13#include "Capabilities/PowerStateController.h"
14#include "Capabilities/ThermostatController.h"
15#include "Capabilities/TemperatureSensor.h"
16
17#include "SinricProNamespace.h"
18namespace SINRICPRO_NAMESPACE {
19
32 public SettingController<SinricProThermostat>,
33 public PushNotification<SinricProThermostat>,
34 public PowerStateController<SinricProThermostat>,
35 public ThermostatController<SinricProThermostat>,
36 public TemperatureSensor<SinricProThermostat> {
37 friend class SettingController<SinricProThermostat>;
42 public:
43 SinricProThermostat(const String &deviceId) : SinricProDevice(deviceId, "THERMOSTAT") {}
44};
45
46} // SINRICPRO_NAMESPACE
47
48using SinricProThermostat = SINRICPRO_NAMESPACE::SinricProThermostat;
PowerStateController.
Definition PowerStateController.h:36
PushNotification.
Definition PushNotification.h:17
Base class for all device types.
Definition SinricProDevice.h:24
Device to control Thermostat.
Definition SinricProThermostat.h:36
TemperatureSensor.
Definition TemperatureSensor.h:18
ThermostatController.
Definition ThermostatController.h:70