zacs / ha-nfl

NFL game scores custom component for Home Assistant
42 stars 32 forks source link

Pro Bowl AFC/NFC teams unavailable. #10

Closed gonzotek closed 2 years ago

gonzotek commented 2 years ago

I left a message in the Home Assistant forums, but thought it might help to also put an issue in here with the JSON. I tried both NFC and AFC as a team acronym, but Home Assistant reports the state of these entities as unavailable. Attached is a capture of the JSON from about 3:30pm today, Thursday 2/3/22. scoreboard.json.txt

gonzotek commented 2 years ago

Started digging into the code with debug logging turned on: Error fetching NFL AFC data: 'records'

gonzotek commented 2 years ago

Ok, made some changes in init.py and got the entities to load. Needed changes to the team_record & team_color values (and opponent_record & opponent_color). I'm going to attempt to create a pull request with the changes...if I mess up, I'll share the modified code here (or however is preferred).

gonzotek commented 2 years ago

Fixed in https://github.com/zacs/ha-nfl/releases/tag/v0.4