mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Add example section for APCUPSD (#38813)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
5a831c3dee
commit
2d8a3be0c8
@ -134,6 +134,30 @@ Some sensors are disabled by default, since they provide information that is onl
|
||||
- UPS Transfer from Battery (XOFFBATT)
|
||||
- UPS Transfer to Battery (XONBATT)
|
||||
|
||||
## Examples
|
||||
|
||||
### Send me a push notification when UPS load is high
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
alias: "APC UPS Load High Notification"
|
||||
description: "Notify when APC UPS load is too high"
|
||||
mode: single
|
||||
triggers:
|
||||
- trigger: numeric_state
|
||||
entity_id:
|
||||
- sensor.gogoups_load
|
||||
above: 80
|
||||
conditions: []
|
||||
actions:
|
||||
- action: notify.notify
|
||||
data:
|
||||
message: "APC UPS load is high: {{ states('sensor.apc_ups_load') }}%"
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
## Data updates
|
||||
|
||||
The integration {% term polling polls %} data from your APC UPS Daemon every 60 seconds by default.
|
||||
|
Loading…
x
Reference in New Issue
Block a user