Add an example automation (#36363)

Thank you!
This commit is contained in:
Åke Strandberg 2024-12-16 04:55:29 +01:00 committed by GitHub
parent 16b9a0298b
commit a22e500eab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ The integration configuration will require the **Client ID** and **Client Secret
The integration supports all heat-pump devices that can be connected to the myUplink cloud service. See [Works with myUplink](https://myuplink.com/legal/works-with/en).
However, the representation in Home Assistant depends on how and to what extent the manufacturer has implemented the service.
## Use cases / Examples
## Use cases
Common use cases include:
@ -77,6 +77,27 @@ Common use cases include:
- **Automation**: Adjust the temperature curve offset during holiday mode
- **Analytics**: View long-term statistics and graphs for the relevant sensors
## Example
Automation that will send a notification to a smartphone when the hot water reserve is getting low. Note that actual entity name varies between models of heat pumps. You will have to adapt the yaml code to your own installation.
```yaml
automation:
alias: Notify on low hot water reserve
triggers:
- trigger: numeric_state
entity_id:
- sensor.your_pump_hot_water_charging_bt6
below: 42
actions:
- action: notify.mobile_app_your_device
metadata: {}
data:
message: Hot water reserve is getting low.
title: Water heater
mode: single
```
## Data updates
The integration will poll the API for data every 60 seconds. This polling interval is designed to work within the rate limits of myUplink APIs while providing timely updates.