diff --git a/README.md b/README.md index b0f2a47..5f59400 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 🖧 Easy Computer Manage +# 🖧 Easy Computer Manager [![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration) diff --git a/custom_components/easy_computer_manage/.gitignore b/custom_components/easy_computer_manager/.gitignore similarity index 100% rename from custom_components/easy_computer_manage/.gitignore rename to custom_components/easy_computer_manager/.gitignore diff --git a/custom_components/easy_computer_manage/__init__.py b/custom_components/easy_computer_manager/__init__.py similarity index 97% rename from custom_components/easy_computer_manage/__init__.py rename to custom_components/easy_computer_manager/__init__.py index 1424bea..c18d8bf 100644 --- a/custom_components/easy_computer_manage/__init__.py +++ b/custom_components/easy_computer_manager/__init__.py @@ -1,4 +1,4 @@ -"""The Easy Dualboot Computer Manage integration.""" +"""The Easy Dualboot Computer Manager integration.""" # Some code is from the official wake_on_lan integration diff --git a/custom_components/easy_computer_manage/config_flow.py b/custom_components/easy_computer_manager/config_flow.py similarity index 98% rename from custom_components/easy_computer_manage/config_flow.py rename to custom_components/easy_computer_manager/config_flow.py index 53472ee..36d540d 100644 --- a/custom_components/easy_computer_manage/config_flow.py +++ b/custom_components/easy_computer_manager/config_flow.py @@ -1,4 +1,4 @@ -"""Config flow for Easy Computer Manage integration.""" +"""Config flow for Easy Computer Manager integration.""" from __future__ import annotations import logging diff --git a/custom_components/easy_computer_manage/const.py b/custom_components/easy_computer_manager/const.py similarity index 81% rename from custom_components/easy_computer_manage/const.py rename to custom_components/easy_computer_manager/const.py index 8b8d9bb..0d0b943 100644 --- a/custom_components/easy_computer_manage/const.py +++ b/custom_components/easy_computer_manager/const.py @@ -1,6 +1,6 @@ -"""Constants for the Easy Computer Manage integration.""" +"""Constants for the Easy Computer Manager integration.""" -DOMAIN = "easy_computer_manage" +DOMAIN = "easy_computer_manager" SERVICE_SEND_MAGIC_PACKET = "send_magic_packet" SERVICE_RESTART_TO_WINDOWS_FROM_LINUX = "restart_to_windows_from_linux" SERVICE_RESTART_TO_LINUX_FROM_WINDOWS = "restart_to_linux_from_windows" diff --git a/custom_components/easy_computer_manager/logo.png b/custom_components/easy_computer_manager/logo.png new file mode 100644 index 0000000..fc17f17 Binary files /dev/null and b/custom_components/easy_computer_manager/logo.png differ diff --git a/custom_components/easy_computer_manager/logo@2x.png b/custom_components/easy_computer_manager/logo@2x.png new file mode 100644 index 0000000..72ff8ad Binary files /dev/null and b/custom_components/easy_computer_manager/logo@2x.png differ diff --git a/custom_components/easy_computer_manage/manifest.json b/custom_components/easy_computer_manager/manifest.json similarity index 76% rename from custom_components/easy_computer_manage/manifest.json rename to custom_components/easy_computer_manager/manifest.json index 9d5e9ed..2632912 100644 --- a/custom_components/easy_computer_manage/manifest.json +++ b/custom_components/easy_computer_manager/manifest.json @@ -1,8 +1,8 @@ { - "domain": "easy_computer_manage", - "name": "Easy Dualboot Computer Manage", + "domain": "easy_computer_manager", + "name": "Easy Dualboot Computer Manager", "config_flow": true, - "documentation": "https://www.home-assistant.io/integrations/easy_computer_manage", + "documentation": "https://www.home-assistant.io/integrations/easy_computer_manager", "requirements": [ "wakeonlan==2.1.0", "fabric2==2.7.1" diff --git a/custom_components/easy_computer_manage/services.yaml b/custom_components/easy_computer_manager/services.yaml similarity index 88% rename from custom_components/easy_computer_manage/services.yaml rename to custom_components/easy_computer_manager/services.yaml index 3a94dbd..e50da8d 100644 --- a/custom_components/easy_computer_manage/services.yaml +++ b/custom_components/easy_computer_manager/services.yaml @@ -28,31 +28,31 @@ restart_to_windows_from_linux: description: Restart the computer to Windows when running Linux using Grub. target: device: - integration: easy_computer_manage + integration: easy_computer_manager restart_to_linux_from_windows: name: Restart to Linux from Windows description: Restart the computer to Linux when running Windows. target: device: - integration: easy_computer_manage + integration: easy_computer_manager start_computer_to_windows: name: Start computer to Windows description: Start the computer directly Windows (boots to Linux, set grub reboot, then boots to Windows). target: device: - integration: easy_computer_manage + integration: easy_computer_manager put_computer_to_sleep: name: Put computer to sleep description: Put the computer to sleep. target: device: - integration: easy_computer_manage + integration: easy_computer_manager restart_computer: name: Restart description: Restart the computer. target: device: - integration: easy_computer_manage + integration: easy_computer_manager change_monitors_config: name: Change monitors config description: Change monitors config. @@ -64,7 +64,7 @@ change_monitors_config: example: switch.my_computer selector: entity: - integration: easy_computer_manage + integration: easy_computer_manager domain: switch monitors_config: name: Monitors config diff --git a/custom_components/easy_computer_manage/strings.json b/custom_components/easy_computer_manager/strings.json similarity index 100% rename from custom_components/easy_computer_manage/strings.json rename to custom_components/easy_computer_manager/strings.json diff --git a/custom_components/easy_computer_manage/switch.py b/custom_components/easy_computer_manager/switch.py similarity index 100% rename from custom_components/easy_computer_manage/switch.py rename to custom_components/easy_computer_manager/switch.py diff --git a/custom_components/easy_computer_manage/translations/en.json b/custom_components/easy_computer_manager/translations/en.json similarity index 100% rename from custom_components/easy_computer_manage/translations/en.json rename to custom_components/easy_computer_manager/translations/en.json diff --git a/custom_components/easy_computer_manage/translations/fr.json b/custom_components/easy_computer_manager/translations/fr.json similarity index 100% rename from custom_components/easy_computer_manage/translations/fr.json rename to custom_components/easy_computer_manager/translations/fr.json diff --git a/custom_components/easy_computer_manage/utils.py b/custom_components/easy_computer_manager/utils.py similarity index 100% rename from custom_components/easy_computer_manage/utils.py rename to custom_components/easy_computer_manager/utils.py diff --git a/hacs.json b/hacs.json index 7058c80..0d36d5e 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,5 @@ { - "name": "Easy Computer Manage", + "name": "Easy Computer Manager", "country": ["CH"], "render_readme": true } \ No newline at end of file