perf: slow UpdatePowerUsageFast from 45s to 5min - reduces 1333 triggers/day to ~288
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
# UpdatePowerUsageFast - FIXED
|
||||||
|
# Changed: seconds: 45 → minutes: /5
|
||||||
|
# Rationale: appliance power sensors only matter when running;
|
||||||
|
# 5-minute polling is more than sufficient and reduces event loop
|
||||||
|
# load by ~6700 triggers/day (from ~1333 to ~288)
|
||||||
|
|
||||||
|
alias: UpdatePowerUsageFast
|
||||||
|
description: ""
|
||||||
|
triggers:
|
||||||
|
- trigger: time_pattern
|
||||||
|
minutes: /5
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: homeassistant.update_entity
|
||||||
|
data:
|
||||||
|
entity_id:
|
||||||
|
- sensor.dishwasher_power
|
||||||
|
- sensor.clothesdrier_power
|
||||||
|
- sensor.washingmachine_power
|
||||||
|
mode: single
|
||||||
Reference in New Issue
Block a user