Goalfeed for Home Assistant

Starting in Home Assistant v0.63, you can use your Goalfeed account in Home Assistant

1. Add your account

To add your Goalfeed account to your Home Assistant install, all you need is to add your email and password into your configuration. See the Home Assistant documentation for details on how to do this

2. Restart Home Assistant

As long as your account is active, once Home Assistant has restarted, you should be receiving Goalfeed events!

3. Create your automation!

Now an event will fire in Home Assistant for every time an NHL or MLB team scores! Want to run your vacuum every time the Jets score? Sure! We won't judge you! But more likely, you'll probably want to use it to trigger a light show or make some sort of goal horn.

You probably don't want your automation going off every time any team scores, so you'll want to set up your trigger based on some of the information provided in the event. It will likely look something like this:


- alias: 'Jets Goal'
  trigger:
    platform: event
    event_type: goal
    event_data:
      team_name: "Winnipeg Jets"

The event data we provide are the following fields:

  • team - Official three character code used by the league to signify the team. (Unique to the league, but some overlap between leagues).
  • team_name - Human readable full name for the team.
  • league_id - A number representing the league in the goalfeed service.
  • league_name - Three character code used to represent the league (currently either MLB or NHL)
  • team_hash - A unique set of characters to represent the team in the goalfeed service

How you configure your automation is up to you! If you have a cool automation set up, send us an email at contact@goalfeed.ca and we'll showcase it here!

Currently, these are all the possible teams and their values:

English Premier League

  • team - ARS
  • team_name - Arsenal
  • league_id - 3
  • league_name - EPL
  • team_hash - 33e4da52a59320d4f3caea42d254243e
  • team - BOU
  • team_name - Bournemouth
  • league_id - 3
  • league_name - EPL
  • team_hash - 1bfde82cddaf069e05f6a72ef1b29f88
  • team - BHA
  • team_name - Brighton And Hove Albion
  • league_id - 3
  • league_name - EPL
  • team_hash - 9b7e2a700eeefe1494e87af90e673571
  • team - BUR
  • team_name - Burnley
  • league_id - 3
  • league_name - EPL
  • team_hash - 1bac0349a5d0c13efa544213adfe44b7
  • team - CAR
  • team_name - Cardiff City
  • league_id - 3
  • league_name - EPL
  • team_hash - 5a888c6121932f8a0822424e034d4628
  • team - CHE
  • team_name - Chelsea
  • league_id - 3
  • league_name - EPL
  • team_hash - d7ff79d22a734407d39cbf51b711cc19
  • team - CRY
  • team_name - Crystal Palace
  • league_id - 3
  • league_name - EPL
  • team_hash - 51619099a58c197347166d0d343ef1b9
  • team - EVE
  • team_name - Everton
  • league_id - 3
  • league_name - EPL
  • team_hash - de05a5a5e7d37a69416a89f56c0c6efb
  • team - FUL
  • team_name - Fulham
  • league_id - 3
  • league_name - EPL
  • team_hash - 5dc16e7433dd9ca1eec4547e3ab21146
  • team - HUD
  • team_name - Huddersfield Town
  • league_id - 3
  • league_name - EPL
  • team_hash - 848489bce1e1f95e4cb4428bc11c9482
  • team - LEI
  • team_name - Leicester City
  • league_id - 3
  • league_name - EPL
  • team_hash - ce615bec32644b3cbd23cb86406e5275
  • team - LIV
  • team_name - Liverpool
  • league_id - 3
  • league_name - EPL
  • team_hash - 0954119dc19d9003dd5f4bb37b3f559e
  • team - MCI
  • team_name - Manchester City
  • league_id - 3
  • league_name - EPL
  • team_hash - eccff4902c91868014827a8daf650c56
  • team - MUN
  • team_name - Manchester United
  • league_id - 3
  • league_name - EPL
  • team_hash - fe4a2db063b1a84c1eb35a1706f479fe
  • team - NEW
  • team_name - Newcastle United
  • league_id - 3
  • league_name - EPL
  • team_hash - ce15b5a2de3ff6500cbeabff932abb40
  • team - SOU
  • team_name - Southampton
  • league_id - 3
  • league_name - EPL
  • team_hash - 00d20bd3cf5e9cf4be6e1bf3c02d4a52
  • team - TOT
  • team_name - Tottenham Hotspur
  • league_id - 3
  • league_name - EPL
  • team_hash - ad644dde2014babf174798ca5d4cb7d6
  • team - WAT
  • team_name - Watford
  • league_id - 3
  • league_name - EPL
  • team_hash - f6a99217df5fe9dc1328a0641d02892f
  • team - WHU
  • team_name - West Ham United
  • league_id - 3
  • league_name - EPL
  • team_hash - f24277077f8ec18053d2a98fe5abddc5
  • team - WOL
  • team_name - Wolverhampton Wanderers
  • league_id - 3
  • league_name - EPL
  • team_hash - 64c4abfe23f949283553a22801f59cd2

