From d5aa4a9ce1300bea01ff1ac665cafe8dff6d3558 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 7 Dec 2021 22:30:22 -1000 Subject: [PATCH] Updating naming for flux_led (#61187) --- homeassistant/components/flux_led/config_flow.py | 2 +- homeassistant/components/flux_led/entity.py | 4 ++-- homeassistant/components/flux_led/light.py | 2 +- homeassistant/components/flux_led/manifest.json | 2 +- homeassistant/components/flux_led/switch.py | 2 +- homeassistant/components/flux_led/util.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/flux_led/config_flow.py b/homeassistant/components/flux_led/config_flow.py index 87d07bba2b1..b6efc763b6d 100644 --- a/homeassistant/components/flux_led/config_flow.py +++ b/homeassistant/components/flux_led/config_flow.py @@ -43,7 +43,7 @@ _LOGGER = logging.getLogger(__name__) class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): - """Handle a config flow for FluxLED/MagicHome Integration.""" + """Handle a config flow for Magic Home Integration.""" VERSION = 1 diff --git a/homeassistant/components/flux_led/entity.py b/homeassistant/components/flux_led/entity.py index f4425f3b2a2..0e70e1f05f0 100644 --- a/homeassistant/components/flux_led/entity.py +++ b/homeassistant/components/flux_led/entity.py @@ -1,4 +1,4 @@ -"""Support for FluxLED/MagicHome lights.""" +"""Support for Magic Home lights.""" from __future__ import annotations from abc import abstractmethod @@ -36,7 +36,7 @@ class FluxEntity(CoordinatorEntity): if self.unique_id: self._attr_device_info = DeviceInfo( connections={(dr.CONNECTION_NETWORK_MAC, self.unique_id)}, - manufacturer="FluxLED/Magic Home", + manufacturer="Magic Home (Zengge)", model=self._device.model, name=self.name, sw_version=str(self._device.version_num), diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index d364d8b9581..b138d41419d 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -1,4 +1,4 @@ -"""Support for FluxLED/MagicHome lights.""" +"""Support for Magic Home lights.""" from __future__ import annotations import ast diff --git a/homeassistant/components/flux_led/manifest.json b/homeassistant/components/flux_led/manifest.json index 92a3024869c..538ababcb98 100644 --- a/homeassistant/components/flux_led/manifest.json +++ b/homeassistant/components/flux_led/manifest.json @@ -1,6 +1,6 @@ { "domain": "flux_led", - "name": "Flux LED/MagicHome", + "name": "Magic Home", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/flux_led", "requirements": ["flux_led==0.26.2"], diff --git a/homeassistant/components/flux_led/switch.py b/homeassistant/components/flux_led/switch.py index d022acc1c74..01473bfc67c 100644 --- a/homeassistant/components/flux_led/switch.py +++ b/homeassistant/components/flux_led/switch.py @@ -1,4 +1,4 @@ -"""Support for FluxLED/MagicHome switches.""" +"""Support for Magic Home switches.""" from __future__ import annotations from typing import Any diff --git a/homeassistant/components/flux_led/util.py b/homeassistant/components/flux_led/util.py index 774ae1aaa53..818b5c45506 100644 --- a/homeassistant/components/flux_led/util.py +++ b/homeassistant/components/flux_led/util.py @@ -1,4 +1,4 @@ -"""Utils for FluxLED/MagicHome.""" +"""Utils for Magic Home.""" from __future__ import annotations from flux_led.aio import AIOWifiLedBulb