Changes to serverroom sensor.

This commit is contained in:
2024-01-20 00:03:43 +01:00
parent db6a6e9e30
commit 8a5ba47dfa
3 changed files with 22 additions and 15 deletions

View File

@@ -1,8 +1,20 @@
esphome:
name: serverroom
substitutions:
name: "serverroom"
friendly_name: "Serverraum Luft"
platform: ESP32
board: nodemcu-32s
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: sensor.outdoor
version: "0.8"
min_version: 2022.1.0
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
wifi:
ssid: "Voltage-legacy"
@@ -23,7 +35,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey
@@ -33,11 +44,11 @@ ota:
# Initialize I²C
i2c:
- id: bus_a
sda: 32
scl: 25
sda: 4
scl: 3
scan: true
# DHT22 sensor
# BMP280 sensor
sensor:
- platform: bmp280
i2c_id: bus_a