Use local variables in Blink (#103430)

local variables
This commit is contained in:
mkmer 2023-11-05 08:21:20 -05:00 committed by GitHub
parent fefea89d89
commit 751ebbda51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ class BlinkSyncModuleHA(
) -> None:
"""Initialize the alarm control panel."""
super().__init__(coordinator)
self.api: Blink = self.coordinator.api
self.api: Blink = coordinator.api
self.sync = sync
self._attr_unique_id: str = sync.serial
self._attr_device_info = DeviceInfo(