Add "Push Flow Meter Data" service to RainMachine (#24680)

This commit is contained in:
shbatm 2022-10-24 14:40:07 -05:00 committed by GitHub
parent e573e861aa
commit 979562ece5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ Services accept either device IDs or entity IDs, depending on the nature of the
- Services that require a device ID as a target:
- `rainmachine.pause_watering`
- `rainmachine.push_flow_meter_data`
- `rainmachine.push_weather_data`
- `rainmachine.restrict_watering`
- `rainmachine.stop_all`
@ -64,6 +65,15 @@ Pause all watering activities for a number of seconds. After the pause is comple
| ---------------------- | -------- | ------------------------------ |
| `seconds` | no | The number of seconds to pause |
### `rainmachine.push_flow_meter_data`
Push Flow Meter data from Home Assistant to the RainMachine device.
| Service Data Attribute | Optional | Description |
| ---------------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `value` | no | The flow meter value to send. May be any positive number. |
| `unit_of_measurement` | yes | The flow meter units to send. String must be one of "clicks", "gal", "litre", or "m3" (default: "litre"). |
### `rainmachine.push_weather_data`
Push Weather Data from Home Assistant to the RainMachine device.