hass-core/homeassistant/components/humidifier/services.yaml
Franck Nijhof 848221a1d7
Migrate humidifier services to support translations (#96327)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 18:05:51 +02:00

42 lines
666 B
YAML

# Describes the format for available humidifier services
set_mode:
target:
entity:
domain: humidifier
supported_features:
- humidifier.HumidifierEntityFeature.MODES
fields:
mode:
required: true
example: "away"
selector:
text:
set_humidity:
target:
entity:
domain: humidifier
fields:
humidity:
required: true
selector:
number:
min: 0
max: 100
unit_of_measurement: "%"
turn_on:
target:
entity:
domain: humidifier
turn_off:
target:
entity:
domain: humidifier
toggle:
target:
entity:
domain: humidifier