Good morning everyone! I’ve been working on this for a few days, and thought it would be worth sharing…
I created a fully local (leverages MQTT) Issue Tracker for my smart home, complete with notifications whenever an issue is opened or closed, and a Lovelace card for managing issues!
A couple pictures of the card:
Each issue has a simple description, but is tagged with when it was opened, and by which HA user. This does require MQTT auto-discovery to really function properly, as each issue you create also creates an MQTT binary_sensor
for the issue, so it can be displayed in the card automatically.
The card allows for closing (and reopening) issues via hold_action
, along with a confirmation. You can also filter by the open/closed status, or show all of the issues you’ve had.
This isn’t quite as complex as using a full-fledged issue tracking system like GitHub (for example, it doesn’t include comments, labels, etc…), but is certainly powerful enough for me to make something of a “to-do list” whenever I find bugs or things that need fixing around my home… and easy enough (I hope ) for my spouse to be able to as well!
I’ve included the code for the required scripts and entities, as well as the card, in a Gist: Home Assistant Local Issue Tracker · GitHub
And there’s a blueprint to use for getting notifications as well: Home Issue Tracker Notifications
Let me know what you guys think!