DS18B20 not installing with hx711 on D1 mini

Hi Guys,

Can someone see what is incorrect with the below? it will not compile.
compiled up to - pin: D7 and I got the address, after adding the other lines it refuses :frowning:

Where did that code come from?! The dallas section is smack in the middle of the sensor section. Pull out the dallas: and the - pin: D7, and put them before the sensor: declaration. Example from one of my units, to show how it should be laid out with other sensors:

  - pin: D7
    update_interval: 60s

  - platform: pulse_counter
    pin: D5
    unit_of_measurement: 'kW'
    name: 'Power Meter House'
      - multiply: 0.06
    id: house_power
    device_class: power

  - platform: total_daily_energy
    name: "Total Daily Energy"
    power_id: house_power
    accuracy_decimals: 1
    device_class: energy

  - platform: dallas
    address: 0xD201192706EC6E28
    name: "Outside temperature 1"
        window_size: 10 
        send_every: 2
    device_class: temperature
1 Like

Thanks so much

1 Like