8000 Add start mowing and dock intents for lawn mower by piitaya · Pull Request #3057 · OHF-Voice/intents · GitHub
[go: up one dir, main page]

Skip to content

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

piitaya
Copy link
Contributor
@piitaya piitaya commented Mar 13, 2025

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.

@piitaya piitaya requested a review from jlpouffier as a code owner March 13, 2025 16:15
@piitaya piitaya requested review from synesthesiam and jlpouffier and removed request for jlpouffier March 13, 2025 16:15
@jlpouffier
Copy link
Member

@piitaya Shoundn't we do at least the basic work in English too when we introduce new intents?

CC @synesthesiam

# lawn mower
# -----------------------------------------------------------------------------

HassLawnMowerStartMowing:
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

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

@piitaya piitaya force-pushed the lawn_mower_intents branch from 413b011 to efe918e Compare March 27, 2025 13:53
Copy link
Member
@jlpouffier jlpouffier left a 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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHOP CHOP ✂️✂️✂️✂️✂️✂️
(joke)

@home-assistant home-assistant bot marked this pull request as draft March 27, 2025 13:57
@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

piitaya and others added 2 commits March 27, 2025 14:58
Co-authored-by: JLo <jean.loic.pouffier@gmail.com>
@piitaya piitaya marked this pull request as ready for review March 27, 2025 15:28
@home-assistant home-assistant bot requested a review from jlpouffier March 27, 2025 15:28
@piitaya piitaya requested a review from balloob March 27, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0