I am using mount.cifs to mount a remote 1-wire files system. I then use standard code in the configuration.yaml to make the sensors available to Home Assistant.
The problem is that the mount.cifs process pads the 1-wire values with ‘\x00’. I have modified the stock onewire.py with a line to replace those ‘\x00’ with ‘’ as needed.
line = line.replace('\x00','')
Is there another way to mount the remote 1-wire file system without getting the padding? Or could the standard onewire.py be modified to include this modification so that I can eliminate my Custom_Component?