From 32e3519eff2e5685b6b48303c3a1f18d97ce03ad Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 26 Apr 2023 15:50:08 +0200 Subject: [PATCH] ESP Home 2023.4 contains uart changes. --- README.md | 4 +++- tests/test.esp32_ard.notime.yaml | 2 +- tests/test.esp32_ard.vv_log.yaml | 2 +- tests/test.esp32_ard.yaml | 2 +- tests/test.esp32_idf.yaml | 2 +- tests/test.rp2040.yaml | 2 +- truma.yaml | 13 ++++++++----- 7 files changed, 16 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8c03edb..46cddd4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ esphome: external_components: - source: github://Fabian-Schmidt/esphome-truma_inetbox + components: ["truma_inetbox"] esp32: board: mhetesp32devkit @@ -54,12 +55,13 @@ sensor: This project contains the following ESPHome components: -- `uart` will overwrite the default uart component to expose internal fields. - `truma_inetbox` has the following settings: - `cs_pin` (optional) if you connect the pin of your lin driver chip. - `fault_pin` (optional) if you connect the pin of your lin driver chip. - `on_heater_message` (optional) [ESPHome Trigger](https://esphome.io/guides/automations.html) when a message from CP Plus is recieved. +Requires ESP Home 2023.4 or higher. + ### Binary sensor Binary sensors are read-only. diff --git a/tests/test.esp32_ard.notime.yaml b/tests/test.esp32_ard.notime.yaml index 23450e4..dcf15dd 100644 --- a/tests/test.esp32_ard.notime.yaml +++ b/tests/test.esp32_ard.notime.yaml @@ -5,7 +5,7 @@ external_components: - source: type: local path: ../components - components: ["truma_inetbox", "uart"] + components: ["truma_inetbox"] esp32: board: esp32dev diff --git a/tests/test.esp32_ard.vv_log.yaml b/tests/test.esp32_ard.vv_log.yaml index af485d1..94e0c19 100644 --- a/tests/test.esp32_ard.vv_log.yaml +++ b/tests/test.esp32_ard.vv_log.yaml @@ -5,7 +5,7 @@ external_components: - source: type: local path: ../components - components: ["truma_inetbox", "uart"] + components: ["truma_inetbox"] esp32: board: esp32dev diff --git a/tests/test.esp32_ard.yaml b/tests/test.esp32_ard.yaml index 177db55..236fb8a 100644 --- a/tests/test.esp32_ard.yaml +++ b/tests/test.esp32_ard.yaml @@ -10,7 +10,7 @@ external_components: - source: type: local path: ../components - components: ["truma_inetbox", "uart"] + components: ["truma_inetbox"] esp32: board: esp32dev diff --git a/tests/test.esp32_idf.yaml b/tests/test.esp32_idf.yaml index 6945576..6dba24f 100644 --- a/tests/test.esp32_idf.yaml +++ b/tests/test.esp32_idf.yaml @@ -10,7 +10,7 @@ external_components: - source: type: local path: ../components - components: ["truma_inetbox", "uart"] + components: ["truma_inetbox"] esp32: board: esp32dev diff --git a/tests/test.rp2040.yaml b/tests/test.rp2040.yaml index 7902ee2..452e996 100644 --- a/tests/test.rp2040.yaml +++ b/tests/test.rp2040.yaml @@ -10,7 +10,7 @@ external_components: - source: type: local path: ../components - components: ["truma_inetbox", "uart"] + components: ["truma_inetbox"] rp2040: board: rpipicow diff --git a/truma.yaml b/truma.yaml index 0ccbaeb..1b072f9 100644 --- a/truma.yaml +++ b/truma.yaml @@ -8,13 +8,13 @@ esphome: external_components: - source: github://Fabian-Schmidt/esphome-truma_inetbox - #- source: - # type: local - # path: ./components - # components: ["truma_inetbox", "uart"] + # - source: + # type: local + # path: ./components + components: ["truma_inetbox"] esp32: - board: mhetesp32devkit + board: esp32dev framework: type: arduino @@ -111,6 +111,9 @@ number: - platform: truma_inetbox name: "electric power level" type: ELECTRIC_POWER_LEVEL + - platform: truma_inetbox + name: "Aircon Temperature" + type: AIRCON_MANUAL_TEMPERATURE sensor: - platform: truma_inetbox