diff --git a/homeassistant/components/supla/cover.py b/homeassistant/components/supla/cover.py index cc3a5a4ed0c..7f2857395b8 100644 --- a/homeassistant/components/supla/cover.py +++ b/homeassistant/components/supla/cover.py @@ -1,4 +1,4 @@ -"""Support for Supla cover - curtains, rollershutters, entry gate etc.""" +"""Support for SUPLA covers - curtains, rollershutters, entry gate etc.""" from __future__ import annotations import logging @@ -26,7 +26,7 @@ async def async_setup_platform( async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None, ) -> None: - """Set up the Supla covers.""" + """Set up the SUPLA covers.""" if discovery_info is None: return @@ -59,7 +59,7 @@ async def async_setup_platform( class SuplaCoverEntity(SuplaEntity, CoverEntity): - """Representation of a Supla Cover.""" + """Representation of a SUPLA Cover.""" @property def current_cover_position(self) -> int | None: @@ -93,7 +93,7 @@ class SuplaCoverEntity(SuplaEntity, CoverEntity): class SuplaDoorEntity(SuplaEntity, CoverEntity): - """Representation of a Supla door.""" + """Representation of a SUPLA door.""" _attr_device_class = CoverDeviceClass.GARAGE diff --git a/homeassistant/components/supla/entity.py b/homeassistant/components/supla/entity.py index ae0a627b538..244048973fa 100644 --- a/homeassistant/components/supla/entity.py +++ b/homeassistant/components/supla/entity.py @@ -1,4 +1,4 @@ -"""Base class for Supla channels.""" +"""Base class for SUPLA channels.""" from __future__ import annotations import logging @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) class SuplaEntity(CoordinatorEntity): - """Base class of a Supla Channel (an equivalent of HA's Entity).""" + """Base class of a SUPLA Channel (an equivalent of HA's Entity).""" def __init__(self, config, server, coordinator): """Init from config, hookup[ server and coordinator.""" @@ -49,7 +49,7 @@ class SuplaEntity(CoordinatorEntity): """Run server action. Actions are currently hardcoded in components. - Supla's API enables autodiscovery + SUPLA's API enables autodiscovery """ _LOGGER.debug( "Executing action %s on channel %d, params: %s", diff --git a/homeassistant/components/supla/manifest.json b/homeassistant/components/supla/manifest.json index 6611c0d795b..6927c92c6e1 100644 --- a/homeassistant/components/supla/manifest.json +++ b/homeassistant/components/supla/manifest.json @@ -1,6 +1,6 @@ { "domain": "supla", - "name": "Supla", + "name": "SUPLA", "codeowners": ["@mwegrzynek"], "documentation": "https://www.home-assistant.io/integrations/supla", "iot_class": "cloud_polling", diff --git a/homeassistant/components/supla/switch.py b/homeassistant/components/supla/switch.py index b270f4300e1..d904455a3fe 100644 --- a/homeassistant/components/supla/switch.py +++ b/homeassistant/components/supla/switch.py @@ -1,4 +1,4 @@ -"""Support for Supla switch.""" +"""Support for SUPLA switch.""" from __future__ import annotations import logging @@ -22,7 +22,7 @@ async def async_setup_platform( async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None, ) -> None: - """Set up the Supla switches.""" + """Set up the SUPLA switches.""" if discovery_info is None: return @@ -44,7 +44,7 @@ async def async_setup_platform( class SuplaSwitchEntity(SuplaEntity, SwitchEntity): - """Representation of a Supla Switch.""" + """Representation of a SUPLA Switch.""" async def async_turn_on(self, **kwargs: Any) -> None: """Turn on the switch.""" diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index b84db6bd1ac..92e4286404f 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -5503,7 +5503,7 @@ "iot_class": "local_polling" }, "supla": { - "name": "Supla", + "name": "SUPLA", "integration_type": "hub", "config_flow": false, "iot_class": "cloud_polling"