The following integrations and platforms could not be set up:
* [dhcp](https://www.home-assistant.io/integrations/dhcp) ([Show logs]=
* [default_config](https://www.home-assistant.io/integrations/default_config) ([Show logs]
The following integrations and platforms could not be set up:
dhcp (Show logs)
default_config (Show logs)
Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: dhcp')
In the logs I see:
File "/usr/local/lib/python3.10/site-packages/aiodiscover/discovery.py", line 13, in <module>
from dns.message import Message, QueryMessage
ImportError: cannot import name 'QueryMessage' from 'dns.message' (/usr/local/lib/python3.10/site-packages/dns/message.py)```
Home Assistant 2023.4.1
Supervisor 2023.04.0
Operating System 9.5
Frontend 20230406.1 - latest
Seems to be a bug: a temporary fix is posted on github:
On the github and anywhere else there is just no reply. The temp fix has to be installed every update and sometimes even at a normal reboot. Why is this not adressed? All my ESPHome device need this. ESPHome is quite big on HA. So again why is this not adressed or even acknowledged?
Or tell me it’s my own HA that is broken. because as it looks now ESPHome should not be working for anyone.
It (at least this above) is not a homeassistant issue. My issue turned out to be a custom_component including an older version of dnspython. The solution is either the fix above or track down which custom_component is causing the issue. Unfortunately, often it is another package including the outdated dnspython, so it is hard to track down. I suggest removing all your custom components, then add them back in, to see which one has the issue. My issue was a component I wrote (minecraft), breaking something. It was fixed by including an updated python package instead.