-
Notifications
You must be signed in to change notification settings - Fork 11
Description
In the coming Common Names feature of Open Plantbook, the API will be able to return Common Names for a specific language. I plan to process "lang" query parameter and its value as ISO 639 Set-1 (2 characters length) language code and return corresponding Common Name via "alias" field.
The way I see it implemented in the integration is it needs to have 2 additional options in the config. An option to enable sending HASS language code as part of Plant Details API request and perhaps option to override HASS language and some desired language to Plantbook if someone needs for example HASS UI in English but Common Names in "mother language".
The search will work through all Plants' Common Names as it is now.
BTW, Open Plantbook SDK will be need to support this feature too.