From c1f68c37673525ce0d6f8c1e240cb84601d17303 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 3 Dec 2023 12:18:10 -1000 Subject: [PATCH] Bump habluetooth to 0.4.0 (#104958) --- homeassistant/components/bluetooth/manifest.json | 2 +- homeassistant/components/bluetooth/scanner.py | 1 + homeassistant/package_constraints.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/bluetooth/manifest.json b/homeassistant/components/bluetooth/manifest.json index 74cec5edfe2..a295e3f70ad 100644 --- a/homeassistant/components/bluetooth/manifest.json +++ b/homeassistant/components/bluetooth/manifest.json @@ -20,6 +20,6 @@ "bluetooth-auto-recovery==1.2.3", "bluetooth-data-tools==1.17.0", "dbus-fast==2.14.0", - "habluetooth==0.1.0" + "habluetooth==0.4.0" ] } diff --git a/homeassistant/components/bluetooth/scanner.py b/homeassistant/components/bluetooth/scanner.py index 203bdac68a6..95733039df4 100644 --- a/homeassistant/components/bluetooth/scanner.py +++ b/homeassistant/components/bluetooth/scanner.py @@ -140,6 +140,7 @@ class HaScanner(BaseHaScanner): self._new_info_callback = new_info_callback self.scanning = False self.hass = hass + self._last_detection = 0.0 @property def discovered_devices(self) -> list[BLEDevice]: diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index f7f67dcbf7a..ad55e397b72 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -23,7 +23,7 @@ dbus-fast==2.14.0 fnv-hash-fast==0.5.0 ha-av==10.1.1 ha-ffmpeg==3.1.0 -habluetooth==0.1.0 +habluetooth==0.4.0 hass-nabucasa==0.74.0 hassil==1.5.1 home-assistant-bluetooth==1.10.4 diff --git a/requirements_all.txt b/requirements_all.txt index c790b593a45..38f8f3077eb 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -984,7 +984,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.bluetooth -habluetooth==0.1.0 +habluetooth==0.4.0 # homeassistant.components.cloud hass-nabucasa==0.74.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index dd48bada87c..077a07258b0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -783,7 +783,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.bluetooth -habluetooth==0.1.0 +habluetooth==0.4.0 # homeassistant.components.cloud hass-nabucasa==0.74.0