Another old style platform

This commit is contained in:
2025-01-21 12:57:32 +01:00
parent eb04a6bf28
commit ec63c86137

View File

@@ -6,7 +6,8 @@ substitutions:
esphome: esphome:
name: mcu-${device} name: mcu-${device}
comment: ${comment} comment: ${comment}
platform: ESP8266
esp8266:
board: esp01_1m board: esp01_1m
# wifi: # wifi:
@@ -15,8 +16,9 @@ esphome:
packages: packages:
common: !include common/common_esp8266.yaml common: !include common/common_esp8266.yaml
dallas: one_wire:
- pin: 4 - platform: gpio
pin: 4
binary_sensor: binary_sensor:
- platform: template - platform: template
@@ -29,7 +31,7 @@ binary_sensor:
} }
sensor: sensor:
- platform: dallas - platform: dallas_temp
address: 0x6203168B32A7FF28 address: 0x6203168B32A7FF28
# index: 0 # index: 0
name: "${name}" name: "${name}"