Browse Source

fix

esphome
Hendrik Langer 3 years ago
parent
commit
5bac253a57
  1. 2
      custom/veml6075_custom_sensor.h
  2. 3
      hendrik-test.yaml

2
custom/veml6075_custom_sensor.h

@ -10,7 +10,7 @@ class VEML6075CustomSensor : public PollingComponent, public Sensor {
VEML6075CustomSensor() : PollingComponent(15000) {} VEML6075CustomSensor() : PollingComponent(15000) {}
void setup() override { void setup() override {
Wire.begin(21, 22); //Wire.begin(21, 22);
uv.begin(); uv.begin();
uv.setIntegrationTime(VEML6075_100MS); uv.setIntegrationTime(VEML6075_100MS);
} }

3
hendrik-test.yaml

@ -3,8 +3,9 @@ substitutions:
packages: packages:
base: !include common/base.yaml base: !include common/base.yaml
env_sensor: !include common/bme680.yaml battery: !include common/battery.yaml
display: !include common/display.yaml display: !include common/display.yaml
env_sensor: !include common/bme680.yaml
# remote_package: # remote_package:
# url: https://dev.xd0.de/hendrik/esp32-weatherstation # url: https://dev.xd0.de/hendrik/esp32-weatherstation
# ref: esphome # ref: esphome

Loading…
Cancel
Save