-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update schemas to use inclusive and exclusive
- Loading branch information
Showing
11 changed files
with
194 additions
and
101 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
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "two or more values in the same group of exclusion 'color' @ .*" | ||
friendly_name: "Office" | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
state_update: "expire 60" | ||
passive_state_addresses: ["8/8/8"] | ||
brightness: | ||
address: "2/5/5" | ||
state_address: "2/5/6" | ||
state_update: "expire 60" | ||
passive_state_addresses: ["8/8/8"] | ||
rgbw: | ||
address: "2/4/5" | ||
state_address: "2/4/6" | ||
color: | ||
address: "2/4/5" | ||
state_address: "2/4/6" | ||
color_temperature: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
state_update: "expire 60" | ||
mode: absolute | ||
min_kelvin: 2550 | ||
max_kelvin: 6200 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: "office" | ||
friendly_name: "Office" | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
state_update: "expire 60" | ||
passive_state_addresses: ["8/8/8"] | ||
color: | ||
address: "2/4/5" | ||
state_address: "2/4/6" |
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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "office" | ||
friendly_name: "Office" | ||
# dummy for now | ||
switch: | ||
address: "2/1/5" | ||
individual_colors: | ||
white: | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
red: | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
green: | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
blue: | ||
switch: | ||
address: "2/1/5" | ||
state_address: "2/4/5" | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" |
22 changes: 22 additions & 0 deletions
22
test/config_tests/resources/light/valid_rgbw_no_switch.yaml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "office" | ||
friendly_name: "Office" | ||
# dummy for now | ||
switch: | ||
address: "2/1/5" | ||
individual_colors: | ||
white: | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
red: | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
green: | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" | ||
blue: | ||
brightness: | ||
address: "2/5/7" | ||
state_address: "2/5/8" |
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
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
Oops, something went wrong.