I loaded the NFL integration from HACS. https://github.com/zacs/ha-nfl I would like to trigger my WLED Playlist when a touchdown is scored by my team. I see the stats coming through to HA, but there doesn't seem to be an obvious way to know if a touchdown is scored or not for the correct team. So I am figuring calculations with the "Team Score" attribute which is my teams score is how I'd need to do this.
What is the best suggested way to track the value of the attribute changing so that when the score increases by 6 points it triggers my automation to start the WLED playlist?
I thought somehow saving the previous value of the team score and checking that value whenever it changes for the 6 number difference. So I have general logic, but not how to actually implement it.