SinricPro Library
SinricProPowerSensor.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 _SINRICPOWERSENSOR_H_
9 #define _SINRICPOWERSENSOR_H_
10 
11 #include "SinricProDevice.h"
12 #include "Capabilities/PowerSensorEventSource.h"
13 
20  public PowerSensor<SinricProPowerSensor> {
21  friend class PowerSensor<SinricProPowerSensor>;
22  public:
23  SinricProPowerSensor(const DeviceId &deviceId) : SinricProDevice(deviceId, "POWER_SENSOR") {}
24 };
25 
26 #endif
PowerSensor.
Definition: PowerSensor.h:9
Base class for all device types.
Definition: SinricProDevice.h:25
Device to report power usage.
Definition: SinricProPowerSensor.h:20