-
-
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 (G) (#6178)
- Loading branch information
Showing
63 changed files
with
2,142 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,25 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 4 | ||
rx_pin: 5 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 4 | ||
rx_pin: 5 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 17 | ||
rx_pin: 16 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 17 | ||
rx_pin: 16 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 4 | ||
rx_pin: 5 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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 @@ | ||
uart: | ||
- id: uart_gcja5 | ||
tx_pin: 4 | ||
rx_pin: 5 | ||
baud_rate: 9600 | ||
parity: EVEN | ||
|
||
sensor: | ||
- platform: gcja5 | ||
pm_1_0: | ||
name: "Particulate Matter <1.0µm Concentration" | ||
pm_2_5: | ||
name: "Particulate Matter <2.5µm Concentration" | ||
pm_10_0: | ||
name: "Particulate Matter <10.0µm Concentration" | ||
pmc_0_5: | ||
name: "PMC 0.5" | ||
pmc_1_0: | ||
name: "PMC 1.0" | ||
pmc_2_5: | ||
name: "PMC 2.5" | ||
pmc_5_0: | ||
name: "PMC 5.0" | ||
pmc_10_0: | ||
name: "PMC 10.0" |
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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,28 @@ | ||
esphome: | ||
on_boot: | ||
then: | ||
- globals.set: | ||
id: glob_int | ||
value: "10" | ||
|
||
globals: | ||
- id: glob_int | ||
type: int | ||
restore_value: true | ||
initial_value: "0" | ||
- id: glob_float | ||
type: float | ||
restore_value: true | ||
initial_value: "0.0f" | ||
- id: glob_bool | ||
type: bool | ||
restore_value: false | ||
initial_value: "true" | ||
- id: glob_string | ||
type: std::string | ||
restore_value: false | ||
# initial_value: "" | ||
- id: glob_bool_processed | ||
type: bool | ||
restore_value: false | ||
initial_value: "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,20 @@ | ||
i2c: | ||
- id: i2c_gp8403 | ||
scl: 5 | ||
sda: 4 | ||
|
||
gp8403: | ||
- id: gp8403_5v | ||
voltage: 5V | ||
- id: gp8403_10v | ||
voltage: 10V | ||
|
||
output: | ||
- platform: gp8403 | ||
id: gp8403_output_0 | ||
gp8403_id: gp8403_5v | ||
channel: 0 | ||
- platform: gp8403 | ||
gp8403_id: gp8403_10v | ||
id: gp8403_output_1 | ||
channel: 1 |
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,20 @@ | ||
i2c: | ||
- id: i2c_gp8403 | ||
scl: 5 | ||
sda: 4 | ||
|
||
gp8403: | ||
- id: gp8403_5v | ||
voltage: 5V | ||
- id: gp8403_10v | ||
voltage: 10V | ||
|
||
output: | ||
- platform: gp8403 | ||
id: gp8403_output_0 | ||
gp8403_id: gp8403_5v | ||
channel: 0 | ||
- platform: gp8403 | ||
gp8403_id: gp8403_10v | ||
id: gp8403_output_1 | ||
channel: 1 |
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,20 @@ | ||
i2c: | ||
- id: i2c_gp8403 | ||
scl: 16 | ||
sda: 17 | ||
|
||
gp8403: | ||
- id: gp8403_5v | ||
voltage: 5V | ||
- id: gp8403_10v | ||
voltage: 10V | ||
|
||
output: | ||
- platform: gp8403 | ||
id: gp8403_output_0 | ||
gp8403_id: gp8403_5v | ||
channel: 0 | ||
- platform: gp8403 | ||
gp8403_id: gp8403_10v | ||
id: gp8403_output_1 | ||
channel: 1 |
Oops, something went wrong.