Tests for duco component

This commit is contained in:
Pieter Kokx 2024-12-21 22:29:16 +01:00
parent 376cfa12c2
commit 24bded90c1
No known key found for this signature in database
GPG Key ID: BD73BAB527D54451
7 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,42 @@
wifi:
ssid: MySSID
password: password1
uart:
- id: duco_uart
baud_rate: 57600
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
duco:
uart_id: duco_uart
discovery: {}
text_sensor:
- platform: duco
name: "Serial Number"
select:
- platform: duco
name: "Mode"
sensor:
- platform: duco
co2:
- address: 3
name: "CO2 Bedroom"
- address: 4
name: "CO2 Livingroom"
filter_remaining:
name: "Filter Time Remaining"
flow_level:
name: "Flow Level"
update_interval: "5s"
time_remaining:
name: "Mode Time Remaining"
update_interval: "5s"
number:
- platform: duco
name: "Comfort Temperature"
update_interval: "10s"

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
<<: !include common.yaml

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
<<: !include common.yaml

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
<<: !include common.yaml

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO17
rx_pin: GPIO16
<<: !include common.yaml

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
<<: !include common.yaml

View File

@ -0,0 +1,5 @@
substitutions:
tx_pin: GPIO4
rx_pin: GPIO5
<<: !include common.yaml