mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 19:47:29 +01:00
Another old style platform
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user