github LAB02-Research/HASS.Agent 2022.13.0-beta2

latest releases: 2022.14.0, 2022.14.0-beta1, 2022.13.0...
pre-release2 years ago

Note: this is a beta release!


TL;DR breaking changes: because of sensor attributes being added to the multivalue sensors (and some of their individual sensors removed), your automations/scripts may need adjustments.


Finally, sensors can now use attributes! This is especially useful for multivalue sensors, and really cleans up the entity list HASS.Agent creates. Attributes have been implemented in all of them, and there's also a new one: printers. Contains a ton of info per printer, and info about pending documents.

However, this does mean that if you created automations/scripts using the old sensors, they may not work anymore. For instance; the storage sensor created a lot of sensors, but now only one per volume with its values (and more added!) as attributes.

There are also a bunch of new sensors and commands to tinker with :)


Features & improvements

  • Sensors now have the ability to include attributes

    • This has been implemented for all new ánd old multivalue sensors
    • Most of the old multivalue sensors have extra info added in their attributes
      • For instance, Storage now shows diskspace used and available as percentages
  • WindowsUpdates multivalue sensor now uses attributes

    • Available driver & software updates sensors (containing update names, type and other info)
    • Driver & software pending update count sensors
  • Display multivalue sensor now uses attributes

    • Every display has its own sensor, with its info as attributes
    • And a default display sensor, and amount of displays
  • Storage multivalue sensor now uses attributes

    • Every partition has its own sensor, with its info as attributes
    • And a total disk count sensor
  • Network multivalue sensor now uses attributes

    • Every network card has its own sensor (or the one you specified), with its info as attributes
  • Audio multivalue sensor now uses attributes

    • This only applies to the 'audio sessions' sensor, the rest is the same
  • New multivalue sensor: Printers

    • Provides information about all installed (usb and network) printers and their queues
    • Creates a sensor per printer, with its state as attributes
    • Also creates a sensor for the default printer ('queue') and the amount of pending prints
  • New command: MonitorSleep

  • New command: MonitorWake

  • New command: SetVolume

    • Sets the volume of the current default audiodevice to the provided value
    • Can be used with an Action
  • New sensor: MonitorPowerState (thanks Buffalo_Bro)

    • Provides the last monitor power state change:
      • Dimmed, PowerOff, PowerOn and Unknown
  • New sensor: PowershellOutput

    • Contains whatever output your powershell command or script gives, converted to text
    • You can test using the test button when creating the sensor
  • New sensor: WindowState (thanks TheHolyRoger)

    • Provides the current state of the process' window:
      • Hidden, Maximized, Minimized, Normal and Unknown
  • New sensors: MicrophoneProcess and WebcamProcess [#108] (thanks @DennisGaida)

    • Contains the name of the process using the device, or nothing if it's not being used
    • The existing MicrophoneActive and WebcamActive sensors still exist
  • You can now configure the tray icon to show the default menu on left-click (thanks madelena)

    • Only applicable when a WebView's set as the right-click action
    • This is a work-in-progress
  • Home Assistant API now has an allow untrusted certificates option (thanks Moldis)

  • MQTT can now be completely disabled (thanks AfcaEricNL)

    • This will also disable commands and sensors

Bugfixes

  • MQTT: device doesn't register if its name contains a whitespace

  • Improve handling of non-standard scaling [#99] (thanks @gorbunovav)

  • WebView: tray icon variant doesn't remember position for 'preview' button [#103] (thanks @Majumafoo)

  • 'Keep page loaded in the background' impacts all Webviews, processes never close [#131] (thanks @NCopeman)

  • WebView and LaunchUrl fail when using Action (thanks neonDog)

  • MQTT: messages are not sent with retain flag [#128] (thanks @TarcisioMenezes)

  • HASS.Agent no longer crashes when the OS doesn't support its media functionality [#113] (thanks @RafaelEstevamReis and @Stuke00)

Don't miss a new HASS.Agent release

NewReleases is sending notifications on new releases.