Skip to content

Commit 2f6fcb5

Browse files
tronikoschemelli74joostlek
authored
Rename Amazon Devices to Alexa Devices (home-assistant#146362)
Co-authored-by: Simone Chemelli <[email protected]> Co-authored-by: Joostlek <[email protected]>
1 parent bdb6124 commit 2f6fcb5

35 files changed

+67
-67
lines changed

.strict-typing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ homeassistant.components.aladdin_connect.*
6565
homeassistant.components.alarm_control_panel.*
6666
homeassistant.components.alert.*
6767
homeassistant.components.alexa.*
68+
homeassistant.components.alexa_devices.*
6869
homeassistant.components.alpha_vantage.*
69-
homeassistant.components.amazon_devices.*
7070
homeassistant.components.amazon_polly.*
7171
homeassistant.components.amberelectric.*
7272
homeassistant.components.ambient_network.*

CODEOWNERS

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

homeassistant/brands/amazon.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Amazon",
44
"integrations": [
55
"alexa",
6-
"amazon_devices",
6+
"alexa_devices",
77
"amazon_polly",
88
"aws",
99
"aws_s3",

homeassistant/components/amazon_devices/__init__.py renamed to homeassistant/components/alexa_devices/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Amazon Devices integration."""
1+
"""Alexa Devices integration."""
22

33
from homeassistant.const import Platform
44
from homeassistant.core import HomeAssistant
@@ -13,7 +13,7 @@
1313

1414

1515
async def async_setup_entry(hass: HomeAssistant, entry: AmazonConfigEntry) -> bool:
16-
"""Set up Amazon Devices platform."""
16+
"""Set up Alexa Devices platform."""
1717

1818
coordinator = AmazonDevicesCoordinator(hass, entry)
1919

homeassistant/components/amazon_devices/binary_sensor.py renamed to homeassistant/components/alexa_devices/binary_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
@dataclass(frozen=True, kw_only=True)
2828
class AmazonBinarySensorEntityDescription(BinarySensorEntityDescription):
29-
"""Amazon Devices binary sensor entity description."""
29+
"""Alexa Devices binary sensor entity description."""
3030

3131
is_on_fn: Callable[[AmazonDevice], bool]
3232

@@ -52,7 +52,7 @@ async def async_setup_entry(
5252
entry: AmazonConfigEntry,
5353
async_add_entities: AddConfigEntryEntitiesCallback,
5454
) -> None:
55-
"""Set up Amazon Devices binary sensors based on a config entry."""
55+
"""Set up Alexa Devices binary sensors based on a config entry."""
5656

5757
coordinator = entry.runtime_data
5858

homeassistant/components/amazon_devices/config_flow.py renamed to homeassistant/components/alexa_devices/config_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Config flow for Amazon Devices integration."""
1+
"""Config flow for Alexa Devices integration."""
22

33
from __future__ import annotations
44

@@ -17,7 +17,7 @@
1717

1818

1919
class AmazonDevicesConfigFlow(ConfigFlow, domain=DOMAIN):
20-
"""Handle a config flow for Amazon Devices."""
20+
"""Handle a config flow for Alexa Devices."""
2121

2222
async def async_step_user(
2323
self, user_input: dict[str, Any] | None = None
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
"""Amazon Devices constants."""
1+
"""Alexa Devices constants."""
22

33
import logging
44

55
_LOGGER = logging.getLogger(__package__)
66

7-
DOMAIN = "amazon_devices"
7+
DOMAIN = "alexa_devices"
88
CONF_LOGIN_DATA = "login_data"

homeassistant/components/amazon_devices/coordinator.py renamed to homeassistant/components/alexa_devices/coordinator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Support for Amazon Devices."""
1+
"""Support for Alexa Devices."""
22

33
from datetime import timedelta
44

@@ -23,7 +23,7 @@
2323

2424

2525
class AmazonDevicesCoordinator(DataUpdateCoordinator[dict[str, AmazonDevice]]):
26-
"""Base coordinator for Amazon Devices."""
26+
"""Base coordinator for Alexa Devices."""
2727

2828
config_entry: AmazonConfigEntry
2929

homeassistant/components/amazon_devices/diagnostics.py renamed to homeassistant/components/alexa_devices/diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Diagnostics support for Amazon Devices integration."""
1+
"""Diagnostics support for Alexa Devices integration."""
22

33
from __future__ import annotations
44

homeassistant/components/amazon_devices/entity.py renamed to homeassistant/components/alexa_devices/entity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Defines a base Amazon Devices entity."""
1+
"""Defines a base Alexa Devices entity."""
22

33
from aioamazondevices.api import AmazonDevice
44
from aioamazondevices.const import SPEAKER_GROUP_MODEL
@@ -12,7 +12,7 @@
1212

1313

1414
class AmazonEntity(CoordinatorEntity[AmazonDevicesCoordinator]):
15-
"""Defines a base Amazon Devices entity."""
15+
"""Defines a base Alexa Devices entity."""
1616

1717
_attr_has_entity_name = True
1818

0 commit comments

Comments
 (0)