using this automation, I keep getting notified of serious issues on my Brand new APC UPS.... as a mtter of fact, it is the second device which I installed today, after having returned a previous one for the same reasons...
what could be the reason here for false alarms?
- id: ups_changed_state
alias: UPS changed state
trigger:
- platform: event
event_type: nut.ups_event
variables:
tijd: >
{{now().strftime('%X')}}
message: >
{{trigger.event.data.notify_msg}}
action:
- action: system_log.write
data:
message: >
UPS Event data: {{trigger.event.data}}
- action: persistent_notification.create
data:
title: UPS changed state
message: >
{{tijd}}: {{message}}
notification_id: >
ups_notification_{{tijd}}
- service: notify.mobile_app_marijn
data:
title: UPS changed state
message: >
{{tijd}}: {{message}}
data:
push:
sound:
name: default
critical: 1
volume: 1.0
Home Assistant Community
right, so I returned the device used above, and waited a few months, only to experience a power out the other day… so, I ordered a new UPS, and lo and behold, within minutes of installing it, the same loggings returned this must be a fluke, and the first thing I did was edit the automation to Not issue critical warnings on that anymore. ...