From 77e6c4b901fdeeb0665384fc6b933c17fae8da28 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 7 Aug 2022 00:52:51 +0200 Subject: [PATCH] UPS automations cleanup --- configuration/automations/ups.yaml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/configuration/automations/ups.yaml b/configuration/automations/ups.yaml index 89ce1be..0c7e2ad 100644 --- a/configuration/automations/ups.yaml +++ b/configuration/automations/ups.yaml @@ -26,20 +26,6 @@ title: "UPS Alert" message: UPS is charging -- id: ups-lost-power - alias: '[UPS] Lost power' - mode: single - trigger: - - platform: state - entity_id: sensor.myups_input_voltage - to: '0' - condition: [ ] - action: - - service: notify.mobile_app_iphone_pg - data: - title: "UPS Alert" - message: UPS lost power - - id: ups-power-back alias: '[UPS] Power back' mode: single @@ -55,7 +41,7 @@ message: UPS power is back - id: ups-battery-under-100 - alias: '[UPS] Power back' + alias: '[UPS] Battery Under 100%' mode: single trigger: - platform: numeric_state @@ -69,7 +55,7 @@ message: UPS battery is below 100%, estimated time on battery 25 min - id: ups-battery-under-50 - alias: '[UPS] Power back' + alias: '[UPS] Battery Under 50%' mode: single trigger: - platform: numeric_state @@ -83,7 +69,7 @@ message: UPS battery is below 50%, estimated time on battery 12 min - id: ups-battery-under-10 - alias: '[UPS] Power back' + alias: '[UPS] Battery Under 10%' mode: single trigger: - platform: numeric_state