Skip to content

Commit

Permalink
Remove bluetooth and isal
Browse files Browse the repository at this point in the history
  • Loading branch information
amigan committed Sep 4, 2024
1 parent 36ec1b3 commit 0018fb4
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 60 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/default_config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@

async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Initialize default configuration."""
if sys.platform.startswith(("linux", "win32", "darwin")):
await async_setup_component(hass, "bluetooth", config)

return True
1 change: 0 additions & 1 deletion homeassistant/components/default_config/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"codeowners": ["@home-assistant/core"],
"dependencies": [
"assist_pipeline",
"bluetooth",
"cloud",
"conversation",
"dhcp",
Expand Down
13 changes: 0 additions & 13 deletions homeassistant/components/esphome/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from typing import Any

from homeassistant.components.bluetooth import async_scanner_by_source
from homeassistant.components.diagnostics import async_redact_data
from homeassistant.const import CONF_PASSWORD
from homeassistant.core import HomeAssistant
Expand All @@ -31,18 +30,6 @@ async def async_get_config_entry_diagnostics(
if (storage_data := await entry_data.store.async_load()) is not None:
diag["storage_data"] = storage_data

if (
config_entry.unique_id
and (scanner := async_scanner_by_source(hass, config_entry.unique_id.upper()))
and (bluetooth_device := entry_data.bluetooth_device)
):
diag["bluetooth"] = {
"connections_free": bluetooth_device.ble_connections_free,
"connections_limit": bluetooth_device.ble_connections_limit,
"available": bluetooth_device.available,
"scanner": await scanner.async_diagnostics(),
}

if dashboard := async_get_dashboard(hass):
diag["dashboard"] = dashboard.addon_slug

Expand Down
4 changes: 1 addition & 3 deletions homeassistant/components/esphome/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
from homeassistant.helpers.template import Template
from homeassistant.util.async_ import create_eager_task

from .bluetooth import async_connect_scanner
from .const import (
CONF_ALLOW_SERVICE_CALLS,
CONF_DEVICE_NAME,
Expand Down Expand Up @@ -91,10 +90,9 @@ def _async_check_firmware_version(
# ESPHome device_info.mac_address is the unique_id
issue = f"ble_firmware_outdated-{device_info.mac_address}"
if (
not device_info.bluetooth_proxy_feature_flags_compat(api_version)
# If the device has a project name its up to that project
# to tell them about the firmware version update so we don't notify here
or (device_info.project_name and device_info.project_name not in PROJECT_URLS)
(device_info.project_name and device_info.project_name not in PROJECT_URLS)
or AwesomeVersion(device_info.esphome_version) >= STABLE_BLE_VERSION
):
async_delete_issue(hass, DOMAIN, issue)
Expand Down
20 changes: 0 additions & 20 deletions homeassistant/components/isal/__init__.py

This file was deleted.

10 changes: 0 additions & 10 deletions homeassistant/components/isal/manifest.json

This file was deleted.

7 changes: 0 additions & 7 deletions homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,13 @@ atomicwrites-homeassistant==1.4.1
attrs==23.2.0
awesomeversion==24.6.0
bcrypt==4.1.3
bleak-retry-connector==3.5.0
bleak==0.22.2
bluetooth-adapters==0.19.4
bluetooth-auto-recovery==1.4.2
bluetooth-data-tools==1.20.0
cached-ipaddress==0.5.0
certifi>=2021.5.30
ciso8601==2.3.1
cryptography==43.0.0
dbus-fast==2.24.0
fnv-hash-fast==1.0.2
ha-av==10.1.1
ha-ffmpeg==3.2.0
habluetooth==3.4.0
hass-nabucasa==0.81.1
hassil==1.7.4
home-assistant-bluetooth==1.12.2
Expand Down
3 changes: 0 additions & 3 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1187,9 +1187,6 @@ iottycloud==0.1.3
# homeassistant.components.iperf3
iperf3==0.1.11

# homeassistant.components.isal
isal==1.6.1

# homeassistant.components.gogogate2
ismartgate==5.0.1

Expand Down
3 changes: 0 additions & 3 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -992,9 +992,6 @@ intellifire4py==4.1.9
# homeassistant.components.iotty
iottycloud==0.1.3

# homeassistant.components.isal
isal==1.6.1

# homeassistant.components.gogogate2
ismartgate==5.0.1

Expand Down

0 comments on commit 0018fb4

Please sign in to comment.