Skip to content

b2022.3.31

Pre-release
Pre-release
Compare
Choose a tag to compare
@LAB02-Admin LAB02-Admin released this 31 Mar 15:13
· 112 commits to main since this release
e5ef708

Note: this is a beta release!


This beta contains some much requested love for commands: you can now choose the entity type as which the command will be added to Home Assistant, and you can send custom data!

There's a wiki page dedicated to command actions, containing extra screenshots, info and examples - so it's worth having a look:

https://github.com/LAB02-Research/HASS.Agent/wiki/Command-Actions-Usage-&-Examples


Features & improvements

  • You can now choose the command entity type

    • Currently supported: button, light, lock, siren and switch
    • The selected type doesn't change the way the command is handled
  • You can now send additional variables to commands

    • I'm using HA's 'action' MQTT topic, so I called them actions
    • Currently supported: Custom, Custom Executor, Launch Url and Powershell
    • You can use an action (the name works out) in your automations and scripts to publish your variables
      • For examples and info on how you can easily get the right topic, check the wiki page
    • This will trigger the command to run the specified value
    • You can either specify a command in HASS.Agent, or leave the command field empty (so only your arguments will be passed)
      • Either way, it's up to you to define the correct (escaped) quotes