mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Discover devices from device_trackers with router sources (#45160)
* Discover devices from device_trackers with router sources * Update homeassistant/components/dhcp/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * fix stop being called on the wrong context * clean * move it to base * cleanup was too agressive * Update homeassistant/components/dhcp/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * coverage * revert legacy changes Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -59,3 +59,6 @@ def test_base_tracker_entity():
|
||||
assert entity.battery_level is None
|
||||
with pytest.raises(NotImplementedError):
|
||||
assert entity.state_attributes is None
|
||||
assert entity.ip_address is None
|
||||
assert entity.mac_address is None
|
||||
assert entity.hostname is None
|
||||
|
||||
Reference in New Issue
Block a user