From 799ac67d9418c728957f7a3dfca10e3757bbc14d Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Mon, 10 Apr 2023 08:17:27 +0200 Subject: [PATCH] Use info.md for hacs --- README.md | 5 ++++- hacs.json | 1 - info.md | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 info.md diff --git a/README.md b/README.md index 72f0051..b806486 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home ap **Method 3:** Manually copy `hon` folder from [latest release](https://github.com/Andre0512/hon/releases/latest) to `config/custom_components` folder. +_Restart Home Assistant_ + ## Configuration **Method 1**: [![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=hon) @@ -65,8 +67,9 @@ Any kind of contribution is welcome! 5. Create a [pull request](https://github.com/Andre0512/hon/pulls) #### Tips and Tricks -- If you want to have some states humanreadable, have a look at the `translation_key` parameter of the `EntityDescription` +- If you want to have some states humanreadable, have a look at the `translation_key` parameter of the `EntityDescription`. - If you need to implement some more logic, create a pull request to the underlying library. There we collect special requirements in the `appliances` directory. +- Use [pyhOn](https://github.com/Andre0512/pyhOn)s translate command to read out the official translations ## Tested Devices - Haier WD90-B14TEAM5 diff --git a/hacs.json b/hacs.json index af7dd29..85b5cbe 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,4 @@ { "name": "Haier hOn", - "render_readme": true, "homeassistant": "2023.2.0" } diff --git a/info.md b/info.md new file mode 100644 index 0000000..6eb24b5 --- /dev/null +++ b/info.md @@ -0,0 +1,35 @@ +# Haier hOn +[![GitHub manifest version (path)](https://img.shields.io/github/manifest-json/v/andre0512/hon?color=g&filename=custom_components%2Fhon%2Fmanifest.json)](https://github.com/Andre0512/hon/releases/latest) +[![Home Assistant installs](https://img.shields.io/badge/dynamic/json?color=41BDF5&label=usage&suffix=%20installs&cacheSeconds=15600&url=https://analytics.home-assistant.io/custom_integrations.json&query=$.hon.total)](https://analytics.home-assistant.io/) +Support for home appliances of Haier's mobile app hOn. + +## Supported Appliances +- Tumble Dryer +- Washer Dryer +- Washing Machine +- Oven + +## Tested Appliances +- Haier WD90-B14TEAM5 +- Haier HD80-A3959 +- Haier HWO60SM2F3XH +- Hoover H-WASH 500 + + +## Configuration + +**Method 1**: [![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=hon) + +**Method 2**: Settings > Devices & Services > Add Integration > **Haier hOn** +_If the integration is not in the list, you need to clear the browser cache._ + + +## Contribute +Want to help us to support more appliances? +Or add more sensors? +Or help with translating? +Or beautify some icons or captions? +Check out the [project on GitHub](https://github.com/Andre0512/hon), every contribution is welcome! + + +