From 8318f491e14c1b7451933f20922e8dec2715da5a Mon Sep 17 00:00:00 2001 From: wrfz <77174685+wrfz@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:30:16 +0100 Subject: [PATCH] Add energy_saving_mode sensor --- components/daikin_rotex_can/__init__.py | 10 +++++++++- examples/full.yaml | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/daikin_rotex_can/__init__.py b/components/daikin_rotex_can/__init__.py index 61b611b..1e4a7df 100644 --- a/components/daikin_rotex_can/__init__.py +++ b/components/daikin_rotex_can/__init__.py @@ -1011,7 +1011,15 @@ "data_size": 1, "handle_lambda": """ return data[6] == 0x05; - """, + """ + }, + { + "type": "binary_sensor", + "name": "energy_saving_mode" , + "icon": "mdi:pump", + "command": "31 00 FA 01 76 00 00", + "data_offset": 6, + "data_size": 1 }, { "type": "select", diff --git a/examples/full.yaml b/examples/full.yaml index 9b584cf..b405e03 100644 --- a/examples/full.yaml +++ b/examples/full.yaml @@ -173,6 +173,10 @@ daikin_rotex_can: #SwNr Regler #SwNr RTXRT +# ESP custom sensors + energy_saving_mode: + name: ES mode + # Betriebsart operating_mode: name: Betriebsmodus