mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Remove stale print
This commit is contained in:
parent
da5dc1130e
commit
b7ec0d4884
@ -29,7 +29,6 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||||||
device_ids = [device.unique_id for device in hass.data[DYSON_AIQ_DEVICES]]
|
device_ids = [device.unique_id for device in hass.data[DYSON_AIQ_DEVICES]]
|
||||||
new_entities = []
|
new_entities = []
|
||||||
for device in hass.data[DYSON_DEVICES]:
|
for device in hass.data[DYSON_DEVICES]:
|
||||||
print(device.serial)
|
|
||||||
if isinstance(device, DysonPureCool) and device.serial not in device_ids:
|
if isinstance(device, DysonPureCool) and device.serial not in device_ids:
|
||||||
new_entities.append(DysonAirSensor(device))
|
new_entities.append(DysonAirSensor(device))
|
||||||
|
|
||||||
|
@ -29,5 +29,4 @@ async def async_setup_platform(
|
|||||||
hass, config, async_add_entities_callback, discovery_info=None
|
hass, config, async_add_entities_callback, discovery_info=None
|
||||||
):
|
):
|
||||||
"""Return mock entities."""
|
"""Return mock entities."""
|
||||||
print("YOOO")
|
|
||||||
async_add_entities_callback(ENTITIES)
|
async_add_entities_callback(ENTITIES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user