1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Add some components to the new testing framework (P) (#6213)

This commit is contained in:
Keith Burzinski
2024-04-22 22:38:51 -05:00
committed by GitHub
parent 8eeb28d797
commit 057f473a4a
173 changed files with 5245 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
uart:
- id: uart_pylontech0
tx_pin: 17
rx_pin: 16
baud_rate: 115200
pylontech:
- id: pylontech0
- id: pylontech1
sensor:
- platform: pylontech
pylontech_id: pylontech0
battery: 1
voltage:
id: pyl01_voltage
current:
id: pyl01_current
coulomb:
id: pyl01_soc
mos_temperature:
id: pyl01_mos_temperature
- platform: pylontech
pylontech_id: pylontech1
battery: 1
voltage:
id: pyl13_voltage
temperature_low:
id: pyl13_temperature_low
temperature_high:
id: pyl13_temperature_high
voltage_low:
id: pyl13_voltage_low
voltage_high:
id: pyl13_voltage_high
text_sensor:
- platform: pylontech
pylontech_id: pylontech0
battery: 1
base_state:
id: pyl0_base_state
voltage_state:
id: pyl0_voltage_state
current_state:
id: pyl0_current_state
temperature_state:
id: pyl0_temperature_state