7 if (value_from_stove == -1) {
12 float new_sensor_value = (float) value_from_stove;
15 new_sensor_value = new_sensor_value / 2;
20 new_sensor_value = new_sensor_value == 0 ? 0 : (new_sensor_value * 10) + this->
fan_speed_offset_;
23 new_sensor_value = new_sensor_value / 2;
26 new_sensor_value = new_sensor_value / 10;
MicroNovaFunctions get_function()
void process_value_from_stove(int value_from_stove) override
void publish_state(float state)
Publish a new state to the front-end.
@ STOVE_FUNCTION_WATER_PRESSURE
@ STOVE_FUNCTION_WATER_TEMPERATURE
@ STOVE_FUNCTION_ROOM_TEMPERATURE
@ STOVE_FUNCTION_THERMOSTAT_TEMPERATURE
@ STOVE_FUNCTION_FAN_SPEED
Providing packet encoding functions for exchanging data with a remote host.