Skip to content

NHL score changing when it shouldn't #269

@jlongman

Description

@jlongman

Hey, love this thanks for it. I have a goal light automation attached to the NHL score and I find almost frequently that it goes off for no reason. I strongly suspect that the values from ESPN are changing.

Looking at my HA automation traces I see an event after the scoring started for a 0-0 - with many fields being null.

from:

from_state:
    entity_id: sensor.team_tracker_canadiens
    state: IN
    attributes:
      kickoff_in: 44 minutes ago
      team_score: '1'
      opponent_score: '0'
      last_play: Drake Batherson Deflected saved by Jacob Fowler
      last_update: '2026-03-11 20:14:44-04:00'
      api_message: Cached data

to: (note the PRE, also)

to_state:
    entity_id: sensor.team_tracker_canadiens
    state: PRE
    attributes:kickoff_in: 44 minutes ago
      team_score: '0'
      opponent_score: '0'
      last_play: null
      last_update: '2026-03-11 20:14:49-04:00'
      api_message: Cached data

Is this just bad data from ESPN?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions