Update readme
This commit is contained in:
parent
0e9bd97c7b
commit
7b80acb6b9
3 changed files with 52 additions and 44 deletions
69
README.md
69
README.md
|
@ -30,6 +30,39 @@ _Restart Home Assistant_
|
||||||
**Method 2**: Settings > Devices & Services > Add Integration > **Haier 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._
|
_If the integration is not in the list, you need to clear the browser cache._
|
||||||
|
|
||||||
|
|
||||||
|
## Supported Models
|
||||||
|
Support was confirmed for these models. If a supported model is missing, please [add it with this form](https://forms.gle/bTSD8qFotdZFytbf8).
|
||||||
|
- Haier WD90-B14TEAM5
|
||||||
|
- Haier HD80-A3959
|
||||||
|
- Haier HWO60SM2F3XH
|
||||||
|
- Hoover H-WASH 500
|
||||||
|
- Candy CIS633SCTTWIFI
|
||||||
|
- Haier XIB 3B2SFS-80
|
||||||
|
- Haier XIB 6B2D3FB
|
||||||
|
|
||||||
|
## Supported Languages
|
||||||
|
Translation of internal names like programs are available for all languages which are official supported by the hOn app:
|
||||||
|
* 🇨🇳 Chinese
|
||||||
|
* 🇭🇷 Croatian
|
||||||
|
* 🇨🇿 Czech
|
||||||
|
* 🇳🇱 Dutch
|
||||||
|
* 🇬🇧 English
|
||||||
|
* 🇫🇷 French
|
||||||
|
* 🇩🇪 German
|
||||||
|
* 🇬🇷 Greek
|
||||||
|
* 🇮🇱 Hebrew
|
||||||
|
* 🇮🇹 Italian
|
||||||
|
* 🇵🇱 Polish
|
||||||
|
* 🇵🇹 Portuguese
|
||||||
|
* 🇷🇴 Romanian
|
||||||
|
* 🇷🇺 Russian
|
||||||
|
* 🇷🇸 Serbian
|
||||||
|
* 🇸🇰 Slovak
|
||||||
|
* 🇸🇮 Slovenian
|
||||||
|
* 🇪🇸 Spanish
|
||||||
|
* 🇹🇷 Turkish
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
Any kind of contribution is welcome!
|
Any kind of contribution is welcome!
|
||||||
### Read out device data
|
### Read out device data
|
||||||
|
@ -92,39 +125,7 @@ For every device exists a hidden button which can be used to log all info of you
|
||||||
#### Tips and Tricks
|
#### 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.
|
- 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's translate command](https://github.com/Andre0512/pyhOn#translation) to read out the official translations
|
- Use [pyhOn's translate command](https://github.com/Andre0512/pyhOn#translation) to read out the official translations
|
||||||
|
|
||||||
## Tested Devices
|
|
||||||
- Haier WD90-B14TEAM5
|
|
||||||
- Haier HD80-A3959
|
|
||||||
- Haier HWO60SM2F3XH
|
|
||||||
- Hoover H-WASH 500
|
|
||||||
- Candy CIS633SCTTWIFI
|
|
||||||
- Haier XIB 3B2SFS-80
|
|
||||||
- Haier XIB 6B2D3FB
|
|
||||||
|
|
||||||
## Supported Languages
|
|
||||||
Translation of internal names like programs are available for all languages which are official supported by the hOn app:
|
|
||||||
* 🇨🇳 Chinese
|
|
||||||
* 🇭🇷 Croatian
|
|
||||||
* 🇨🇿 Czech
|
|
||||||
* 🇳🇱 Dutch
|
|
||||||
* 🇬🇧 English
|
|
||||||
* 🇫🇷 French
|
|
||||||
* 🇩🇪 German
|
|
||||||
* 🇬🇷 Greek
|
|
||||||
* 🇮🇱 Hebrew
|
|
||||||
* 🇮🇹 Italian
|
|
||||||
* 🇵🇱 Polish
|
|
||||||
* 🇵🇹 Portuguese
|
|
||||||
* 🇷🇴 Romanian
|
|
||||||
* 🇷🇺 Russian
|
|
||||||
* 🇷🇸 Serbian
|
|
||||||
* 🇸🇰 Slovak
|
|
||||||
* 🇸🇮 Slovenian
|
|
||||||
* 🇪🇸 Spanish
|
|
||||||
* 🇹🇷 Turkish
|
|
||||||
|
|
||||||
|
|
||||||
## About this Repo
|
## About this Repo
|
||||||
The existing integrations missed some features from the app I liked to have in HomeAssistant.
|
The existing integrations missed some features from the app I liked to have in HomeAssistant.
|
||||||
|
@ -265,7 +266,7 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0
|
||||||
| Dry level | `hair-dryer` | `sensor` | `dryLevel` |
|
| Dry level | `hair-dryer` | `sensor` | `dryLevel` |
|
||||||
| Error | `math-log` | `sensor` | `errors` |
|
| Error | `math-log` | `sensor` | `errors` |
|
||||||
| Machine Status | `information` | `sensor` | `machMode` |
|
| Machine Status | `information` | `sensor` | `machMode` |
|
||||||
| Program | `tumble-dryer` | `sensor` | `prCode` |
|
| Program | `tumble-dryer` | `sensor` | `programName` |
|
||||||
| Program Phase | `washing-machine` | `sensor` | `prPhase` |
|
| Program Phase | `washing-machine` | `sensor` | `prPhase` |
|
||||||
| Remaining Time | `timer` | `sensor` | `remainingTimeMM` |
|
| Remaining Time | `timer` | `sensor` | `remainingTimeMM` |
|
||||||
| Start Time | `clock-start` | `sensor` | `delayTime` |
|
| Start Time | `clock-start` | `sensor` | `delayTime` |
|
||||||
|
|
23
info.md
23
info.md
|
@ -13,12 +13,6 @@ Support for home appliances of Haier's mobile app hOn.
|
||||||
- [Dish Washer](https://github.com/Andre0512/hon#dish-washer)
|
- [Dish Washer](https://github.com/Andre0512/hon#dish-washer)
|
||||||
- [Air conditioner](https://github.com/Andre0512/hon#air-conditioner) [BETA]
|
- [Air conditioner](https://github.com/Andre0512/hon#air-conditioner) [BETA]
|
||||||
|
|
||||||
## Tested Appliances
|
|
||||||
- Haier WD90-B14TEAM5
|
|
||||||
- Haier HD80-A3959
|
|
||||||
- Haier HWO60SM2F3XH
|
|
||||||
- Hoover H-WASH 500
|
|
||||||
|
|
||||||
## Configuration
|
## 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 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)
|
||||||
|
@ -26,9 +20,15 @@ Support for home appliances of Haier's mobile app hOn.
|
||||||
**Method 2**: Settings > Devices & Services > Add Integration > **Haier 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._
|
_If the integration is not in the list, you need to clear the browser cache._
|
||||||
|
|
||||||
## Contribute
|
## Supported Models
|
||||||
Want to help us to support more appliances? Or add more sensors? Or help with translating? Or beautify some icons or captions?
|
Support was confirmed for these models. If a supported model is missing, please [add it with this form](https://forms.gle/bTSD8qFotdZFytbf8).
|
||||||
Check out the [project on GitHub](https://github.com/Andre0512/hon), every contribution is welcome!
|
- Haier WD90-B14TEAM5
|
||||||
|
- Haier HD80-A3959
|
||||||
|
- Haier HWO60SM2F3XH
|
||||||
|
- Hoover H-WASH 500
|
||||||
|
- Candy CIS633SCTTWIFI
|
||||||
|
- Haier XIB 3B2SFS-80
|
||||||
|
- Haier XIB 6B2D3FB
|
||||||
|
|
||||||
## Supported Languages
|
## Supported Languages
|
||||||
Translation of internal names like programs are available for all languages which are official supported by the hOn app:
|
Translation of internal names like programs are available for all languages which are official supported by the hOn app:
|
||||||
|
@ -52,10 +52,13 @@ Translation of internal names like programs are available for all languages whic
|
||||||
* 🇪🇸 Spanish
|
* 🇪🇸 Spanish
|
||||||
* 🇹🇷 Turkish
|
* 🇹🇷 Turkish
|
||||||
|
|
||||||
|
## 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!
|
||||||
|
|
||||||
## Useful Links
|
## Useful Links
|
||||||
* [GitHub repository](https://github.com/Andre0512/hon) (please add a star if you like this integration!)
|
* [GitHub repository](https://github.com/Andre0512/hon) (please add a star if you like this integration!)
|
||||||
* [pyhOn library](https://github.com/Andre0512/pyhOn)
|
* [pyhOn library](https://github.com/Andre0512/pyhOn)
|
||||||
* [Release notes](https://github.com/Andre0512/hon/releases)
|
* [Release notes](https://github.com/Andre0512/hon/releases)
|
||||||
* [Discussion and help](https://github.com/Andre0512/hon/discussions)
|
* [Discussion and help](https://github.com/Andre0512/hon/discussions)
|
||||||
* [Issues](https://github.com/Andre0512/hon/issues)
|
* [Issues](https://github.com/Andre0512/hon/issues)
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,14 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from pyhon import HonAPI
|
from pyhon import HonAPI
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||||
|
|
||||||
from custom_components.hon import const
|
from custom_components.hon import const
|
||||||
|
|
||||||
SENSOR = {
|
SENSOR = {
|
||||||
|
|
Loading…
Reference in a new issue