Add Rain Bird Rain Delay Number entity and remove deprecated sensor/service (#25836)

This commit is contained in:
Allen Porter 2023-01-24 12:17:33 -08:00 committed by GitHub
parent 6da7abcdf2
commit af3510c8bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ This `rainbird` integration allows interacting with [LNK WiFi](https://www.rainb
There is currently support for the following device types within Home Assistant:
- [Binary Sensor](#binary-sensor)
- [Sensor](#sensor)
- [Number](#number)
- [Switch](#switch)
{% include integrations/config_flow.md %}
@ -39,10 +39,9 @@ will run when turning on a zone switch (default is 6 minutes). This can be overr
The `rainsensor` sensor will tell if you if the device has detected rain.
## Sensor
## Number
The `raindelay` sensor reports the number of days, if any, the automatic irrigation schedule
has been delayed.
The Rain Delay Number Entity lets you set and view the number of days, if any, the automatic irrigation schedule has been delayed.
## Switch
@ -75,14 +74,4 @@ automation:
data:
entity_id: switch.rain_bird_sprinkler_1
duration: 5
```
### `rainbird.set_rain_delay`
Sets the number of days to disable automatic irrigation. This service accepts a target of
a Rain Bird config entry.
| Service Data Attribute | Optional | Description |
| ---------------------- | -------- | ------------------------------------------------------ |
| `config_entry` | no | The configuration entry id for the rainbird controller |
| `duration` | no | Number of days for the device to be turned off. |
```