1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00
This commit is contained in:
Otto Winter 2018-10-17 21:12:19 +02:00
parent e6072a452f
commit a383c2627a
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -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"};