Major League Baseball

  • team - ARI
  • team_name - Arizona Diamondbacks
  • league_id - 2
  • league_name - MLB
  • team_hash - 0d431d9ddd5dded88a36b426681c407d
  • team - ATL
  • team_name - Atlanta Braves
  • league_id - 2
  • league_name - MLB
  • team_hash - a3e2646fddbf7198708e166827154cb3
  • team - BAL
  • team_name - Baltimore Orioles
  • league_id - 2
  • league_name - MLB
  • team_hash - dbc597dfb86bf9e3d141a630ada01554
  • team - BOS
  • team_name - Boston Red Sox
  • league_id - 2
  • league_name - MLB
  • team_hash - 0c5cd13980fe80f2680299fd8a77e456
  • team - CHC
  • team_name - Chicago Cubs
  • league_id - 2
  • league_name - MLB
  • team_hash - 096270bced07a1a170d962109404d9c4
  • team - CWS
  • team_name - Chicago White Sox
  • league_id - 2
  • league_name - MLB
  • team_hash - 9b597896a3ad24efcef7c1b4a12f7f19
  • team - CIN
  • team_name - Cincinnati Reds
  • league_id - 2
  • league_name - MLB
  • team_hash - 3a67356166276f2fd0eca231764328f6
  • team - CLE
  • team_name - Cleveland Indians
  • league_id - 2
  • league_name - MLB
  • team_hash - a439ba243bdd6ea02456b817481c73dd
  • team - COL
  • team_name - Colorado Rockies
  • league_id - 2
  • league_name - MLB
  • team_hash - a324193a7b958928db5143bdb592fccb
  • team - DET
  • team_name - Detroit Tigers
  • league_id - 2
  • league_name - MLB
  • team_hash - 0bda44adb26df4205d30a7ff577b3505
  • team - HOU
  • team_name - Houston Astros
  • league_id - 2
  • league_name - MLB
  • team_hash - ff0aadac1de93120f027e7ca0ba6858d
  • team - KC
  • team_name - Kansas City Royals
  • league_id - 2
  • league_name - MLB
  • team_hash - 20a1d0433ce83d9183774c85479d0fdb
  • team - LAA
  • team_name - Los Angeles Angels
  • league_id - 2
  • league_name - MLB
  • team_hash - b287dedadcc0eda97679c9611769ddea
  • team - LAD
  • team_name - Los Angeles Dodgers
  • league_id - 2
  • league_name - MLB
  • team_hash - 84816dd91862305aa61c3a68a6324feb
  • team - MIA
  • team_name - Miami Marlins
  • league_id - 2
  • league_name - MLB
  • team_hash - 443ae7f6f345e179a96e5874604c4d5b
  • team - MIL
  • team_name - Milwaukee Brewers
  • league_id - 2
  • league_name - MLB
  • team_hash - 5b2f8f5bfbf8112741f58fb80095330c
  • team - MIN
  • team_name - Minnesota Twins
  • league_id - 2
  • league_name - MLB
  • team_hash - b90621639ae65c845fd61313e3320e3e
  • team - NYM
  • team_name - New York Mets
  • league_id - 2
  • league_name - MLB
  • team_hash - 40d66a5f1d152e603e310b77c056b8a6
  • team - NYY
  • team_name - New York Yankees
  • league_id - 2
  • league_name - MLB
  • team_hash - f3f2426241f2195da0ecfd6e70fc3f78
  • team - OAK
  • team_name - Oakland Athletics
  • league_id - 2
  • league_name - MLB
  • team_hash - 4315f185a1496e4e44d269b4b807372f
  • team - PHI
  • team_name - Philadelphia Phillies
  • league_id - 2
  • league_name - MLB
  • team_hash - 0d2dda80289f0a032d2f58a05624b96c
  • team - PIT
  • team_name - Pittsburgh Pirates
  • league_id - 2
  • league_name - MLB
  • team_hash - 100b5e357eda19e70f461881952d49c7
  • team - SD
  • team_name - San Diego Padres
  • league_id - 2
  • league_name - MLB
  • team_hash - 0ea0ee917267406799e874c88954ba97
  • team - SF
  • team_name - San Francisco Giants
  • league_id - 2
  • league_name - MLB
  • team_hash - 71650a6f5cd102b48f21837cc84e746e
  • team - SEA
  • team_name - Seattle Mariners
  • league_id - 2
  • league_name - MLB
  • team_hash - de9207b4f99466b5930f440fc98eacbb
  • team - STL
  • team_name - St. Louis Cardinals
  • league_id - 2
  • league_name - MLB
  • team_hash - 3b758d00293add5474a373545536a96b
  • team - TB
  • team_name - Tampa Bay Rays
  • league_id - 2
  • league_name - MLB
  • team_hash - dc1ff8a21e5cd0f11c279cc4b6388118
  • team - TEX
  • team_name - Texas Rangers
  • league_id - 2
  • league_name - MLB
  • team_hash - a8df5bc2ae8b926ba932be18ddb5ab5f
  • team - TOR
  • team_name - Toronto Blue Jays
  • league_id - 2
  • league_name - MLB
  • team_hash - 8e996ec2d2a1dfd210ade54f27deb0a7
  • team - WSH
  • team_name - Washington Nationals
  • league_id - 2
  • league_name - MLB
  • team_hash - 1965d6128a279438ab35df4d768a7ad6

