1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
ha-core/homeassistant/components/remote/services.yaml
Franck Nijhof 80eb4747ff
Migrate remote services to support translations (#96410)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 18:06:31 +02:00

108 lines
1.7 KiB
YAML

# Describes the format for available remote services
turn_on:
target:
entity:
domain: remote
fields:
activity:
example: "BedroomTV"
filter:
supported_features:
- remote.RemoteEntityFeature.ACTIVITY
selector:
text:
toggle:
target:
entity:
domain: remote
turn_off:
target:
entity:
domain: remote
send_command:
target:
entity:
domain: remote
fields:
device:
example: "32756745"
selector:
text:
command:
required: true
example: "Play"
selector:
object:
num_repeats:
default: 1
selector:
number:
min: 0
max: 255
delay_secs:
default: 0.4
selector:
number:
min: 0
max: 60
step: 0.1
unit_of_measurement: seconds
hold_secs:
default: 0
selector:
number:
min: 0
max: 60
step: 0.1
unit_of_measurement: seconds
learn_command:
target:
entity:
domain: remote
fields:
device:
example: "television"
selector:
text:
command:
example: "Turn on"
selector:
object:
command_type:
default: "ir"
selector:
select:
options:
- "ir"
- "rf"
alternative:
selector:
boolean:
timeout:
selector:
number:
min: 0
max: 60
step: 5
unit_of_measurement: seconds
delete_command:
target:
entity:
domain: remote
fields:
device:
example: "television"
selector:
text:
command:
required: true
example: "Mute"
selector:
object: