-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update simple example plugin for v3 (#352)
* update simple example to use new sdk * update device configs
- Loading branch information
1 parent
6e758cc
commit 7823e36
Showing
3 changed files
with
75 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
version: 3 | ||
locations: | ||
- name: unknown | ||
rack: | ||
name: unknown | ||
board: | ||
name: unknown | ||
devices: | ||
- name: example.led | ||
- type: led | ||
handler: state | ||
metadata: | ||
author: vaporio | ||
outputs: | ||
- type: simple.led | ||
model: sample-led | ||
tags: | ||
- foobar/xyz:led | ||
instances: | ||
- info: Chamber LED 1 | ||
location: unknown | ||
- info: LED 1 | ||
tags: | ||
- zone:1 | ||
data: | ||
id: 5 | ||
- info: Chamber LED 2 | ||
location: unknown | ||
data: | ||
id: 6 | ||
id: 1 | ||
- info: LED 2 | ||
tags: | ||
- zone:2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
version: 3 | ||
locations: | ||
- name: unknown | ||
rack: | ||
name: unknown | ||
board: | ||
name: unknown | ||
devices: | ||
- name: example.temperature | ||
- type: temperature | ||
handler: temperature | ||
metadata: | ||
author: vaporio | ||
outputs: | ||
- type: simple.temperature | ||
- model: sample-temperature | ||
tags: | ||
- foobar/xyz:temp | ||
instances: | ||
- info: CEC Temperature 1 | ||
location: unknown | ||
- info: Temperature 1 | ||
tags: | ||
- zone:1 | ||
data: | ||
id: 1 | ||
- info: CEC Temperature 2 | ||
location: unknown | ||
- info: Temperature 2 | ||
tags: | ||
- zone:2 | ||
data: | ||
id: 2 | ||
- info: CEC Temperature 3 | ||
location: unknown | ||
- info: Temperature 3 | ||
tags: | ||
- zone:3 | ||
data: | ||
id: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters