-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some components to the new testing framework (P) (#6213)
- Loading branch information
Showing
173 changed files
with
5,245 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
light: | ||
- platform: esp32_rmt_led_strip | ||
id: part_leds | ||
default_transition_length: 500ms | ||
chipset: ws2812 | ||
rgb_order: GRB | ||
num_leds: 256 | ||
pin: 2 | ||
rmt_channel: 0 | ||
- platform: partition | ||
name: Partition Light | ||
segments: | ||
- id: part_leds | ||
from: 0 | ||
to: 0 | ||
- id: part_leds | ||
from: 1 | ||
to: 10 | ||
- id: part_leds | ||
from: 20 | ||
to: 25 | ||
- single_light_id: part_leds |
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 @@ | ||
light: | ||
- platform: esp32_rmt_led_strip | ||
id: part_leds | ||
default_transition_length: 500ms | ||
chipset: ws2812 | ||
rgb_order: GRB | ||
num_leds: 256 | ||
pin: 2 | ||
rmt_channel: 0 | ||
- platform: partition | ||
name: Partition Light | ||
segments: | ||
- id: part_leds | ||
from: 0 | ||
to: 0 | ||
- id: part_leds | ||
from: 1 | ||
to: 10 | ||
- id: part_leds | ||
from: 20 | ||
to: 25 | ||
- single_light_id: part_leds |
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 @@ | ||
light: | ||
- platform: esp32_rmt_led_strip | ||
id: part_leds | ||
default_transition_length: 500ms | ||
chipset: ws2812 | ||
rgb_order: GRB | ||
num_leds: 256 | ||
pin: 2 | ||
rmt_channel: 0 | ||
- platform: partition | ||
name: Partition Light | ||
segments: | ||
- id: part_leds | ||
from: 0 | ||
to: 0 | ||
- id: part_leds | ||
from: 1 | ||
to: 10 | ||
- id: part_leds | ||
from: 20 | ||
to: 25 | ||
- single_light_id: part_leds |
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 @@ | ||
light: | ||
- platform: fastled_clockless | ||
id: part_leds | ||
chipset: WS2812B | ||
pin: 2 | ||
num_leds: 256 | ||
rgb_order: GRB | ||
default_transition_length: 0s | ||
color_correct: [50%, 50%, 50%] | ||
- platform: partition | ||
name: Partition Light | ||
segments: | ||
- id: part_leds | ||
from: 0 | ||
to: 0 | ||
- id: part_leds | ||
from: 1 | ||
to: 10 | ||
- id: part_leds | ||
from: 20 | ||
to: 25 | ||
- single_light_id: part_leds |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 16 | ||
sda: 17 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 16 | ||
sda: 17 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,17 @@ | ||
i2c: | ||
- id: i2c_pca6416a | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca6416a: | ||
- id: pca6416a_hub | ||
address: 0x21 | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
name: PCA6416A Binary Sensor | ||
pin: | ||
pca6416a: pca6416a_hub | ||
number: 15 | ||
mode: INPUT | ||
inverted: true |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 16 | ||
sda: 17 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 16 | ||
sda: 17 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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,26 @@ | ||
i2c: | ||
- id: i2c_pca9554 | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca9554: | ||
- id: pca9554_hub | ||
pin_count: 8 | ||
address: 0x3F | ||
|
||
binary_sensor: | ||
- platform: gpio | ||
id: pca9554_input | ||
name: PCA9554 Binary Sensor | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 1 | ||
mode: INPUT | ||
inverted: true | ||
- platform: gpio | ||
id: pca9554_output | ||
pin: | ||
pca9554: pca9554_hub | ||
number: 0 | ||
mode: OUTPUT | ||
inverted: false |
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 @@ | ||
i2c: | ||
- id: i2c_pca9685 | ||
scl: 5 | ||
sda: 4 | ||
|
||
pca9685: | ||
frequency: 500 | ||
address: 0x0 | ||
|
||
output: | ||
- platform: pca9685 | ||
id: pca_0 | ||
channel: 0 | ||
- platform: pca9685 | ||
id: pca_1 | ||
channel: 1 | ||
- platform: pca9685 | ||
id: pca_2 | ||
channel: 2 | ||
- platform: pca9685 | ||
id: pca_3 | ||
channel: 3 | ||
- platform: pca9685 | ||
id: pca_4 | ||
channel: 4 | ||
- platform: pca9685 | ||
id: pca_5 | ||
channel: 5 | ||
- platform: pca9685 | ||
id: pca_6 | ||
channel: 6 | ||
- platform: pca9685 | ||
id: pca_7 | ||
channel: 7 |
Oops, something went wrong.