From f7491906543153cf4c370c286109d79f3020887c Mon Sep 17 00:00:00 2001 From: jessikitty Date: Mon, 1 Jun 2026 22:24:42 +1000 Subject: [PATCH] perf: slow UpdatePowerUsageFast from 45s to 5min - reduces 1333 triggers/day to ~288 --- automations/UpdatePowerUsageFast_fixed.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 automations/UpdatePowerUsageFast_fixed.yaml diff --git a/automations/UpdatePowerUsageFast_fixed.yaml b/automations/UpdatePowerUsageFast_fixed.yaml new file mode 100644 index 0000000..8db3049 --- /dev/null +++ b/automations/UpdatePowerUsageFast_fixed.yaml @@ -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