UPS automations cleanup
This commit is contained in:
parent
426697fc23
commit
77e6c4b901
@ -26,20 +26,6 @@
|
|||||||
title: "UPS Alert"
|
title: "UPS Alert"
|
||||||
message: UPS is charging
|
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
|
- id: ups-power-back
|
||||||
alias: '[UPS] Power back'
|
alias: '[UPS] Power back'
|
||||||
mode: single
|
mode: single
|
||||||
@ -55,7 +41,7 @@
|
|||||||
message: UPS power is back
|
message: UPS power is back
|
||||||
|
|
||||||
- id: ups-battery-under-100
|
- id: ups-battery-under-100
|
||||||
alias: '[UPS] Power back'
|
alias: '[UPS] Battery Under 100%'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
@ -69,7 +55,7 @@
|
|||||||
message: UPS battery is below 100%, estimated time on battery 25 min
|
message: UPS battery is below 100%, estimated time on battery 25 min
|
||||||
|
|
||||||
- id: ups-battery-under-50
|
- id: ups-battery-under-50
|
||||||
alias: '[UPS] Power back'
|
alias: '[UPS] Battery Under 50%'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
@ -83,7 +69,7 @@
|
|||||||
message: UPS battery is below 50%, estimated time on battery 12 min
|
message: UPS battery is below 50%, estimated time on battery 12 min
|
||||||
|
|
||||||
- id: ups-battery-under-10
|
- id: ups-battery-under-10
|
||||||
alias: '[UPS] Power back'
|
alias: '[UPS] Battery Under 10%'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
|
Loading…
Reference in New Issue
Block a user