mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
formatting
This commit is contained in:
@@ -48,10 +48,10 @@ class Heatsource : public EMSdevice {
|
||||
// uint8_t valveBypass_; // VR2 position unknown
|
||||
// uint8_t heatSource_; // OEV
|
||||
|
||||
uint8_t burner_; // bit 5, offset 1, 54E
|
||||
uint8_t aPump_; // bit 0, offset 1, 54E
|
||||
uint8_t heatRequest_; // offset 2, percent
|
||||
uint8_t blockRemain_; // offset 24, 550 min
|
||||
uint8_t burner_; // bit 5, offset 1, 54E
|
||||
uint8_t aPump_; // bit 0, offset 1, 54E
|
||||
uint8_t heatRequest_; // offset 2, percent
|
||||
uint8_t blockRemain_; // offset 24, 550 min
|
||||
uint8_t blockRemainWw_; // offset 25, 550 min
|
||||
|
||||
// Settings:
|
||||
|
||||
@@ -3571,28 +3571,11 @@ void Thermostat::register_device_values() {
|
||||
MAKE_CF_CB(set_tempDiffBoiler),
|
||||
1,
|
||||
99);
|
||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
||||
&pvEnableWw_,
|
||||
DeviceValueType::BOOL,
|
||||
FL_(pvEnableWw),
|
||||
DeviceValueUOM::NONE,
|
||||
MAKE_CF_CB(set_pvEnableWw));
|
||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
||||
&pvRaiseHeat_,
|
||||
DeviceValueType::INT,
|
||||
FL_(pvRaiseHeat),
|
||||
DeviceValueUOM::K,
|
||||
MAKE_CF_CB(set_pvRaiseHeat),
|
||||
0,
|
||||
5);
|
||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
||||
&pvLowerCool_,
|
||||
DeviceValueType::INT,
|
||||
FL_(pvLowerCool),
|
||||
DeviceValueUOM::K,
|
||||
MAKE_CF_CB(set_pvLowerCool),
|
||||
-5,
|
||||
0);
|
||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &pvEnableWw_, DeviceValueType::BOOL, FL_(pvEnableWw), DeviceValueUOM::NONE, MAKE_CF_CB(set_pvEnableWw));
|
||||
register_device_value(
|
||||
DeviceValueTAG::TAG_DEVICE_DATA, &pvRaiseHeat_, DeviceValueType::INT, FL_(pvRaiseHeat), DeviceValueUOM::K, MAKE_CF_CB(set_pvRaiseHeat), 0, 5);
|
||||
register_device_value(
|
||||
DeviceValueTAG::TAG_DEVICE_DATA, &pvLowerCool_, DeviceValueType::INT, FL_(pvLowerCool), DeviceValueUOM::K, MAKE_CF_CB(set_pvLowerCool), -5, 0);
|
||||
break;
|
||||
case EMS_DEVICE_FLAG_RC10:
|
||||
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
|
||||
|
||||
@@ -501,7 +501,6 @@ class Thermostat : public EMSdevice {
|
||||
bool set_pvEnableWw(const char * value, const int8_t id);
|
||||
bool set_pvRaiseHeat(const char * value, const int8_t id);
|
||||
bool set_pvLowerCool(const char * value, const int8_t id);
|
||||
|
||||
};
|
||||
|
||||
} // namespace emsesp
|
||||
|
||||
Reference in New Issue
Block a user