#media_player.sonos_woonkamer with alias
1 messages Β· Page 1 of 1 (latest)
https://my.home-assistant.io/redirect/developer_assist/ and try the sentence (in English, obviously), then paste back the results
the sentences for Dutch are different. I wanted to say that in Dutch you could try "zet sonos volume naar 20" (mind you, I don't speak Dutch, so I may have written something stupid) but actually that also triggers brightness (cc @safe storm)
let me check
"sonos 20" "helderheid aangepast" π
@woeful kayak which sentence did you use?
in Dutch
@opal hemlock something seems to be wrong
This is an example from the tests I used
Zet het volume op de TV omhoog naar 90%
So TV is the name
That's the exact same structure for the sentence, but it adds omhoog to the name it's looking for
If I remove that, it adds naar 10% to the name
zet sonos volume 20Sorry, ik snap het niet
zet sonos volume naar 20Sorry, ik snap het niet
zet het volume op sonos naar 10%Sorry, ik kan geen apparaat vinden met de naam volume op sonos
sonos 20Helderheid aangepast
it looks like the dutch intents are not updated
this is in my dev system (running nightly)
will check
made an automation for that and it works great now for the roborock
zet volume naar 20
β
Taal: Nederlands (nl)
name: HassLightSet
slots:
brightness: '20'
details:
brightness:
name: brightness
value: 20
text: '20'
targets: {}
match: false
sentence_template: >-
[<doe>|<zou>] <name>[ ][<lamp>][ ][<helderheid>] [<naar>] <brightness>
[[willen|kunnen] <doe>]
unmatched_slots:
name: 'volume '
source: builtin ```
the PR to include the new intents was created to late
the updates will be included in 2024.3.1
Oki cool
when i talk to assist to turn brightness to 30% of a room it fails
it puts a , behind the room and before the number which result in a fail for me
slaapkamer groot 30% Helderheid aangepast
slaapkamer groot, 30% Sorry, ik snap het nie
working fine here, are you using voice?
if so, it's an issue in your STT integration
STT ?
when i use voice it adds a comma between "martijn & 30% "
yeah, it should not do that
i cant send pictures π
slaapkamer groot 30%Helderheid aangepastslaapkamr groot, 31%Sorry, ik snap het nietslaapkamer groot, 31%Sorry, ik snap het niet
Odd
Please use imgur or other image sharing web sites, and share the link here.
Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.
Your using whisper or HA Cloud ?
slaapkamer groot, 31%Sorry, ik snap het nietslaapkamer, groot, 31%Helderheid aangepast
haha
this is so odd
with 1 comma it fails and with 2 commas it succeeds
same in English BTW
but when i use assist it seems to always adds a comma before the number
there are some more quirks i found out today.. Dno if this was before... But also when i say for ex "werkkamer martijn lamp aan" it doesnt work aswell.. Dont know if this is intended or not
But adding the "lamp" fails
also doesnt work in alias for me
mm seems fine now for me aswell odd π
Slaapkamer, groot lamp uit.UitgezetAchtertuin lamp aan?Sorry, ik kan geen light vinden in achtertuin
well, that seems clear, no lights are added to that area
light.achtertuin is an entity ^
okay, but it tries to match the area achtertuin, and then looks for all lights in that area
Ahhh okayy
yea
it should work with zet <name> lamp aan as well
when i put them into the room achtertuin it does work
π
no problem
And those other issues will be "fixed" with the next update?
Mike (the main developer for Assist) will look into the comma thing
and the vacuum and media player intents will also be included in the next release
Oki cool thxπ
Hey Fes,
"Zet sonos volume naar 10%" works now π Is it also possible to do "sonos volume 10%" ?
Yes, that would be possible
well, I meant it is possible to add it to the sentences
but it is not added now
https://github.com/home-assistant/intents/blob/main/sentences/nl/media_player_HassSetVolume.yaml
I would need to add:
- <name> volume [percent]
where can i add it myself ? ^^
you can create a custom intent if you want to add it yourself
you can also create a PR on that repo and I will check and merge it π
but I will add it now
not sure if there will be an intents update on 2024.4 though
custom intent you mean automation i guess?
If you use this as a custom intent, your proposed sentence will workhttps://github.com/home-assistant/intents/blob/nl_volume/sentences/nl/media_player_HassSetVolume.yaml
After the next intents update, it will work for everyone, I expect that'll be in 2024.4 which will be released next week