From a383c2627a557ff38213f78737f96d61a3f65bc8 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 17 Oct 2018 21:12:19 +0200 Subject: [PATCH] Fix test --- tests/test2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test2.yaml b/tests/test2.yaml index b891206871..99b1215cef 100644 --- a/tests/test2.yaml +++ b/tests/test2.yaml @@ -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"};