National Hockey League

  • team - ANA
  • team_name - Anaheim Ducks
  • league_id - 1
  • league_name - NHL
  • team_hash - 13df000286bf4e4ba3e581d840ba4f5d
  • team - ARI
  • team_name - Arizona Coyotes
  • league_id - 1
  • league_name - NHL
  • team_hash - 5ba2da013fc397f382aedf559116fd29
  • team - SCB
  • team_name - Bern Sc Bern
  • league_id - 1
  • league_name - NHL
  • team_hash - 1bee0e3173537724c4da806fe0b57bf6
  • team - BOS
  • team_name - Boston Bruins
  • league_id - 1
  • league_name - NHL
  • team_hash - a93fbfe314b46e0fa9e0439605a0a407
  • team - BUF
  • team_name - Buffalo Sabres
  • league_id - 1
  • league_name - NHL
  • team_hash - 9bedfdfb375a7dba5b8115ef2dbe2345
  • team - CGY
  • team_name - Calgary Flames
  • league_id - 1
  • league_name - NHL
  • team_hash - 47b12c4cfbd6728ea711d7f858bc3b03
  • team - CAR
  • team_name - Carolina Hurricanes
  • league_id - 1
  • league_name - NHL
  • team_hash - 9e95ba27836257bdcb5b001de8f650b6
  • team - CHI
  • team_name - Chicago Blackhawks
  • league_id - 1
  • league_name - NHL
  • team_hash - 4096df3ee2138154adf63f3c2c40c8d7
  • team - COL
  • team_name - Colorado Avalanche
  • league_id - 1
  • league_name - NHL
  • team_hash - 174da9d110d31c800d6d0187848fe09a
  • team - CBJ
  • team_name - Columbus Blue Jackets
  • league_id - 1
  • league_name - NHL
  • team_hash - 4b58f7cac9d2c65c4ee32f1a0c077974
  • team - DAL
  • team_name - Dallas Stars
  • league_id - 1
  • league_name - NHL
  • team_hash - c1375dc6234032c0096d5a7f37db4b81
  • team - DET
  • team_name - Detroit Red Wings
  • league_id - 1
  • league_name - NHL
  • team_hash - c3a6fe63e3b542ea89cb502b8eccad55
  • team - EDM
  • team_name - Edmonton Oilers
  • league_id - 1
  • league_name - NHL
  • team_hash - 442914ce02942301f04969ba0ecc40e7
  • team - EIS
  • team_name - Eisbaren Berlin
  • league_id - 1
  • league_name - NHL
  • team_hash - 03f975724c3c1b04c50c7544c419bd13
  • team - FLA
  • team_name - Florida Panthers
  • league_id - 1
  • league_name - NHL
  • team_hash - 9bcb4d601e7d579af958bdfd3d5048c2
  • team - KLH
  • team_name - Koln Haie
  • league_id - 1
  • league_name - NHL
  • team_hash - 4d17a269dd16b6f755f266055bdb6838
  • team - LAU
  • team_name - Lausanne Hc
  • league_id - 1
  • league_name - NHL
  • team_hash - 1ea7b5c52b95e53de32c832898c8f96c
  • team - LAK
  • team_name - Los Angeles Kings
  • league_id - 1
  • league_name - NHL
  • team_hash - 8606260d5cad171510485bc85a9a7af7
  • team - MIN
  • team_name - Minnesota Wild
  • league_id - 1
  • league_name - NHL
  • team_hash - 91b25e06049dd627c0d4d2406e09bc3b
  • team - MTL
  • team_name - MontrĂ©al Canadiens
  • league_id - 1
  • league_name - NHL
  • team_hash - b301da7bf3574a22f3f89dd461f10b42
  • team - NSH
  • team_name - Nashville Predators
  • league_id - 1
  • league_name - NHL
  • team_hash - 3fdb3668bf387fe2b4702c3d69938710
  • team - NJD
  • team_name - New Jersey Devils
  • league_id - 1
  • league_name - NHL
  • team_hash - 9092e8f3ab8e023f8b720df8c8a8c0b5
  • team - NYI
  • team_name - New York Islanders
  • league_id - 1
  • league_name - NHL
  • team_hash - 6091504e39a57742ced5e7cd496d4413
  • team - NYR
  • team_name - New York Rangers
  • league_id - 1
  • league_name - NHL
  • team_hash - b215b593923f036cdaf7179488ee9214
  • team - OTT
  • team_name - Ottawa Senators
  • league_id - 1
  • league_name - NHL
  • team_hash - 13dd28f896d99ae044580d9898624b7d
  • team - PHI
  • team_name - Philadelphia Flyers
  • league_id - 1
  • league_name - NHL
  • team_hash - 627b278bd5811b2d2bd72e94e6dd9b24
  • team - PIT
  • team_name - Pittsburgh Penguins
  • league_id - 1
  • league_name - NHL
  • team_hash - e7f34d8aef3d52252d240a999ead6999
  • team - SJS
  • team_name - San Jose Sharks
  • league_id - 1
  • league_name - NHL
  • team_hash - faf40bd708c457ae0d895c8a183e251c
  • team - STL
  • team_name - St. Louis Blues
  • league_id - 1
  • league_name - NHL
  • team_hash - b9f465bb3cf76c123ab677fc0d7c3961
  • team - TBL
  • team_name - Tampa Bay Lightning
  • league_id - 1
  • league_name - NHL
  • team_hash - 8f5fb2d50b9a53ff62a53e0fb1f68c6a
  • team - ATL
  • team_name - Team Atlantic
  • league_id - 1
  • league_name - NHL
  • team_hash - 629a3067f4dfa090290ff37faa126d59
  • team - CEN
  • team_name - Team Central
  • league_id - 1
  • league_name - NHL
  • team_hash - 0dfa54807f4e7ae1484a1edf54c60434
  • team - MET
  • team_name - Team Metropolitan
  • league_id - 1
  • league_name - NHL
  • team_hash - 26c55772ed6f13462223065dff9115b1
  • team - PAC
  • team_name - Team Pacific
  • league_id - 1
  • league_name - NHL
  • team_hash - 4bca44798ac521f3d2c014d64323e4ea
  • team - TOR
  • team_name - Toronto Maple Leafs
  • league_id - 1
  • league_name - NHL
  • team_hash - 03dc90aea42c968d1a7968ad6ec87369
  • team - VAN
  • team_name - Vancouver Canucks
  • league_id - 1
  • league_name - NHL
  • team_hash - 6a54dd30d78b27a97b3456434dcef602
  • team - VGK
  • team_name - Vegas Golden Knights
  • league_id - 1
  • league_name - NHL
  • team_hash - dcc2a752479d9c7a355f2451b295e350
  • team - WSH
  • team_name - Washington Capitals
  • league_id - 1
  • league_name - NHL
  • team_hash - 22f2b62aebe35c135864b15ee496c460
  • team - WPG
  • team_name - Winnipeg Jets
  • league_id - 1
  • league_name - NHL
  • team_hash - 2403d3bd4d1bc4befe4f79d15ca37749