Adjust async_track_time_interval name argument (#90838)

Adjust async_track_time_interval naming
This commit is contained in:
epenet 2023-04-05 16:58:02 +02:00 committed by GitHub
parent 0f8060fd00
commit c01b1eb013
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 26 additions and 18 deletions

View file

@ -272,7 +272,8 @@ class HKDevice:
self.hass,
self.async_update_available_state,
timedelta(seconds=BLE_AVAILABILITY_CHECK_INTERVAL),
f"HomeKit Controller {self.unique_id} BLE availability check poll",
name=f"HomeKit Controller {self.unique_id} BLE availability "
"check poll",
)
)
# BLE devices always get an RSSI sensor as well
@ -290,7 +291,7 @@ class HKDevice:
self.hass,
self.async_request_update,
self.pairing.poll_interval,
f"HomeKit Controller {self.unique_id} availability check poll",
name=f"HomeKit Controller {self.unique_id} availability check poll",
)
)