Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ Release notes for each tagged version are extracted from this file by the
number. A single resolved-speed template sensor drives the PWM in both modes,
so `Fan Speed` always reflects the actual duty. Safety failsafes (NaN read,
>60 s sensor stall → 100 %) still apply in **all** modes, including Manual.
Mode + manual controls are grouped on the web UI via `web_server`
sorting groups (the stock UI can't hide entities by state, so they are shown
but inert in Auto).
Controls are ordered on the web UI via `web_server` sorting groups —
**Operation** (Operating Mode) → **Manual control** (Manual Fan, Manual Fan
Speed) → **Auto settings** (Fan Min %, Alarm Temperature, PWM Frequency). The
stock UI can't hide entities by state, so all are shown but inert in the
inactive mode.

### Changed
- Home Assistant transport switched from the native ESPHome **`api:` to
Expand Down
14 changes: 14 additions & 0 deletions fancontrol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ web_server:
- id: group_manual
name: "Manual control"
sorting_weight: 20
- id: group_auto
name: "Auto settings"
sorting_weight: 30

# -------- Globals (restore_value = persisted across reboots) --------

Expand Down Expand Up @@ -254,6 +257,7 @@ switch:
icon: mdi:fan
web_server:
sorting_group_id: group_manual
sorting_weight: 10
optimistic: true
restore_mode: RESTORE_DEFAULT_OFF
# Only takes effect in Manual mode; inert in Auto.
Expand All @@ -270,6 +274,7 @@ number:
id: manual_fan_speed
web_server:
sorting_group_id: group_manual
sorting_weight: 20
min_value: 0
max_value: 100
step: 1
Expand All @@ -285,6 +290,9 @@ number:
- platform: template
name: "Alarm Temperature"
id: alarm_temp_threshold
web_server:
sorting_group_id: group_auto
sorting_weight: 20
min_value: 0
max_value: 80
step: 1
Expand All @@ -297,6 +305,9 @@ number:
- platform: template
name: "Fan Min %"
id: fan_min_pct
web_server:
sorting_group_id: group_auto
sorting_weight: 10
min_value: 0
max_value: 100
step: 1
Expand All @@ -309,6 +320,9 @@ number:
- platform: template
name: "Fan PWM Frequency Setting"
id: fan_pwm_freq_setting
web_server:
sorting_group_id: group_auto
sorting_weight: 30
min_value: 1000
max_value: 5000
step: 100
Expand Down