Skip to content

Commit

Permalink
Remain domain to midea_dehumidifier_lan
Browse files Browse the repository at this point in the history
  • Loading branch information
nbogojevic committed Dec 21, 2021
1 parent 69277b6 commit 787e19f
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ current_version = 0.1.0
tag = True
commit = True

[bumpversion:file:custom_components/midea_dehumidifier_local/manifest.json]
[bumpversion:file:custom_components/midea_dehumidifier_lan/manifest.json]

[bumpversion:file:hacs.json]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add this repository as custom integration repository to HACS.
### Manual
1. Update Home Assistant to version 2021.12 or newer
2. Clone this repository
3. Copy the `custom_components/midea_dehumidifier_local` folder into your Home Assistant's `custom_components` folder
3. Copy the `custom_components/midea_dehumidifier_lan` folder into your Home Assistant's `custom_components` folder

### Configuring
1. Add `Midea Dehumidifer (LAN)` integration via UI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from custom_components.midea_dehumidifier_local import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_local.const import DOMAIN
from custom_components.midea_dehumidifier_lan import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_lan.const import DOMAIN


async def async_setup_entry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Base component constants
NAME: Final = "Midea Dehumidifier (LAN)"
DOMAIN: Final = "midea_dehumidifier_local"
DOMAIN: Final = "midea_dehumidifier_lan"
ISSUE_URL: Final = "https://github.com/nbogojevic/midea-dehumidifier-lan/issues"

CONF_APP: Final = "mobile_app"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from custom_components.midea_dehumidifier_local import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_local.const import DOMAIN
from custom_components.midea_dehumidifier_lan import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_lan.const import DOMAIN


async def async_setup_entry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from custom_components.midea_dehumidifier_local import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_local.const import DOMAIN
from custom_components.midea_dehumidifier_lan import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_lan.const import DOMAIN

_LOGGER = logging.getLogger(__name__)
AVAILABLE_MODES = [MODE_AUTO, MODE_NORMAL, MODE_BOOST, MODE_COMFORT]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"domain": "midea_dehumidifier_local",
"domain": "midea_dehumidifier_lan",
"name": "Midea Dehumidifier (LAN)",
"version": "0.1.0",
"config_flow": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from custom_components.midea_dehumidifier_local import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_local.const import DOMAIN
from custom_components.midea_dehumidifier_lan import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_lan.const import DOMAIN


async def async_setup_entry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from custom_components.midea_dehumidifier_local import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_local.const import DOMAIN
from custom_components.midea_dehumidifier_lan import ApplianceEntity, Hub
from custom_components.midea_dehumidifier_lan.const import DOMAIN


async def async_setup_entry(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ indent = " "
force_sort_within_sections = true
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRDPARTY
known_first_party = custom_components.midea_dehumidifier_local, midea_beautiful_dehumidifier, tests
known_first_party = custom_components.midea_dehumidifier_lan, midea_beautiful_dehumidifier, tests
combine_as_imports = true

0 comments on commit 787e19f

Please sign in to comment.