Skip to content

Esphome new names #3

@Daafip

Description

@Daafip

Thanks for the project!
couple changes to the naming:
Bme280 = bme280_i2c

and the dallas source has been depreciated:

Failed config

dallas: [source weather_station.yaml:90]

  The "dallas" component has been replaced by the "one_wire" component.
  https://esphome.io/components/one_wire.
  - pin: GPIO4

you should replace the

# Detect Dallas sensor address
dallas:
  - pin: GPIO4

with

one_wire:
  - platform: gpio
    pin: GPIO4

Lastly, the pin 33 is reused, in newer version you need

# ADC platform helps track status of battery
  - platform: adc
    pin: GPIO33

To be

pin:
      number: 33
      allow_other_uses: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions