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: