Skip to content

Commit

Permalink
Rename Motionblinds BLE integration to Motionblinds Bluetooth (#114584)
Browse files Browse the repository at this point in the history
  • Loading branch information
LennP authored and frenck committed Apr 3, 2024
1 parent 8bdb27c commit 79fa7ca
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions homeassistant/components/motionblinds_ble/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Motionblinds BLE integration."""
"""Motionblinds Bluetooth integration."""

from __future__ import annotations

Expand Down Expand Up @@ -34,9 +34,9 @@


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Motionblinds BLE integration."""
"""Set up Motionblinds Bluetooth integration."""

_LOGGER.debug("Setting up Motionblinds BLE integration")
_LOGGER.debug("Setting up Motionblinds Bluetooth integration")

# The correct time is needed for encryption
_LOGGER.debug("Setting timezone for encryption: %s", hass.config.time_zone)
Expand All @@ -46,7 +46,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:


async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Motionblinds BLE device from a config entry."""
"""Set up Motionblinds Bluetooth device from a config entry."""

_LOGGER.debug("(%s) Setting up device", entry.data[CONF_MAC_CODE])

Expand Down Expand Up @@ -94,7 +94,7 @@ def async_update_ble_device(


async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Unload Motionblinds BLE device from a config entry."""
"""Unload Motionblinds Bluetooth device from a config entry."""

if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
hass.data[DOMAIN].pop(entry.entry_id)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/motionblinds_ble/button.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Button entities for the Motionblinds BLE integration."""
"""Button entities for the Motionblinds Bluetooth integration."""

from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/motionblinds_ble/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Config flow for Motionblinds BLE integration."""
"""Config flow for Motionblinds Bluetooth integration."""

from __future__ import annotations

Expand Down Expand Up @@ -38,7 +38,7 @@


class FlowHandler(ConfigFlow, domain=DOMAIN):
"""Handle a config flow for Motionblinds BLE."""
"""Handle a config flow for Motionblinds Bluetooth."""

def __init__(self) -> None:
"""Initialize a ConfigFlow."""
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/motionblinds_ble/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Constants for the Motionblinds BLE integration."""
"""Constants for the Motionblinds Bluetooth integration."""

ATTR_CONNECT = "connect"
ATTR_DISCONNECT = "disconnect"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/motionblinds_ble/cover.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Cover entities for the Motionblinds BLE integration."""
"""Cover entities for the Motionblinds Bluetooth integration."""

from __future__ import annotations

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/motionblinds_ble/entity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Base entities for the Motionblinds BLE integration."""
"""Base entities for the Motionblinds Bluetooth integration."""

import logging

Expand All @@ -16,7 +16,7 @@


class MotionblindsBLEEntity(Entity):
"""Base class for Motionblinds BLE entities."""
"""Base class for Motionblinds Bluetooth entities."""

_attr_has_entity_name = True
_attr_should_poll = False
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/motionblinds_ble/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"domain": "motionblinds_ble",
"name": "Motionblinds BLE",
"name": "Motionblinds Bluetooth",
"bluetooth": [
{
"local_name": "MOTION_*",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/motionblinds_ble/select.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Select entities for the Motionblinds BLE integration."""
"""Select entities for the Motionblinds Bluetooth integration."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/generated/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3741,7 +3741,7 @@
"integration_type": "device",
"config_flow": true,
"iot_class": "assumed_state",
"name": "Motionblinds BLE"
"name": "Motionblinds Bluetooth"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/components/motionblinds_ble/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Tests for the Motionblinds BLE integration."""
"""Tests for the Motionblinds Bluetooth integration."""
2 changes: 1 addition & 1 deletion tests/components/motionblinds_ble/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Setup the MotionBlinds BLE tests."""
"""Setup the Motionblinds Bluetooth tests."""

from unittest.mock import AsyncMock, Mock, patch

Expand Down
2 changes: 1 addition & 1 deletion tests/components/motionblinds_ble/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Test the MotionBlinds BLE config flow."""
"""Test the Motionblinds Bluetooth config flow."""

from unittest.mock import patch

Expand Down

0 comments on commit 79fa7ca

Please sign in to comment.