LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.59k stars 74 forks source link

Feature: expand WindowSate sensor to recognize fullscreen content #184

Open DivanX10 opened 2 years ago

DivanX10 commented 2 years ago

Thank you for adding the WindowSate function and I tried it out. Previously, I created a function request for fullscreen mode here. I installed beta version 2022.13.0-beta 4 to test the operation of the WindowSate sensor. The sensor is not working properly. The sensor shows which window size is not_found, normal, maximized, minimized, but this is not what I wrote. It is necessary to show the fullscreen mode not of the application, but of the content. For example, now the WindowSate sensor works like this, opened the browser not to full screen, then shows the status Normal, if to fullscreen, then shows maximized even if I watch online movies not in full screen mode. At IOTLink, I watch online movies not in fullscreen mode and fully expanded browser, then FullScreen is False, and if I watch online movies in full-screen mode and fully expanded browser, it shows FullScreen is True. FullScreen is exactly fullscreen mode, it's like pressing the F11 button when watching an online movie or youtube.

Issue Full-screen mode sensor

LAB02-Admin commented 2 years ago

Ok, I'll look into it @DivanX10