Closed condemil closed 3 years ago
Thanks! That's a great improvement. But it breaks existing autodiscovery for the components that are included. What if you just rename zeroconf addresses for disabled configurations and turn them back to enable some of them?
If could be like
# disabling all
sed -i 's/^ "_/ "_disabled_/' homeassistant/generated/zeroconf.py
# re-enable required ones
sed -i 's/_disabled_esphomelib./_esphomelib./' homeassistant/generated/zeroconf.py
sed -i 's/_disabled_ipps./_ipps./' homeassistant/generated/zeroconf.py
sed -i 's/_disabled_ipp./_ipp./' homeassistant/generated/zeroconf.py
sed -i 's/_disabled_printer./_printer./' homeassistant/generated/zeroconf.py
sed -i 's/_disabled_miio./_miio./' homeassistant/generated/zeroconf.py
What do you think?
Good idea, I added those changes.
When homekit device appears in the network home assistant starts to output the following errors:
How to reproduce
zeroconf:
integration (if not already added) toconfiguration.yaml