hass-core/homeassistant/components/cover/services.yaml
Franck Nijhof c236d17343
Migrate cover services to support translations (#96315)
* Migrate cover services to support translations

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 16:10:32 +02:00

89 lines
1.7 KiB
YAML

# Describes the format for available cover services
open_cover:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.OPEN
close_cover:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.CLOSE
toggle:
target:
entity:
domain: cover
supported_features:
- - cover.CoverEntityFeature.CLOSE
- cover.CoverEntityFeature.OPEN
set_cover_position:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.SET_POSITION
fields:
position:
required: true
selector:
number:
min: 0
max: 100
unit_of_measurement: "%"
stop_cover:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.STOP
open_cover_tilt:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.OPEN_TILT
close_cover_tilt:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.CLOSE_TILT
toggle_cover_tilt:
target:
entity:
domain: cover
supported_features:
- - cover.CoverEntityFeature.CLOSE_TILT
- cover.CoverEntityFeature.OPEN_TILT
set_cover_tilt_position:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.SET_TILT_POSITION
fields:
tilt_position:
required: true
selector:
number:
min: 0
max: 100
unit_of_measurement: "%"
stop_cover_tilt:
target:
entity:
domain: cover
supported_features:
- cover.CoverEntityFeature.STOP_TILT