[RELEASE] GameTime - Pro & College Sports Schedules Integration

Hi @JustinL - I noticed a few of my teams stopped displaying. For the football tile (Miami Dolphins) I noticed an error in the logs:

app:7672025-09-17 03:45:04.351 PMerrorjava.lang.NullPointerException: Cannot get property 'wins' on null object on line 773 (method updated)
dev:7032025-09-17 03:45:04.301 PMerrorjava.lang.RuntimeException: java.sql.SQLException: NULL not allowed for column "NAME"; SQL statement: UPDATE DEVICE SET VERSION = ?, DEVICE_NETWORK_ID = ?, LABEL = ?, NAME = ?, ZIGBEE_ID = ?, DEVICE_TYPE_ID = ?, HT_GROUP_ID = ?, UPDATE_TIME = ?, LAN_ID = ?, DISPLAY_AS_CHILD = ?, MAX_EVENTS = ?, MAX_STATES = ?, DISABLED = ?, MESH_ENABLED = ?, MESH_FULL_SYNC = ?, COLLECTION_ID = ?, SPAMMY_THRESHOLD = ?, COMPATIBLE_DEVICE_ID = ?, DEFAULT_CURRENT_STATE = ?, PARENT_INSTALLED_APP_ID = ?, SHOW_ON_HOME = ?, TAGS = ?, DEFAULT_ICON = ?, NOTES = ?, RETRY_ENABLED = ? WHERE ID = ? AND VERSION = ? [23502-224] Query: UPDATE DEVICE SET VERSION = ?, DEVICE_NETWORK_ID = ?, LABEL = ?, NAME = ?, ZIGBEE_ID = ?, DEVICE_TYPE_ID = ?, HT_GROUP_ID = ?, UPDATE_TIME = ?, LAN_ID = ?, DISPLAY_AS_CHILD = ?, MAX_EVENTS = ?, MAX_STATES = ?, DISABLED = ?, MESH_ENABLED = ?, MESH_FULL_SYNC = ?, COLLECTION_ID = ?, SPAMMY_THRESHOLD = ?, COMPATIBLE_DEVICE_ID = ?, DEFAULT_CURRENT_STATE = ?, PARENT_INSTALLED_APP_ID = ?, SHOW_ON_HOME = ?, TAGS = ?, DEFAULT_ICON = ?, NOTES = ?, RETRY_ENABLED = ? WHERE ID = ? AND VERSION = ? Parameters: [13, GameTimeChildDevice767, null, null, null, 880, null, Wed Sep 17 15:45:04 EDT 2025, null, false, 11, 30, false, false, true, null, 300, null, null, null, true, null, null, null, false, 1216, 12] on line 245 (method createChild)

Maybe it's because the Dolphins are so bad even Hubitat can't find any 'wins' :slight_smile:

Cannot get property 'wins' on null object on line 773 

The other problem I noticed was all of my other subscriptions were suspended (not the NFL one though for some reason).

I was able to create a new trial which includes multiple leagues and that seems to work.

They've been working with the API keys recently sometimes the new one worked and sometimes the old ones worked. I think it's pretty stable now with the new API key, it looks like you got one setup. I did notice that you have to check a few things that I didn't think were 100% necessary but it turns out that they were. These are all things I needed checked for the app to work correctly. You obviously have to select your sports.

All of my old api keys stopped working. Had to go get their new all-in-one api key.
And yes, you have to have the competition feeds checked (along with the event feeds) for it to work. Thanks for that tip.

^^ also worked for me -- thanks! I didn't have all of the boxes checked for NFL

1 Like

super minor but I noticed a little weirdness on games where the time hasn't been scheduled yet. It looks like the time shows up as either 12 AM for games that are TBD. Again, not a big deal but I can provide more info if it helps.. this is Iowa's football schedule: