mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Fix test
This commit is contained in:
parent
e6072a452f
commit
a383c2627a
@ -111,7 +111,7 @@ text_sensor:
|
|||||||
id: version_sensor
|
id: version_sensor
|
||||||
on_value:
|
on_value:
|
||||||
lambda: |-
|
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
|
- platform: mqtt_subscribe
|
||||||
name: "MQTT Subscribe Text"
|
name: "MQTT Subscribe Text"
|
||||||
topic: "the/topic"
|
topic: "the/topic"
|
||||||
@ -119,4 +119,4 @@ text_sensor:
|
|||||||
- platform: template
|
- platform: template
|
||||||
name: "Template Text Sensor"
|
name: "Template Text Sensor"
|
||||||
lambda: |-
|
lambda: |-
|
||||||
return "Hello World";
|
return {"Hello World"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user