Call for help: Let's build some quick ass sentences for the new HassSetPosition
intent
#2055
Replies: 4 comments 17 replies
-
Yo JLo. So in the end |
Beta Was this translation helpful? Give feedback.
-
Agree with interchangeability of |
Beta Was this translation helpful? Give feedback.
-
What is about "set|open|close"
or should this go into another discussion (same logic should count for valves and volume)? 🙂 |
Beta Was this translation helpful? Give feedback.
-
@jlpouffier, I'm already watching all of your PRs :) this is already a living thing in Hungarian. Thank you here as well. |
Beta Was this translation helpful? Give feedback.
-
Yo @home-assistant/language-leaders 👋🏻
Normally, we all copy the idea of the English sentences to create our own sentences in our own language, English proving guidance most of the time.
For the
HassSetPosition
, English was a bit late to get all the use cases created for this release and I saw a few languages replicating the ONE sentence that exists in English.I would recommend you to check what has been done in French, I can translate roughly what I did here to inspire you.
I opened this discussion because while writing the release note for. 2024.3, I noticed that this intent is quite week for now.
First I split the file
homeassistant_HassSetPosition.yaml
intocover_HassSetPosition.yaml
andvalve_HassSetPosition.yaml
to get more granular control on what I was doing.On the valve side, I decided to keep it extremely simple and only allow users to set a valve position by targeting ONE entity by its name.
Like
set the irrigation valve position to 50%
and that's it.This file is here and it's pretty simple, one use-case: Name targeting: https://github.com/home-assistant/intents/blob/main/sentences/fr/valve_HassSetPosition.yaml
Why: valve as a domain is too new to understand exactly what people want to do with it.
On the cover side, we did:
set the blue curtain position to 50%
set the living room blue curtain position to 50%
set (all) the living room shutterS position to 50%
set (all) the shadeS position to 50%
set the curtainS position (in here) to 50%
Even if you cannot read French, the comments show the structuring of the file here:
https://github.com/home-assistant/intents/blob/main/sentences/fr/cover_HassSetPosition.yaml
Note (This one is more on a per language basis), I am far from being an expert in your language:
In French we decided to use interchangeably the verbs
set
,open
, andclose
for setting a cover positionset the blue curtain position to 50%
open the blue curtain to 80%
close the blue curtain to 20%
We assumed that if users want to set a position that is smaller than the current position, they may use a "closing" verb, and vice versa.
I remain available if you need help!
Beta Was this translation helpful? Give feedback.
All reactions