The dhcp “DHCP Discovery” integration will watch the network for DHCP requests for supported devices and services. Discovered integrations will show up in the discovered section on the integrations page in the configuration panel.1
Can’t see a “discovered” section on the integrations page. Does this only show up when a new device has been found?
I’m running 2021.2.0 and I have default_config: in configuration.yaml.
OK. So I’m assuming that when I turn on the Xbox (for which the integration has not been installed) DHCP discovery will spot the new device on the network and offer the integration. This is not happening, but I am getting the error message:
Logger: homeassistant
Source: helpers/discovery.py:183
First occurred: 15:16:31 (4 occurrences)
Last logged: 15:16:31
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 183, in async_load_platform
assert hass_config, "You need to pass in the real hass config"
AssertionError: You need to pass in the real hass config
I believe the DHCP discovery looks at OUI (upper part of MAC address) and or hostname inside the DHCP packet to try and determine what the device is, and presummably, if an integration supports this device will offer the integration to the user to setup/configure. However the device list may not be complete yet and only limited to a few devices (kinda guessing about this part glancing through the pull request)
So I’m not being offered the Xbox integration because the Xbox is already on the device list, having been in use the previous day? Not a new device, in other words?