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
As long as your account is active, once Home Assistant has restarted, you should be receiving Goalfeed events!
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:
How you configure your automation is up to you! If you have a cool automation set up, send us an email at email@example.com and we'll showcase it here!
Currently, these are all the possible teams and their values: