mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add back command for remoteseltemp #1982
This commit is contained in:
@@ -4482,8 +4482,15 @@ void Thermostat::register_device_values_hc(std::shared_ptr<Thermostat::HeatingCi
|
|||||||
MAKE_CF_CB(set_tempautotemp),
|
MAKE_CF_CB(set_tempautotemp),
|
||||||
-1,
|
-1,
|
||||||
30);
|
30);
|
||||||
register_device_value(tag, &hc->remoteseltemp, DeviceValueType::INT8, DeviceValueNumOp::DV_NUMOP_DIV2, FL_(remoteseltemp), DeviceValueUOM::DEGREES);
|
register_device_value(tag,
|
||||||
// a command is only accepted from the remote device, not from ems-esp.
|
&hc->remoteseltemp,
|
||||||
|
DeviceValueType::INT8,
|
||||||
|
DeviceValueNumOp::DV_NUMOP_DIV2,
|
||||||
|
FL_(remoteseltemp),
|
||||||
|
DeviceValueUOM::DEGREES,
|
||||||
|
MAKE_CF_CB(set_remoteseltemp),
|
||||||
|
-1,
|
||||||
|
30);
|
||||||
register_device_value(tag, &hc->fastHeatup, DeviceValueType::UINT8, FL_(fastheatup), DeviceValueUOM::PERCENT, MAKE_CF_CB(set_fastheatup));
|
register_device_value(tag, &hc->fastHeatup, DeviceValueType::UINT8, FL_(fastheatup), DeviceValueUOM::PERCENT, MAKE_CF_CB(set_fastheatup));
|
||||||
register_device_value(tag,
|
register_device_value(tag,
|
||||||
&hc->switchonoptimization,
|
&hc->switchonoptimization,
|
||||||
|
|||||||
Reference in New Issue
Block a user