Fix warning in test1.yaml (#3228)

This commit is contained in:
Otto Winter 2022-02-19 14:42:54 +01:00 committed by GitHub
parent 0c1520dd9c
commit ae57ad0c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1097,8 +1097,8 @@ sensor:
temperature: temperature:
name: Max9611 Temp name: Max9611 Temp
update_interval: 1s update_interval: 1s
esp32_touch: esp32_touch:
setup_mode: False setup_mode: False
iir_filter: 10ms iir_filter: 10ms
@ -1317,18 +1317,18 @@ binary_sensor:
- platform: analog_threshold - platform: analog_threshold
name: Analog Trheshold 1 name: Analog Trheshold 1
sensor_id: template_sensor sensor_id: template_sensor
threshold: threshold:
upper: 110 upper: 110
lower: 90 lower: 90
filters: filters:
- delayed_on: 0s - delayed_on: 0s
- delayed_off: 10s - delayed_off: 10s
- platform: analog_threshold - platform: analog_threshold
name: Analog Trheshold 2 name: Analog Trheshold 2
sensor_id: template_sensor sensor_id: template_sensor
threshold: 100 threshold: 100
filters: filters:
- invert: - invert:
pca9685: pca9685:
frequency: 500 frequency: 500
@ -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: