2021-06-08 01:56:21 +02:00
|
|
|
esphome:
|
|
|
|
name: test5
|
|
|
|
platform: ESP32
|
|
|
|
board: nodemcu-32s
|
|
|
|
build_path: build/test5
|
2021-06-09 03:04:00 +02:00
|
|
|
project:
|
|
|
|
name: esphome.test5_project
|
|
|
|
version: "1.0.0"
|
2021-06-08 01:56:21 +02:00
|
|
|
|
|
|
|
wifi:
|
|
|
|
networks:
|
|
|
|
- ssid: 'MySSID'
|
|
|
|
password: 'password1'
|
|
|
|
|
|
|
|
api:
|
|
|
|
|
|
|
|
ota:
|
|
|
|
|
|
|
|
logger:
|
|
|
|
|
|
|
|
binary_sensor:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO0
|
|
|
|
id: io0_button
|
|
|
|
|
|
|
|
output:
|
|
|
|
- platform: gpio
|
|
|
|
pin: GPIO2
|
|
|
|
id: built_in_led
|
|
|
|
|
|
|
|
esp32_ble:
|
2021-06-11 22:31:15 +02:00
|
|
|
|
|
|
|
esp32_ble_server:
|
|
|
|
manufacturer: "ESPHome"
|
|
|
|
model: "Test5"
|
2021-06-08 01:56:21 +02:00
|
|
|
|
|
|
|
esp32_improv:
|
|
|
|
authorizer: io0_button
|
|
|
|
authorized_duration: 1min
|
|
|
|
status_indicator: built_in_led
|
2021-07-12 21:20:12 +02:00
|
|
|
|
|
|
|
number:
|
|
|
|
- platform: template
|
|
|
|
name: My template number
|
|
|
|
id: template_number_id
|
|
|
|
optimistic: true
|
|
|
|
on_value:
|
|
|
|
- logger.log:
|
|
|
|
format: "Number changed to %f"
|
|
|
|
args: ["x"]
|
|
|
|
set_action:
|
|
|
|
- logger.log:
|
|
|
|
format: "Template Number set to %f"
|
|
|
|
args: ["x"]
|
|
|
|
max_value: 100
|
|
|
|
min_value: 0
|
|
|
|
step: 5
|