Skip to content

Commit b682ea5

Browse files
committed
fix: improve UI responsiveness with immediate state publishing
1 parent 72ab975 commit b682ea5

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.8.259] - 2026-05-13
9+
10+
### Fixed
11+
- **UI Responsiveness**: Resolved an issue where the "Lüfter Intensität" slider and "ESP-NOW Peerprüfung" switch in Home Assistant would take up to 60 seconds to update or revert to their previous state.
12+
- Added explicit `publish_state()` calls to the `set_action` and `turn_on/off_action` blocks for template entities configured with `optimistic: false`.
13+
814
## [0.8.257] - 2026-05-08
915

1016
### Added

manifest_example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "thomasengeroff.ventosync",
3-
"version": "0.8.258",
3+
"version": "0.8.260",
44
"builds": [
55
{
66
"chipFamily": "ESP32-C6",
77
"ota": {
8-
"md5": "081e620e1af2a733c1a70f47eb9b751b",
8+
"md5": "13e39d0e76ec8c94d4f8e4010d3db65b",
99
"path": "firmware.bin",
1010
"summary": "OTA update check frequency set to 15 minutes"
1111
}

packages/ui/ui_controls.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ number:
7777
then:
7878
- lambda: |-
7979
set_fan_intensity_slider(x);
80+
id(fan_intensity_display).publish_state(x);
8081
8182
- platform: template
8283
name: "Maximale LED Helligkeit"

packages/ui/ui_diagnostics.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ switch:
5050
turn_on_action:
5151
- lambda: |-
5252
id(peer_check_enabled) = true;
53+
id(peer_check_switch).publish_state(true);
5354
sync_settings_to_peers();
5455
ESP_LOGI("espnow", "Peer check enabled");
5556
turn_off_action:
5657
- lambda: |-
5758
id(peer_check_enabled) = false;
59+
id(peer_check_switch).publish_state(false);
5860
sync_settings_to_peers();
5961
ESP_LOGI("espnow", "Peer check disabled");

version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"project_version": "0.8.258",
3-
"project_date": "2026-05-08",
4-
"project_description": "Automate project versioning by linking version.json directly to ESPHome configuration."
2+
"project_version": "0.8.260",
3+
"project_date": "2026-05-13",
4+
"project_description": "Fix sluggish UI response by forcing immediate state publishing for template entities."
55
}

0 commit comments

Comments
 (0)