I have an app that subscribes to the thermostat fan events, to track how long the fan runs in order to notify us when the filter needs to be replaced. I have a variable saved in state that is either "Yes" or "No" depending on if the run hours is exceeded, that is displayed on the app page. I also have a Boolean input that needs to be set when the filter is changed, to reset the fan run hours.
This works OK, but I only have visibility about the filter change when I open the app.
I haven't looked into setting up a rule to send a notification and do TTS, not sure how to do that with an app state variable or if it is even possible. Any hints in that direction would be great.
Also wondering if at some point in the future, there might be a way for me to display the state on the dashboard. The only way I can think of to do this right now is to modify the thermostat device driver to move the filter change logic there, then display that as a custom attribute. Any advice?
I don't have to have this working perfectly right now, so if it might be possible in the future to do any of these things, that would be a great answer too!