I would like to have something that scans a dashboard of home assistant for text every few seconds or so (or instantly if possible and not taking too much cpu) and if the specific string is detected, execute a action like turning on a boolean.
Would this be possible to program?
The reason i ask is that i have some tablets around the home that always show a home assistant dashboard, but time to time it suddenly reports that a custom card or element doesn’t exist, and then it will not restore itself until a refresh or restart of home assistant. So i would like to exeucte a action that when detected, it sends a command to the device in question to restart, for example.