mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 06:38:17 +00:00
Fix test
This commit is contained in:
parent
e6072a452f
commit
a383c2627a
@ -111,7 +111,7 @@ text_sensor:
|
||||
id: version_sensor
|
||||
on_value:
|
||||
lambda: |-
|
||||
ESP_LOGD("main", "The value is %s=%s", it.c_str(), id(version_sensor).value.c_str());
|
||||
ESP_LOGD("main", "The value is %s=%s", x.c_str(), id(version_sensor).value.c_str());
|
||||
- platform: mqtt_subscribe
|
||||
name: "MQTT Subscribe Text"
|
||||
topic: "the/topic"
|
||||
@ -119,4 +119,4 @@ text_sensor:
|
||||
- platform: template
|
||||
name: "Template Text Sensor"
|
||||
lambda: |-
|
||||
return "Hello World";
|
||||
return {"Hello World"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user