From a1680e9197dd8040a95d21e83132e42b9683647c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Paw=C5=82owski?= Date: Sun, 23 Nov 2025 20:11:51 +0000 Subject: [PATCH] fix: update lambda return type for hostname text sensor to std::string. compatible with esphome 2025.11 --- boneio-dimmer_2rgbw-v0_3.yaml | 2 +- boneio-dimmer_4cct-v0_3.yaml | 2 +- boneio-dimmer_8ch-v0_3.yaml | 2 +- boneio-dimmer_8ch-v0_4.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boneio-dimmer_2rgbw-v0_3.yaml b/boneio-dimmer_2rgbw-v0_3.yaml index 712037a..f76685f 100644 --- a/boneio-dimmer_2rgbw-v0_3.yaml +++ b/boneio-dimmer_2rgbw-v0_3.yaml @@ -76,7 +76,7 @@ text_sensor: id: hostname entity_category: diagnostic lambda: |- - return id(eth).get_use_address(); + return std::string(id(eth).get_use_address()); update_interval: 5min binary_sensor: diff --git a/boneio-dimmer_4cct-v0_3.yaml b/boneio-dimmer_4cct-v0_3.yaml index 9091f0d..ade97c4 100644 --- a/boneio-dimmer_4cct-v0_3.yaml +++ b/boneio-dimmer_4cct-v0_3.yaml @@ -76,7 +76,7 @@ text_sensor: id: hostname entity_category: diagnostic lambda: |- - return id(eth).get_use_address(); + return std::string(id(eth).get_use_address()); update_interval: 5min binary_sensor: diff --git a/boneio-dimmer_8ch-v0_3.yaml b/boneio-dimmer_8ch-v0_3.yaml index 2633379..df60a4a 100644 --- a/boneio-dimmer_8ch-v0_3.yaml +++ b/boneio-dimmer_8ch-v0_3.yaml @@ -76,7 +76,7 @@ text_sensor: id: hostname entity_category: diagnostic lambda: |- - return id(eth).get_use_address(); + return std::string(id(eth).get_use_address()); update_interval: 5min binary_sensor: diff --git a/boneio-dimmer_8ch-v0_4.yaml b/boneio-dimmer_8ch-v0_4.yaml index f0d5f5f..ee17ae2 100644 --- a/boneio-dimmer_8ch-v0_4.yaml +++ b/boneio-dimmer_8ch-v0_4.yaml @@ -137,7 +137,7 @@ text_sensor: id: hostname entity_category: diagnostic lambda: |- - return id(eth).get_use_address(); + return std::string(id(eth).get_use_address()); update_interval: 5min binary_sensor: