I propose adding commands: ha host i2c - should return information about the current status of I2C ha host i2c --enable - should enable I2C ha host i2c --disable - should disable I2C ha host 1wire - should return information about the current status of 1wire ha host 1wire --enable - should enable 1wire ha host 1wire --disable - should disable wire
I imagine this would be quite difficult to implement. By design, HA runs in a series of docker containers and is isolated from the underlying hardware or operating system - other than via the volumes and ports exposed during container creation. raspi-config requires root level access because it modifies /boot/config.txt.
I guess an addon could mount /boot/config.txt but I doubt it would have enough privilege to modify it.