1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00

Add tests

This commit is contained in:
Otto Winter 2018-10-13 23:12:15 +02:00
parent d9fd3331f9
commit 531504375a
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -103,3 +103,16 @@ esp32_ble_beacon:
status_led:
pin: GPIO2
text_sensor:
- platform: version
name: "Esphomelib Version"
icon: mdi:icon
id: version_sensor
on_value:
lambda: |-
ESP_LOGD("main", "The value is %s=%s", it.c_str(), id(version_sensor).value.c_str());
- platform: mqtt_subscribe
name: "MQTT Subscribe Text"
topic: "the/topic"
qos: 2