core/homeassistant/components/tplink/services.yaml

172 lines
3.1 KiB
YAML

sequence_effect:
target:
entity:
integration: tplink
domain: light
fields:
sequence:
example: |
- [340, 20, 50]
- [20, 50, 50]
- [0, 100, 50]
required: true
selector:
object:
segments:
example: 0, 2, 4, 6, 8
default: 0
required: false
selector:
object:
brightness:
example: 80
default: 100
required: false
selector:
number:
min: 1
step: 1
max: 100
unit_of_measurement: "%"
duration:
example: 0
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 5000
unit_of_measurement: "ms"
repeat_times:
example: 0
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 10
transition:
example: 2000
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 6000
unit_of_measurement: "ms"
spread:
example: 1
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 16
direction:
example: 1
default: 4
required: false
selector:
number:
min: 1
step: 1
max: 4
random_effect:
target:
entity:
integration: tplink
domain: light
fields:
init_states:
example: [199, 99, 96]
required: true
selector:
object:
backgrounds:
example: |
- [199, 89, 50]
- [160, 50, 50]
- [180, 100, 50]
required: false
selector:
object:
segments:
example: 0, 2, 4, 6, 8
default: 0
required: false
selector:
object:
brightness:
example: 90
default: 100
required: false
selector:
number:
min: 1
step: 1
max: 100
unit_of_measurement: "%"
duration:
example: 0
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 5000
unit_of_measurement: "ms"
transition:
example: 2000
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 6000
unit_of_measurement: "ms"
fadeoff:
example: 2000
default: 0
required: false
selector:
number:
min: 0
step: 1
max: 3000
unit_of_measurement: "ms"
hue_range:
example: 340, 360
required: false
selector:
object:
saturation_range:
example: 40, 95
required: false
selector:
object:
brightness_range:
example: 90, 100
required: false
selector:
object:
transition_range:
example: 2000, 6000
required: false
selector:
object:
random_seed:
example: 80
default: 100
required: false
selector:
number:
min: 1
step: 1
max: 600