1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[CI] Consolidate some tests (S) (#8206)

This commit is contained in:
Keith Burzinski
2025-02-09 15:43:10 -06:00
committed by GitHub
parent da3d007d7b
commit 353924257a
356 changed files with 2598 additions and 5745 deletions

View File

@@ -0,0 +1,31 @@
uart:
- id: uart_sml
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
baud_rate: 9600
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 17
rx_pin: 16
baud_rate: 9600
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 4
rx_pin: 5
baud_rate: 9600
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 4
rx_pin: 5
baud_rate: 9600
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 17
rx_pin: 16
baud_rate: 9600
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 4
rx_pin: 5
baud_rate: 9600
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml

View File

@@ -1,31 +1,5 @@
uart:
- id: uart_sml
tx_pin: 4
rx_pin: 5
baud_rate: 9600
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
sml:
id: mysml
on_data:
- logger.log: "SML on_data"
sensor:
- platform: sml
name: Total energy
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "1-0:1.8.0"
unit_of_measurement: kWh
accuracy_decimals: 1
device_class: energy
state_class: total_increasing
filters:
- multiply: 0.0001
text_sensor:
- platform: sml
name: Manufacturer
sml_id: mysml
server_id: 0123456789abcdef
obis_code: "129-129:199.130.3"
format: text
<<: !include common.yaml