24 lines
604 B
Plaintext
24 lines
604 B
Plaintext
# This example controls a single momentary switch. When the webhook is
|
|
# written, it will return 1 until it is read, after which it will return
|
|
# 0 again.
|
|
- name: Momentary Switch
|
|
path: Path_0
|
|
num_switches: 1
|
|
momentary_switches:
|
|
- 0
|
|
|
|
# This is three latched switches. They will always report their last
|
|
# written value
|
|
- name: Three Latched Switches
|
|
path: Path_1
|
|
num_switches: 3
|
|
momentary_switches:
|
|
|
|
# The first and 3rd data point on this webhook are momentary switches. The other 3 are latched.
|
|
- name: Mix of Types
|
|
path: Path_2
|
|
num_switches: 5
|
|
momentary_switches:
|
|
- 0
|
|
- 2
|