Add some components to the new testing framework (S part 1) (#6224)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Keith Burzinski 2024-04-23 04:49:15 -05:00 committed by GitHub
parent ed381b45eb
commit 7e8ed5c391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
181 changed files with 3589 additions and 0 deletions

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,13 @@
wifi:
ssid: MySSID
password: password1
ota:
button:
- platform: safe_mode
name: Safe Mode Button
switch:
- platform: safe_mode
name: Safe Mode Switch

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 5
sda: 4
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 5
sda: 4
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 16
sda: 17
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 16
sda: 17
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 5
sda: 4
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd30
scl: 5
sda: 4
sensor:
- platform: scd30
co2:
name: SCD30 CO2
temperature:
id: scd30_temperature
name: SCD30 Temperature
humidity:
name: SCD30 Humidity
address: 0x61
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 5
sda: 4
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 5
sda: 4
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 16
sda: 17
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 16
sda: 17
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 5
sda: 4
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,20 @@
i2c:
- id: i2c_scd4x
scl: 5
sda: 4
sensor:
- platform: scd4x
id: scd40
co2:
name: SCD4X CO2
temperature:
id: scd4x_temperature
name: SCD4X Temperature
humidity:
name: SCD4X Humidity
automatic_self_calibration: true
altitude_compensation: 10m
ambient_pressure_compensation: 961mBar
temperature_offset: 4.2C
update_interval: 15s

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD("main", (prefix + " Hello World!" + to_string(param2) + " " + to_string(param3)).c_str());'

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD("main", (prefix + " Hello World!" + to_string(param2) + " " + to_string(param3)).c_str());'

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD("main", (prefix + " Hello World!" + to_string(param2) + " " + to_string(param3)).c_str());'

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD("main", (prefix + " Hello World!" + to_string(param2) + " " + to_string(param3)).c_str());'

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD(prefix.c_str(), "Hello World! %i %i", param2, param3);'

View file

@ -0,0 +1,26 @@
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_with_params
parameters:
prefix: string
param2: int
param3: bool
then:
- lambda: 'ESP_LOGD("main", (prefix + " Hello World!" + to_string(param2) + " " + to_string(param3)).c_str());'

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,23 @@
uart:
- id: uart_sdm_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: sdm_meter
phase_a:
current:
name: Phase A Current
voltage:
name: Phase A Voltage
active_power:
name: Phase A Power
power_factor:
name: Phase A Power Factor
apparent_power:
name: Phase A Apparent Power
reactive_power:
name: Phase A Reactive Power
phase_angle:
name: Phase A Phase Angle

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 5
sda: 4
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 5
sda: 4
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 16
sda: 17
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 16
sda: 17
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 5
sda: 4
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,11 @@
i2c:
- id: i2c_sdp3x
scl: 5
sda: 4
sensor:
- platform: sdp3x
id: filter_pressure
name: HVAC Filter Pressure drop
accuracy_decimals: 3
update_interval: 5s

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 4
rx_pin: 5
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 4
rx_pin: 5
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 17
rx_pin: 16
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 17
rx_pin: 16
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 4
rx_pin: 5
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,14 @@
uart:
- id: uart_sdm_sds011
tx_pin: 4
rx_pin: 5
baud_rate: 115200
sensor:
- platform: sds011
pm_2_5:
name: SDS011 PM2.5
pm_10_0:
name: SDS011 PM10.0
rx_only: false
update_interval: 5min

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,45 @@
uart:
- id: uart_selec_meter
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy
import_active_energy:
name: SelecEM2M Import Active Energy
export_active_energy:
name: SelecEM2M Export Active Energy
total_reactive_energy:
name: SelecEM2M Total Reactive Energy
import_reactive_energy:
name: SelecEM2M Import Reactive Energy
export_reactive_energy:
name: SelecEM2M Export Reactive Energy
apparent_energy:
name: SelecEM2M Apparent Energy
active_power:
name: SelecEM2M Active Power
reactive_power:
name: SelecEM2M Reactive Power
apparent_power:
name: SelecEM2M Apparent Power
voltage:
name: SelecEM2M Voltage
current:
name: SelecEM2M Current
power_factor:
name: SelecEM2M Power Factor
frequency:
name: SelecEM2M Frequency
maximum_demand_active_power:
name: SelecEM2M Maximum Demand Active Power
disabled_by_default: true
maximum_demand_reactive_power:
name: SelecEM2M Maximum Demand Reactive Power
disabled_by_default: true
maximum_demand_apparent_power:
name: SelecEM2M Maximum Demand Apparent Power
disabled_by_default: true

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 5
sda: 4
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 5
sda: 4
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 16
sda: 17
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 16
sda: 17
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 5
sda: 4
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,10 @@
i2c:
- id: i2c_sen0321
scl: 5
sda: 4
sensor:
- platform: sen0321
name: Workshop Ozone Sensor
id: sen0321_ozone
update_interval: 10s

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 5
sda: 4
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 5
sda: 4
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 16
sda: 17
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 16
sda: 17
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 5
sda: 4
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,9 @@
i2c:
- id: i2c_sen21231
scl: 5
sda: 4
sensor:
- platform: sen21231
id: sen21231_sensor1
name: Person Sensor

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 5
sda: 4
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 5
sda: 4
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 16
sda: 17
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 16
sda: 17
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 5
sda: 4
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,49 @@
i2c:
- id: i2c_sen5x
scl: 5
sda: 4
sensor:
- platform: sen5x
id: sen54
temperature:
name: Temperature
accuracy_decimals: 1
humidity:
name: Humidity
accuracy_decimals: 0
pm_1_0:
name: PM <1µm Weight concentration
id: pm_1_0
accuracy_decimals: 1
pm_2_5:
name: PM <2.5µm Weight concentration
id: pm_2_5
accuracy_decimals: 1
pm_4_0:
name: PM <4µm Weight concentration
id: pm_4_0
accuracy_decimals: 1
pm_10_0:
name: PM <10µm Weight concentration
id: pm_10_0
accuracy_decimals: 1
nox:
name: NOx
voc:
name: VOC
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
temperature_compensation:
offset: 0
normalized_offset_slope: 0
time_constant: 0
auto_cleaning_interval: 604800s
acceleration_mode: low
store_baseline: true
address: 0x69

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_senseair
tx_pin: 4
rx_pin: 5
baud_rate: 9600
sensor:
- platform: senseair
id: senseair0
co2:
name: SenseAir CO2 Value
on_value:
then:
- senseair.background_calibration: senseair0
- senseair.background_calibration_result: senseair0
- senseair.abc_get_period: senseair0
- senseair.abc_enable: senseair0
- senseair.abc_disable: senseair0
update_interval: 15s

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: ledc
id: servo_output_1
pin: 1
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: ledc
id: servo_output_1
pin: 1
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: ledc
id: servo_output_1
pin: 12
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: ledc
id: servo_output_1
pin: 12
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: esp8266_pwm
id: servo_output_1
pin: 12
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,19 @@
esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: rp2040_pwm
id: servo_output_1
pin: 12
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 5
sda: 4
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 5
sda: 4
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 16
sda: 17
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 16
sda: 17
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 5
sda: 4
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sfa30
scl: 5
sda: 4
sensor:
- platform: sfa30
formaldehyde:
name: "SFA30 formaldehyde"
temperature:
name: "SFA30 temperature"
humidity:
name: "SFA30 humidity"
address: 0x5D
update_interval: 30s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 5
sda: 4
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 5
sda: 4
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 16
sda: 17
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 16
sda: 17
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 5
sda: 4
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,15 @@
i2c:
- id: i2c_sgp30
scl: 5
sda: 4
sensor:
- platform: sgp30
eco2:
name: Workshop eCO2
accuracy_decimals: 1
tvoc:
name: Workshop TVOC
accuracy_decimals: 1
address: 0x58
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 5
sda: 4
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 5
sda: 4
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 16
sda: 17
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 16
sda: 17
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 5
sda: 4
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,27 @@
i2c:
- id: i2c_sgp4x
scl: 5
sda: 4
sensor:
- platform: sgp4x
voc:
name: VOC Index
id: sgp40_voc_index
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
nox:
name: NOx
algorithm_tuning:
index_offset: 100
learning_time_offset_hours: 12
learning_time_gain_hours: 12
gating_max_duration_minutes: 180
std_initial: 50
gain_factor: 230
update_interval: 5s

View file

@ -0,0 +1,19 @@
uart:
- id: uart_shelly_dimmer
tx_pin: 4
rx_pin: 5
baud_rate: 9600
light:
- platform: shelly_dimmer
name: Shelly Dimmer Light
power:
name: Shelly Dimmer Power
voltage:
name: Shelly Dimmer Voltage
current:
name: Shelly Dimmer Current
max_brightness: 500
firmware: "51.6"
nrst_pin: 13
boot0_pin: 14

View file

@ -0,0 +1,13 @@
i2c:
- id: i2c_sht3xd
scl: 5
sda: 4
sensor:
- platform: sht3xd
temperature:
name: SHT3XD Temperature
humidity:
name: SHT3XD Humidity
address: 0x44
update_interval: 15s

View file

@ -0,0 +1,13 @@
i2c:
- id: i2c_sht3xd
scl: 5
sda: 4
sensor:
- platform: sht3xd
temperature:
name: SHT3XD Temperature
humidity:
name: SHT3XD Humidity
address: 0x44
update_interval: 15s

View file

@ -0,0 +1,13 @@
i2c:
- id: i2c_sht3xd
scl: 16
sda: 17
sensor:
- platform: sht3xd
temperature:
name: SHT3XD Temperature
humidity:
name: SHT3XD Humidity
address: 0x44
update_interval: 15s

Some files were not shown because too many files have changed in this diff Show more