File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 4343#include " types/automation/CloudMotionSensor.h"
4444#include " types/automation/CloudSmartPlug.h"
4545#include " types/automation/CloudSwitch.h"
46- #include " types/automation/CloudTemperature .h"
46+ #include " types/automation/CloudTemperatureSensor .h"
4747#include " types/automation/CloudTelevision.h"
4848
4949/* *****************************************************************************
Original file line number Diff line number Diff line change 1515// a commercial license, send an email to license@arduino.cc.
1616//
1717
18- #ifndef CLOUDTEMPERATURE_H_
19- #define CLOUDTEMPERATURE_H_
18+ #ifndef CLOUD_TEMPERATURE_SENSOR_H_
19+ #define CLOUD_TEMPERATURE_SENSOR_H_
2020
2121/* *****************************************************************************
2222 INCLUDE
2323 ******************************************************************************/
2424
25- #include < Arduino.h>
2625#include " ../CloudFloat.h"
2726
2827/* *****************************************************************************
2928 CLASS DECLARATION
3029 ******************************************************************************/
3130
32-
33-
34- class CloudTemperature : public CloudFloat {
35- private:
31+ class CloudTemperatureSensor : public CloudFloat
32+ {
3633 public:
37- CloudTemperature& operator =(float v) {
34+
35+ CloudTemperatureSensor & operator = (float v)
36+ {
3837 CloudFloat::operator =(v);
3938 return *this ;
4039 }
4140};
4241
43-
44- #endif /* CLOUDTEMPERATURE_H_ */
42+ #endif /* CLOUD_TEMPERATURE_SENSOR_H_ */
You can’t perform that action at this time.
0 commit comments