1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 22:53:59 +00:00

[online_image] Bugfix: Use std::string instead of const char * (#7556)

This commit is contained in:
Clyde Stubbs
2024-10-08 03:47:07 +11:00
committed by GitHub
parent 1d91601094
commit b8630363e0
4 changed files with 12 additions and 5 deletions

View File

@@ -34,4 +34,12 @@ time:
- online_image.set_url:
id: online_rgba_image
url: http://www.example.org/example.png
- online_image.set_url:
id: online_rgba_image
url: !lambda |-
return "http://www.example.org/example.png";
- online_image.set_url:
id: online_rgba_image
url: !lambda |-
return str_sprintf("http://homeassistant.local:8123");