koshi
koshi
HHASS.Agent
Created by koshi on 4/13/2024 in #💬・get-help
Getting wake lock status into HA
Hi! I am so glad to see someone has adopted this, since the project itself has been a life-saver in so many situations. I am trying to get my wake lock state into home assistant to have one more thing to check to make a decision if the system should be suspended or not - and I did see a powershell sensor has been integrated, which is really helpful for that, because now I just could do an "powercfg -requests | Select-String -Pattern "PROCESS"" or something as a quick hack - unfortunately powercfg requires admin rights and before I break my fingers to work around it: has anyone a better idea how to do it?
24 replies