-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.yaml
68 lines (62 loc) · 1.33 KB
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
settings:
items:
output_file: example.items
things:
output_file: example.things
Structure_Demonstration:
template: example-template
mygroups:
- Group1
- Group2
light:
light_tags:
- light_tag1
- light_tag2
light_groups:
- Light_Group1
- Light_Group2
metadata:
- ga: Light
- alexa: Lighting
list_in_array:
- name: Item1
type: Switch
tags:
- item1_tag1
metadata:
- meta1: foo
- meta2: bar
- name: Item2
type: Dimmer
groups:
- Item2_Group
# A simple light switch
FrontPorch_Light:
template: tasmota-light
groups:
- gFrontPorch
power:
groups:
- gAllLights
ct: # empty entry to include the "ct" feature
# A 2-gang wall switch
LoungeRoom_Switch:
template: tasmota-switch
switches:
- name: LoungeRoom_Light1
label: Lounge Room TV Light
groups:
- gTVLights
metadata:
- Switch1="test"
- name: LoungeRoom_Light2
label: Lounge Room Play Light
# The template will include the following common properties on all switches
# in addition to the properties for each switch above
groups:
- gLoungeRoom
tags:
- Lightbulb # We assign this so it appears as a lightbulb in the semantic model
metadata:
- ga: Light
- alexa: Lighting