mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 19:47:29 +01:00
have fun
This commit is contained in:
36
mcu-dev-temp.yaml
Normal file
36
mcu-dev-temp.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
substitutions:
|
||||
device: dev-temp
|
||||
name: Dev Temp
|
||||
comment: "DEV"
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
comment: ${comment}
|
||||
|
||||
esp32:
|
||||
board: esp32doit-devkit-v1
|
||||
# framework:
|
||||
# type: arduino
|
||||
# # type: esp-idf
|
||||
|
||||
external_components:
|
||||
- source: components
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: GPIO27
|
||||
id: sensor_power
|
||||
restore_mode: ALWAYS_ON
|
||||
|
||||
dallas:
|
||||
- pin: GPIO25
|
||||
update_interval: 10s
|
||||
|
||||
sensor:
|
||||
- platform: dallas
|
||||
index: 0
|
||||
name: $name Dallas
|
||||
id: temp
|
||||
Reference in New Issue
Block a user