Skip to content

Commit 7b9ed73

Browse files
author
Thomas Kloppholz
authored
Update services.yaml
1 parent d592f55 commit 7b9ed73

1 file changed

Lines changed: 18 additions & 12 deletions

File tree

custom_components/ontime/services.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ stop:
1212

1313
reload:
1414
name: Reload
15-
description: Reload the Ontime rundown
15+
description: Reload the current event
1616

1717
roll:
1818
name: Roll
19-
description: Roll to the next event
19+
description: Activate roll mode (sync to schedule)
2020

2121
load_event:
2222
name: Load Event
@@ -26,6 +26,7 @@ load_event:
2626
name: Event ID
2727
description: The ID of the event to load
2828
required: true
29+
example: "abc123"
2930
selector:
3031
text:
3132

@@ -37,6 +38,7 @@ start_event:
3738
name: Event ID
3839
description: The ID of the event to start
3940
required: true
41+
example: "abc123"
4042
selector:
4143
text:
4244

@@ -46,37 +48,40 @@ add_time:
4648
fields:
4749
time:
4850
name: Time
49-
description: Time to add in milliseconds (negative to subtract)
51+
description: Time to add in milliseconds (use negative values to subtract)
5052
required: true
53+
example: 60000
5154
selector:
5255
number:
5356
min: -3600000
5457
max: 3600000
58+
unit_of_measurement: "ms"
5559
direction:
5660
name: Direction
57-
description: Which timer property to modify
61+
description: Which action to perform (add or remove time)
5862
required: false
59-
default: both
63+
default: add
6064
selector:
6165
select:
6266
options:
63-
- both
64-
- start
65-
- duration
66-
- end
67+
- add
68+
- remove
69+
- subtract
6770

6871
load_event_index:
6972
name: Load Event by Index
7073
description: Load an event by its index in the rundown
7174
fields:
7275
event_index:
7376
name: Event Index
74-
description: The index of the event to load
77+
description: The index of the event to load (1-based)
7578
required: true
79+
example: 1
7680
selector:
7781
number:
78-
min: 0
82+
min: 1
7983
max: 1000
84+
mode: box
8085

8186
load_event_cue:
8287
name: Load Event by Cue
@@ -86,5 +91,6 @@ load_event_cue:
8691
name: Event Cue
8792
description: The cue name of the event to load
8893
required: true
94+
example: "Q1"
8995
selector:
90-
text:
96+
text:

0 commit comments

Comments
 (0)