mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Added Kamstrup Multical 40x component (#4200)
Co-authored-by: Chris Feenstra <chris@cfeenstra.nl> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: cfeenstra1024 <git@cfeenstra.nl>
This commit is contained in:
25
tests/components/kamstrup_kmp/common.yaml
Normal file
25
tests/components/kamstrup_kmp/common.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
uart:
|
||||
tx_pin: ${uart_tx_pin}
|
||||
rx_pin: ${uart_rx_pin}
|
||||
baud_rate: 1200
|
||||
stop_bits: 2
|
||||
|
||||
sensor:
|
||||
- platform: kamstrup_kmp
|
||||
heat_energy:
|
||||
name: Heat Energy
|
||||
power:
|
||||
name: Power
|
||||
temp1:
|
||||
name: Temperature 1
|
||||
temp2:
|
||||
name: Temperature 2
|
||||
temp_diff:
|
||||
name: Temperature Difference
|
||||
flow:
|
||||
name: Flow
|
||||
volume:
|
||||
name: Volume
|
||||
custom:
|
||||
- name: Custom 1
|
||||
command: 0x1234
|
||||
5
tests/components/kamstrup_kmp/test.esp32-idf.yaml
Normal file
5
tests/components/kamstrup_kmp/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
uart_tx_pin: GPIO1
|
||||
uart_rx_pin: GPIO3
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/kamstrup_kmp/test.esp32.yaml
Normal file
5
tests/components/kamstrup_kmp/test.esp32.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
uart_tx_pin: GPIO1
|
||||
uart_rx_pin: GPIO3
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/kamstrup_kmp/test.esp8266.yaml
Normal file
5
tests/components/kamstrup_kmp/test.esp8266.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
uart_tx_pin: GPIO1
|
||||
uart_rx_pin: GPIO3
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user