Skip to content

Commit

Permalink
rename integration for uploading icons to home-assistant/brands
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkaldheim committed Aug 14, 2023
1 parent 924f371 commit 2e3c87f
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def async_get():
coordinator = DataUpdateCoordinator(
hass,
_LOGGER,
name="Airstage Fujitsu",
name="Fujitsu Airstage",
update_method=async_get,
update_interval=timedelta(seconds=AIRSTAGE_SYNC_INTERVAL),
)
Expand Down Expand Up @@ -97,7 +97,7 @@ async def async_get():
coordinator = DataUpdateCoordinator(
hass,
_LOGGER,
name="Airstage Fujitsu",
name="Fujitsu Airstage",
update_method=async_get,
update_interval=timedelta(seconds=AIRSTAGE_SYNC_INTERVAL),
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from homeassistant.data_entry_flow import FlowResult
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.components.climate import ClimateEntity

from homeassistant.const import (
CONF_COUNTRY,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Constants for the Airstage Fujitsu integration."""

DOMAIN = "airstage"
DOMAIN = "fujitsu_airstage"
AIRSTAGE_RETRY = 10


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, instance: AirstageData, ac_key: str) -> None:

self._attr_device_info = DeviceInfo(
identifiers={(DOMAIN, self._attr_unique_id)},
manufacturer="Airstage",
manufacturer="Fujitsu Airstage",
model=self.coordinator.data[self.ac_key]["model"],
name=self.coordinator.data[self.ac_key]["deviceName"],
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "airstage",
"name": "Airstage Fujitsu",
"domain": "fujitsu_airstage",
"name": "Fujitsu Airstage",
"codeowners": [
"@danielkaldheim"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://www.home-assistant.io/integrations/airstage",
"documentation": "https://www.home-assistant.io/integrations/fujitsu_airstage",
"homekit": {},
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/danielkaldheim/ha_airstage/issues",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,12 @@
from pyairstage import constants
from .entity import AirstageAcEntity
from .models import AirstageData

from homeassistant.util import slugify

from homeassistant.components.climate import (
FAN_AUTO,
FAN_HIGH,
FAN_LOW,
FAN_MEDIUM,
ClimateEntity,
ClimateEntityFeature,
HVACMode,
)

from .const import (
DOMAIN as AIRSTAGE_DOMAIN,
FAN_QUIET,
VERTICAL_HIGH,
VERTICAL_HIGHEST,
VERTICAL_LOW,
VERTICAL_LOWEST,
VERTICAL_SWING,
)


from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
Expand All @@ -45,8 +27,6 @@
from homeassistant.helpers import config_validation as cv, entity_platform
from homeassistant.helpers.entity_platform import AddEntitiesCallback

_LOGGER = logging.getLogger(__name__)


async def async_setup_entry(
hass: HomeAssistant,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
)


_LOGGER = logging.getLogger(__name__)


async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
Expand Down

0 comments on commit 2e3c87f

Please sign in to comment.