some small text refactor

This commit is contained in:
Mathieu Broillet 2024-06-09 11:42:28 +02:00
parent b771739161
commit e5b6af8e41
Signed by: mathieu
GPG Key ID: A08E484FE95074C1
3 changed files with 19 additions and 10 deletions

View File

@ -5,7 +5,9 @@
![img.png](.images/header.png) ![img.png](.images/header.png)
Easy Computer Manager is a custom integration for Home Assistant that allows you to remotely manage various aspects of your computer, such as sending Wake-On-LAN (WoL) packets, restarting the computer between different operating systems (if dual-boot), adjusting audio configurations, changing monitor settings, and more. Easy Computer Manager is a custom integration for Home Assistant that allows you to remotely manage various aspects of
your computer, such as sending Wake-On-LAN (WoL) packets, restarting the computer between different operating systems (
if dual-boot), adjusting audio configurations, changing monitor settings, and more.
## Features ## Features
@ -32,7 +34,8 @@ Easy Computer Manager is a custom integration for Home Assistant that allows you
1. Download the latest release from the [GitHub repository](https://github.com/M4TH1EU/HA-EasyComputerManager/). 1. Download the latest release from the [GitHub repository](https://github.com/M4TH1EU/HA-EasyComputerManager/).
2. Extract the downloaded ZIP file. 2. Extract the downloaded ZIP file.
3. Copy the "custom_components/easy_computer_manager" directory to the "config/custom_components/" directory in your Home Assistant instance. 3. Copy the "custom_components/easy_computer_manager" directory to the "config/custom_components/" directory in your
Home Assistant instance.
## Configuration ## Configuration
@ -40,19 +43,24 @@ Easy Computer Manager is a custom integration for Home Assistant that allows you
2. Select "Integrations." 2. Select "Integrations."
3. Click the "+" button to add a new integration. 3. Click the "+" button to add a new integration.
4. Search for "Easy Computer Manager" and select it from the list. 4. Search for "Easy Computer Manager" and select it from the list.
5. Follow the on-screen instructions to configure the integration, providing details such as the IP address, username, and password for the computer you want to manage. 5. Follow the on-screen instructions to configure the integration, providing details such as the IP address, username,
and password for the computer you want to manage.
6. Once configured, click "Finish" to add the computer to Home Assistant. 6. Once configured, click "Finish" to add the computer to Home Assistant.
## Usage ## Usage
After adding your computer to Home Assistant, you can use the provided services to manage it remotely. Explore the available services in the Home Assistant "Services" tab or use automations to integrate Easy Computer Manager into your smart home setup. After adding your computer to Home Assistant, you can use the provided services to manage it remotely. Explore the
available services in the Home Assistant "Services" tab or use automations to integrate Easy Computer Manager into your
smart home setup.
## Troubleshooting ## Troubleshooting
If you encounter any issues during installation or configuration, refer to the troubleshooting section in the [Wiki](./wiki) or seek assistance from the Home Assistant community. If you encounter any issues during installation or configuration, refer to the troubleshooting section in
the [Wiki](./wiki) or seek assistance from the Home Assistant community.
## Contributions ## Contributions
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on the [GitHub repository](https://github.com/M4TH1EU/HA-EasyComputerManager). Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a
pull request on the [GitHub repository](https://github.com/M4TH1EU/HA-EasyComputerManager).
Happy automating with Easy Computer Manager! Happy automating with Easy Computer Manager!

View File

@ -3,6 +3,7 @@
# Some snippets of code are from the official wake_on_lan integration (inspiration for this custom component) # Some snippets of code are from the official wake_on_lan integration (inspiration for this custom component)
from __future__ import annotations from __future__ import annotations
import logging import logging
from functools import partial from functools import partial