mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
Fix warning in test1.yaml (#3228)
This commit is contained in:
parent
0c1520dd9c
commit
ae57ad0c81
1 changed files with 9 additions and 9 deletions
|
@ -2514,7 +2514,7 @@ text_sensor:
|
||||||
on_notify:
|
on_notify:
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
ESP_LOGD("green_btn", "Location changed: %s", x);
|
ESP_LOGD("green_btn", "Location changed: %s", x.c_str());
|
||||||
- platform: mqtt_subscribe
|
- platform: mqtt_subscribe
|
||||||
name: "MQTT Subscribe Text"
|
name: "MQTT Subscribe Text"
|
||||||
topic: "the/topic"
|
topic: "the/topic"
|
||||||
|
@ -2582,7 +2582,7 @@ canbus:
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
std::string b(x.begin(), x.end());
|
std::string b(x.begin(), x.end());
|
||||||
ESP_LOGD("canid 500", "%s", &b[0] );
|
ESP_LOGD("canid 500", "%s", b.c_str());
|
||||||
- can_id: 23
|
- can_id: 23
|
||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
|
@ -2620,7 +2620,7 @@ canbus:
|
||||||
then:
|
then:
|
||||||
- lambda: |-
|
- lambda: |-
|
||||||
std::string b(x.begin(), x.end());
|
std::string b(x.begin(), x.end());
|
||||||
ESP_LOGD("canid 500", "%s", &b[0] );
|
ESP_LOGD("canid 500", "%s", b.c_str() );
|
||||||
- can_id: 23
|
- can_id: 23
|
||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
|
|
Loading…
Reference in a new issue