diff --git a/homeassistant/components/bluetooth/__init__.py b/homeassistant/components/bluetooth/__init__.py index 8a1897c5ec26607a9a9f0660ce5b291a71c712b7..33b2da7523e09bced3f964dd21a0c6cab470e77d 100644 --- a/homeassistant/components/bluetooth/__init__.py +++ b/homeassistant/components/bluetooth/__init__.py @@ -6,7 +6,6 @@ from dataclasses import dataclass from enum import Enum import fnmatch import logging -import platform from typing import Final, TypedDict, Union from bleak import BleakError @@ -217,20 +216,6 @@ def _ble_device_matches( return True -@hass_callback -def async_enable_rssi_updates() -> None: - """Bleak filters out RSSI updates by default on linux only.""" - # We want RSSI updates - if platform.system() == "Linux": - from bleak.backends.bluezdbus import ( # pylint: disable=import-outside-toplevel - scanner, - ) - - scanner._ADVERTISING_DATA_PROPERTIES.add( # pylint: disable=protected-access - "RSSI" - ) - - class BluetoothManager: """Manage Bluetooth.""" @@ -265,7 +250,6 @@ class BluetoothManager: ex, ) return - async_enable_rssi_updates() install_multiple_bleak_catcher(self.scanner) # We have to start it right away as some integrations might # need it straight away.