From d5f7733166405e25c0a27c041bbc221df000739d Mon Sep 17 00:00:00 2001 From: CakesTwix Date: Wed, 8 Jan 2025 20:06:11 +0200 Subject: [PATCH] bma: Add substitutions --- bma.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bma.yaml b/bma.yaml index 18995d9..8ee43ec 100644 --- a/bma.yaml +++ b/bma.yaml @@ -4,6 +4,10 @@ esphome: platform: ESP8266 board: d1_mini +substitutions: + name: bma + friendly_name: BMA280 + device_name: bma280 packages: common: !include includes/common.yaml @@ -15,10 +19,6 @@ i2c: scl: D4 scan: true -button: - - platform: restart - name: "Restart BME280" - sensor: - platform: bme280_i2c address: 0x76 @@ -31,7 +31,3 @@ sensor: name: "BME280 Humidity" update_interval: 300s i2c_id: bus_a - - platform: wifi_signal - name: "Wi-Fi Signal" - update_interval: 60s - icon: mdi:wifi