hass-core/homeassistant/components/hydrawise/services.yaml
David Knowles 7820bcf218
Add entity services to the Hydrawise integration (#120883)
* Add services to the Hydrawise integration

* Add validation of duration ranges

* Remove clamping test

* Fix duration type in test

* Changes requested during review

* Add back the HydrawiseZoneBinarySensor class
2024-07-26 17:25:56 +02:00

32 lines
598 B
YAML

start_watering:
target:
entity:
integration: hydrawise
domain: binary_sensor
device_class: running
fields:
duration:
required: false
selector:
number:
min: 0
max: 90
unit_of_measurement: min
mode: box
suspend:
target:
entity:
integration: hydrawise
domain: binary_sensor
device_class: running
fields:
until:
required: true
selector:
datetime:
resume:
target:
entity:
integration: hydrawise
domain: binary_sensor
device_class: running