For any other looking the same:
The problem was not the version of ESPHome, though I updated had the same error as before.
The code working:
#
one_wire:
- platform: gpio
pin: GPIO14
id: one_wire1
- platform: gpio
pin: GPIO05
id: one_wire2
#no need to define one_wire2 for a reason I don't understand but it works like this. #
Sensor
- platform: dallas_temp
name: #AIO DS18B20 #1"
update_interval: 10s
one_wire_id: one_wire1
- platform: dht
pin: GPIO05
temperature:
name: "Temperature DHT11"
humidity:
name: "Humidity DHT11"
update_interval: 60s
#
The problem was not the version of ESPHome, though I updated had the same error as before.
The code working:
#
one_wire:
- platform: gpio
pin: GPIO14
id: one_wire1
- platform: gpio
pin: GPIO05
id: one_wire2
#no need to define one_wire2 for a reason I don't understand but it works like this. #
Sensor
- platform: dallas_temp
name: #AIO DS18B20 #1"
update_interval: 10s
one_wire_id: one_wire1
- platform: dht
pin: GPIO05
temperature:
name: "Temperature DHT11"
humidity:
name: "Humidity DHT11"
update_interval: 60s
#

