Cleanup fan control #89
Loading…
Reference in New Issue
No description provided.
Delete Branch "atse/thermostat:fan-pwm-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
current_abs_max_tec_i
inchannels.rs
to use uom instead of baref64
sRework the same function to check for channel current in all channels instead of 2This cannot be done without changing the structure of the code in current_abs_max_tec_i? Usually those Rust functions like max_by have type parameters and will work if used correctly and the right traits are implemented.
Yes, this is exactly what I had done initially in that commit. I only changed the structure to generalize the function to deal with more than two channels, since max_by only compares two values.
@ -279,3 +279,3 @@
## Fan control
Fan control is available for the thermostat revisions with integrated fan system. For this purpose four commands are available:
Fan control is available for thermostat revisions with an integrated fan system. Five commands are available for this purpose:
I don't think anyone cares about the number of commands and it's hassle to maintain (as this commit shows). Remove that number.
Also thinking about this now, I don't think there is a need to generalize for more than 2 channels anyway right? I believe the EEM version already has its own fan PWM implementation.
The EEM version is MQTT based. I was hoping this could be the non-MQTT version (but could still use miniconf) with custom GUI, for both Thermostat devices.
59e0365669
to17edae44fb