Update dallas config to new format in 2024.06

This commit is contained in:
2024-06-22 14:14:08 +02:00
parent 89e560f239
commit c9f4c6469e
2 changed files with 10 additions and 8 deletions
+4 -3
View File
@@ -14,11 +14,12 @@ packages:
device_base: !include templates/esp8266.yaml
sensor: !include templates/esp8266-vcc.yaml
dallas:
- pin: D1
one_wire:
- platform: gpio
pin: D1
sensor:
- platform: dallas
- platform: dallas_temp
address: 0x0401212E565C7428
id: bathroom_heater_temperature
+6 -5
View File
@@ -84,23 +84,24 @@ display:
it.circle(112, 16, 12);
}
dallas:
- pin: GPIO27
one_wire:
- platform: gpio
pin: GPIO27
sensor:
- platform: dallas
- platform: dallas_temp
address: 0x133c2cf648f40728
id: boiler_temperature
name: "Boiler temperature"
filters:
- offset: 0.5
- platform: dallas
- platform: dallas_temp
address: 0x4845b7211864ff28
id: hot_water_temperature
name: "Hot water temperature"
- platform: dallas
- platform: dallas_temp
address: 0x6a0316643959ff28
id: floor_temperature
name: "Floor temperature"