Can't find "SetAudioOutput" command
As mentioned in this post https://discord.com/channels/1173033284519862392/1173033285845266515/1195371878450216980 you can change your audio output, but I cant find the command. I presume it should be available in the command section. The audio sensor is working. I am running version 2.0.1. Does anyone know what is going on?
28 Replies
I don't know enough about .net stuff, but to me it looks like the code is not fully implemented for this feature in 2.0.1.
@Amadeo I'm only seeing code for an internal audio output command? Is there not currently an end user command?
Now I'm confused
It's only a Json triggered command right?
Either I did an upsie and forgot a whole feature branch when merging the previus PRs or there some weird bug in the code
Ya
All good we just need to help some of these people sort that out then.
Why?
If it's Json triggered then what's wrong? There is no winforms config for it so it doesn't exist in the UI.
No no, it'll always be in the UI
GitHub
HASS.Agent/src/HASS.Agent/HASS.Agent.Shared/HomeAssistant/Commands/...
Unofficial development project for the HASS.Agent platform. - hass-agent/HASS.Agent
Oh and that's it?
I just only saw this file while every other command I tried had like 15 files
So I thought that meant it was internal only.
Ok, checking this on phone is less than optimal :D
Give me a few mins I'll get to the pc and check it there
Yeah, the "categorization" of sensors/commands have some logic behind it but I'm yet to notice it
Tell me ABT it 😂 I'm in bed and it's like 2 am 😂
I've put it here probably because the set volume was there from the beginning and it "fit"
So it's some sort of bug then that should get fixed in next patch?
The categorization in packages will be dealt with in the 3.0.0 along with rewrite.
The audio thingy I'll figure out once I near a pc
Yep, but should be a patch right? Not waiting for a minor version?
yeah
oh yeah
very nice of me
not only this but set application volume also
Bugfix will be out shortly
@Chrisdegod please try https://github.com/hass-agent/HASS.Agent/releases/tag/2.0.2-beta1
GitHub
Release 2.0.2-beta1 · hass-agent/HASS.Agent
Changes
This small bug-fix release adds configuration to allow two already developed commands ("SetAudioOutputCommand" and "SetApplicationVolume") to be visible within UI.
All c...
or if you have beta version check enabled in HASS.Agent you can just click "Check for updates" 🙂
@Chrisdegod , sorry this is unrelated but by any chance did you delete a message from the discord bot when the thread was first created?
Will try when I get home
I did not 🫣
Hmm, all good, got some very weird issues to work through then.
It worked 🥳
nice 😄
Solution
Fixed in 2.0.2
Right @Amadeo ?
ya
I'll move it from beta to release in some time(TM) 😄
All good, just marking as solved 😄
Well thank you very much for taking the time to solve the issue!