-
Notifications
You must be signed in to change notification settings - Fork 611
Add start mowing and dock intents for lawn mower #3057
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
base: main
Are you sure you want to change the base?
Conversation
@piitaya Shoundn't we do at least the basic work in English too when we introduce new intents? |
# lawn mower | ||
# ----------------------------------------------------------------------------- | ||
|
||
HassLawnMowerStartMowing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a bit confused as to whether the domain should be included in the intent name. In most cases it's not (e.g. HassSetVolume
, HassMediaPrevious
etc.).
I doubt there is another domain apart from lawn_mower
which can HassStartMowing
) so i don't see the reason for such a long name. I'd even combine HassVacuumStart
and HassLawnMowerStartMowing
in a simple HassStart
intent, with multiple domain support like HassTurnOn
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I used the same logic as vacuum domain to be consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd still want @synesthesiam or @balloob to take a look over this before approving this PR
413b011
to
efe918e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good for French, a few comments on the common files
responses: | ||
intents: | ||
HassLawnMowerStartMowing: | ||
default: "Started" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHOP CHOP ✂️✂️✂️✂️✂️✂️
(joke)
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Co-authored-by: JLo <jean.loic.pouffier@gmail.com>
Add start mowing and dock intents for lawn mower. Very similar than the vacuum ones.
It can be started/stopped by name, area or globally.
I added sentences in french and basic one in english as I'm not a native speaker.
It needs home-assistant/core#140525 to be merged to have core support.