HASS.Agent
HASS.Agent copied to clipboard
Bug: WindowState always "Unknown"
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Open Sensors Configuration
- Add a WindowState for window "Sensorc Configuration"
- Observe last Known Value is "Unknown"
Expected behavior Last Known Value should change to "maximized"
Windows 11
- [x] Installed via installer
- [ ] Installed manually
- [x] Problem occurs in HASS.Agent
- [ ] Problem occurs in Satellite Service
The sensor could do with an overhaul, the description and configuration option is a little misleading.
This sensor requires a path to an application exe file* which is then used to monitor the state of this application, for example
D:\Gry\Powder\powder-sse.exe
C:\Windows\System32\notepad.exe
Note: HASS.Agent will convert those to "powder-sse" and "notepad" respectively (and those "short" versions can be put there manually)
Plus while testing this I noticed that it has a bug where trying to monitor "HASS.Agent", it'll try to find windows of "HASS" due to how it tries to shorten the name...
-
- to be specific it is a process name but this almost always is equal to the exe name