Found a number of my followed teams were coming up unavailable today, but not all of them (BUF was the only working one out of BUF, BAL, PHI, & JAX). Stepping through the json, the broadcasts (event["competitions"][0]["broadcasts"][0]["names"][0]) were empty in each of the non-functioning teams.
A simple try/except block to assign None to the tv_network value if the broadcasts is found to be empty seems to work and the sensors then get populated. @D34DC3N73R 's ha-nfl-card still looks ok without the tv network displayed.
Found a number of my followed teams were coming up unavailable today, but not all of them (BUF was the only working one out of BUF, BAL, PHI, & JAX). Stepping through the json, the broadcasts (event["competitions"][0]["broadcasts"][0]["names"][0]) were empty in each of the non-functioning teams.
A simple try/except block to assign None to the tv_network value if the broadcasts is found to be empty seems to work and the sensors then get populated. @D34DC3N73R 's ha-nfl-card still looks ok without the tv network displayed.