-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add airx h8 humidifier #2710
Conversation
The use of Chinese throughout this PR makes it difficult for me to review |
This is a product that is manufactured and sold in China. From this perspective, most users come from China and use Chinese. Therefore, I have used Chinese for the device name and some non-universal DP (data points). How should I modify the file for your review? Should I add English comments in the YAML file where there is Chinese, or should I improve the translation file by adding these non-universal functions to the translation file? |
|
Expanding the translations is always welcome. But where possible try to use what is already there, in HA or tuya-local. |
Translation is quite difficult for me, and I can only use ChatGPT to help me with the translation. However, I cannot guarantee the accuracy of the translation. Is this acceptable? |
Just English and Chinese is OK for a start. From the English, I can take care of the rest using CoPilot (I'm not sure if the translations are any better than ChatGPT but I do know it understands the format of the translation files). |
… machine_separation_status
…or airx h8 humidifier
Split manufacturer and model, ready to use in device info in future.
- replace machine_separation_status with the "opening" class. - rename water_volume to water_level - rename electrolysis_sterilization to electrolytic_sterilization - rename middle water level to medium - change water_level icons to gauge based - add docs PR make-all#2710
Hello,
This is my first time submitting a PR. Currently, the device I'm using, the "airx Pure Humidifier H8Pro," is not fully compatible. Therefore, I have added a new device configuration file. Based on my tests, all the data points (dp) are working very well. For the specific dp definitions, I have tried to use the standard definition types as much as possible. For the ones that didn't have predefined types, I created custom state values and selected appropriate icons. If there are any issues, please feel free to point them out. Thank you.
Best regards,
李余通