Comments (3)
The descriptions are from the petkit cloud server and this component cannot translate them.
from petkit.
ok, thank you for the explanation.
Could it be possible to make a simple translating-ish script?
Example:
if text from Desc attribute is "chinese_words_for_next_feeding_time hh:mm" than set the value to "Next Feeding: hh:mm"
Of course this would be useless if the problem with petkit's server persists.
from petkit.
I'd rather call this sort of a bug/feature request... It's possible to add X-Locale: en_US
to the requests and responses come in English - at least error messages do. This could be a config option, if there's interest in keeping the Chinese messages for those who want it, but I'd default to English since that's the standard language in which HA is documented and such.
I discovered this by fiddling with https://reqbin.com/vljzzpwl (trying to find wether lack of P3 details is an API issue or missing implementation) and some reversed-engineering docs from https://github.com/morganpartee/pyPetKit (which do not have any docs on P3, but I would suggest the developer to join forces with @morganpartee since he seems to be interested in integrating some stuff in HA as well :)
from petkit.
Related Issues (20)
- pet_weight in Puramax is set only the very first time of a day HOT 2
- Pura Max can't use "cleanup" and "continue" HOT 3
- Beginners Guide Request HOT 2
- FRESH ELEMENT food state doesn't change to "Problem" when there is insufficient food.
- Login error code 125 HOT 5
- Water Fountain Represented as Feeder HOT 2
- PURA X Usage Time
- Feature request: allow installation via HACS
- Username needs better explanation
- Feature request: group entities under a single device (Fit 3)
- Feature request: turn P3 data into statistical details
- 智能猫厕所MAX,手动清理求助。 HOT 1
- Official cooperation
- Error 125 and general set up
- Doesn't work (Install by wget)
- 喂食器未找到设备,饮水机提示更新软件
- Error when calling feeding switch HOT 5
- UK integration not working HOT 2
- Update to new api endpoints
- 天气预报的服务器域填什么啊 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from petkit.