Skip to content
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

Release: 2.1.0 - PR to main branch #170

Merged
merged 49 commits into from
Sep 28, 2024
Merged

Release: 2.1.0 - PR to main branch #170

merged 49 commits into from
Sep 28, 2024

Conversation

amadeo-alex
Copy link
Collaborator

I need to find a more streamlined way to do this.

This PR adds additional configuration without which the "SetAudioOutputCommand" and "SetApplicationVolume" commands were not available within UI.

In addition:
- it adds ability to configure the device audio name in UI for SetAudioOutputCommand
- it adds translations for audio sensors missing in previous versions
This PR attempts to fix HASS.Agent crash when virtual desktops are switched.
Probable root cause was bug in the management library HASS.Agent uses, this PR bumps the dependency version of this library to newest version.
* updated versions to 2.1.0-beta1

* updated installer version
This PR fixes issue where the "LastUpdated" value is not updated if sensor value is same as previously.
This PR adds screenshot sensor (camera entity) which was originally proposed and implemented by @denisabt in the PR to original HASS.Agent repository LAB02-Research#8
This sensor is supported only for client part of HASS.Agent.
This PR adds "SetAudioInputCommand" requested by Chrisdegod.
In current state both default audio input and default communications device is set.
Supports setting device configured within UI as well as sent as a payload on the command topic.
This PR fixes how action arguments are passed on to the PowershellCommand.
Previously whole action string was passed as a one argument, this prevented parameter binding - after the changes the action string itself defines how the parameter/s will be handled.

Thanks to @shupershuff for reporting :)
* added charset to the dllimport
* added check for the window name length
* discovery payload is sent only once per run and config change
…ernation (#51)

This PR adds an option to ignore grace period if system was woken up from the hibernation not later than the grace period itself - disabled by default.
This PR adds modern transparent tray icon option
This PR adds additional check for the german input language being installed on system.
Should remediate cases where mixed language systems (English UI with German keyboard layout) do not present the notification regarding HotKey collision - #62
This PR makes the microphone process sensors attributes to be cleared when no process is using the microphone.
This PR adds "ProcessName" attribute to the ActiveWindowSensor.
…lue being null (#78)

This PR adds additional checks for WMI sensor where one of the property values can be null.
… state_class) (#79)

This PR adds feature requested via #66 - ability to override device_class, unit_of_measurement and state_class for the sensors.
Important Note

Due to "tech debt" restrictions, despite advanced options being enabled for multiple value sensors (like audio sensor), the advanced settings will work only for single value sensors.
This PR adjusts state class and device class of various sensors.
Previously sensors like CPU load sensor would report their value as "string" - each update would be visible as a string, not number.
After this change, Home Assistant statistics and other features will be available for the corrected sensors.
This PR fixes screenshot sensor capturing only part of the screen when "non 100%" scaling.
Thanks for @ElDingo424 for reporting - #81
This PR should fix issues with the CoreAudio library that were either due to our improper use of it or some internal unmanaged resources leak - #64

After testing multiple audio libraries I've settled for:

    CSCore for general audio sensors
    DIY solution for activating specific device (making it default)

In addition to that, whole audio management was redesigned to work on an event basis rather than constantly pooling the OS for information.
…commands (#88)

This PR fixed commands friendly name not being properly saved when creating/editing sensors - entity name was used instead.
* separated sensor id from sensor entity name in image of audio sensors

* cleanup
This PR adds functionality requested via #97 - action parameter support for "MultipleKeys" command.
As of now, the "Key" command has been left unchanged.
This PR:

    changes the audio library to NAudio
    fixed issue with media playback using deprecated method that occasionally resulted in access memory violation
    adds additional logic to handle audio management after system has been put to sleep
…edia player mute assignment (#102)

This PR fixes:
    audio devices returned from AudioManager not having "Mute" attribute assigned properly
    media player not reporting mute status
This PR separates the installer into two different ones (embedded) that allows for non-privileged user installation.
Devices are no longer cached but rather their IDs - required devices are instantiated as needed. This has a small performance hit but should resolve random issues with audio sensors and commands.

This PR fixes satellite sensors/commands:

    not saving advanced settings
    not saving round configuration
    not saving "ignore availability" option
This PR adds feature requested via #116 - a command (best working as switch) that allows to show/hide the configured tray web view.
* changed version to beta3

* changed version to beta3

* added note to the migration task to be used only once
This PR backports features that were developed as part of "v3 rewrite" project.
The added features were based on the Home Assistant's Android notifications documentation - https://companion.home-assistant.io/docs/notifications/notifications-basic/
* webview now tries to take into account different taskbar position

* cleanup
* removed beta4 tag
* added notice regarding migration option being used only once
)

This PR fixes a bug causing some satellite sensors and commands to have improper friendly name (always equal to entityname)
@amadeo-alex amadeo-alex merged commit c75e2b9 into main Sep 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant