forked from michalmo/zha-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
script_configure_Lixee_reporting.yaml
93 lines (93 loc) · 2.41 KB
/
script_configure_Lixee_reporting.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
alias: Configure Lixee Reporting to 1Wh change and max 5 minutes
sequence:
- variables:
ieee: "{{(device_attr(device, 'identifiers')|list)[0][1]}}"
default_tries: 3
- service: zha_toolkit.conf_report
data:
ieee: "{{ ieee }}"
cluster: 1794
attribute: 0
min_interval: 1
max_interval: 300
tries: "{{ default_tries}}"
reportable_change: 1
event_done: zha_done
- service: zha_toolkit.conf_report_read
alias: read report configuration (allows verification)
data:
ieee: "{{ ieee }}"
cluster: 1794
attribute: 0
tries: "{{ default_tries}}"
event_done: zha_done
- service: zha_toolkit.conf_report
data:
ieee: "{{ ieee }}"
cluster: 1794
attribute: 0
min_interval: 1
max_interval: 300
tries: "{{ default_tries}}"
reportable_change: 1
event_done: zha_done
- service: zha_toolkit.conf_report_read
alias: read report configuration (allows verification)
data:
ieee: "{{ ieee }}"
endpoint: 1
cluster: 1794
attribute: 0
tries: "{{ default_tries}}"
event_done: zha_done
- service: zha_toolkit.conf_report
alias: Active power report configuration
data:
ieee: "{{ ieee }}"
endpoint: 1
cluster: 2820
attribute: 1291
min_interval: 1
max_interval: 300
tries: "{{ default_tries}}"
reportable_change: 1
event_done: zha_done
- service: zha_toolkit.conf_report_read
alias: Active power report configuration read back
data:
ieee: "{{ ieee }}"
cluster: 2820
attribute: 1291
tries: "{{ default_tries}}"
event_done: zha_done
- service: zha_toolkit.conf_report
alias: Mains voltage report configuration
data:
ieee: "{{ ieee }}"
cluster: 1
attribute: 0
min_interval: 1
max_interval: 3900
tries: "{{ default_tries}}"
reportable_change: 1
event_done: zha_done
- service: zha_toolkit.conf_report_read
alias: Mains voltage report configuration read back
data:
ieee: "{{ ieee }}"
cluster: 1
attribute: 0
tries: "{{ default_tries}}"
event_done: zha_done
fields:
device:
name: Lixee
description: Lixee ZLinky device to configure
required: true
selector:
device:
manufacturer: LiXee
model: ZLinky_TIC
entity:
integration: zha
mode: single