File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
homeassistant/components/airthings_ble
tests/components/airthings_ble Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ async def _async_setup(self) -> None:
7171 )
7272 self .ble_device = ble_device
7373
74- # Migrate existing config entries to include device_model
7574 if "device_model" not in self .config_entry .data :
7675 try :
7776 _LOGGER .debug ("Fetching device info for migration" )
@@ -94,5 +93,4 @@ async def _async_update_data(self) -> AirthingsDevice:
9493 data = await self .airthings .update_device (self .ble_device )
9594 except Exception as err :
9695 raise UpdateFailed (f"Unable to fetch data: { err } " ) from err
97-
9896 return data
Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ async def test_scan_interval_migration_radon_device(
321321 freezer .tick (RADON_SCAN_INTERVAL )
322322 async_fire_time_changed (hass )
323323 await hass .async_block_till_done ()
324- # Should now have 3 calls: migration + initial refresh + scheduled update
325324 assert mock_update .call_count == 3
326325
327326
@@ -370,5 +369,4 @@ async def test_default_scan_interval_migration(
370369 freezer .tick (DEFAULT_SCAN_INTERVAL )
371370 async_fire_time_changed (hass )
372371 await hass .async_block_till_done ()
373- # Should now have 3 calls: migration + initial refresh + scheduled update
374372 assert mock_update .call_count == 3
You can’t perform that action at this time.
0 commit comments