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 publish_state(float state)
Publish a new state to the front-end.
void process_value_from_stove(int value_from_stove) override
Implementation of SPI Controller mode.