Skip to content

Commit be0a71d

Browse files
TheRealPiotrPclaude
andcommitted
fix(zen35): force sensor refresh after button 4 REST calls
Without this, the sensor holds stale state for up to scan_interval seconds, causing consecutive button 4 presses to read the old enabled/disabled state and toggle the wrong direction. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a9550b1 commit be0a71d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

blueprints/automation/zooz_zen35_powerview/zooz_zen35_powerview.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ action:
390390
hub: "{{ hub_url }}"
391391
id: "{{ repeat.item }}"
392392
enabled: "{{ new_opted_in | lower }}"
393+
- service: homeassistant.update_entity
394+
target:
395+
entity_id: sensor.powerview_scheduled_events
393396
- service: zwave_js.set_config_parameter
394397
target:
395398
device_id: "{{ device_id }}"

0 commit comments

Comments
 (0)