Dallas Component replaced by "one_wire"

Fair enough… other points still stand - why make it harder for users than it needs to be?

At the end of the day, most people aren’t using all features - 640 words to get to the 1-wire section, which doesn’t match with the error “one_wire”

So it’s not helpful to the end users.

At a minimum the terminology should match for the search. If the error linked to the relevant section of the release notes, brilliant - this code does the trick

# Old
dallas:
  - pin: GPIOXX

sensor:
  - platform: dallas
    address: 0x1234567890abcdef
    name: "My Sensor"

# New
one_wire:
  - platform: gpio
    pin: GPIOXX

sensor:
  - platform: dallas_temp
    address: 0x1234567890abcdef
    name: "My Sensor"

But given that code is going to apply to everyone who wants to run the update from the UI, it seems that replacement should just occur as part of the OTA update

I’d also argue that updates are part of the sustainability of a Smart home per the Open Home Foundation

The Open Home Foundation fights for the fundamental principles of privacy , choice , and sustainability for smart homes.

16 Likes