From 5bac253a5705461a9079666383b95d22829e9f7b Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Mon, 25 Oct 2021 21:18:14 +0200 Subject: [PATCH] fix --- custom/veml6075_custom_sensor.h | 2 +- hendrik-test.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/custom/veml6075_custom_sensor.h b/custom/veml6075_custom_sensor.h index d97da62..fa94b1d 100644 --- a/custom/veml6075_custom_sensor.h +++ b/custom/veml6075_custom_sensor.h @@ -10,7 +10,7 @@ class VEML6075CustomSensor : public PollingComponent, public Sensor { VEML6075CustomSensor() : PollingComponent(15000) {} void setup() override { - Wire.begin(21, 22); + //Wire.begin(21, 22); uv.begin(); uv.setIntegrationTime(VEML6075_100MS); } diff --git a/hendrik-test.yaml b/hendrik-test.yaml index bf03923..358c24b 100644 --- a/hendrik-test.yaml +++ b/hendrik-test.yaml @@ -3,8 +3,9 @@ substitutions: packages: base: !include common/base.yaml - env_sensor: !include common/bme680.yaml + battery: !include common/battery.yaml display: !include common/display.yaml + env_sensor: !include common/bme680.yaml # remote_package: # url: https://dev.xd0.de/hendrik/esp32-weatherstation # ref: esphome