A Home Assistant integration for Sleeper fantasy football. Track league standings, rosters, matchups, and your personal team performance through sensors with smart polling that adapts to the NFL schedule.
- League overview - league status and current NFL week
- Personal team sensors - your record, points, current matchup score, and league standing
- Per-roster sensors - W-L-T record and stats for every team in your league
- Adaptive polling - updates every 5 minutes during games, every 15 minutes on game days, hourly during the season, and daily in the offseason
- Dynamic roster detection - automatically adds sensors when new rosters appear
- Add this repository as a custom repository in HACS
- Install "Sleeper Fantasy Football"
- Restart Home Assistant
- Copy
custom_components/sleeperto your HAcustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "Sleeper Fantasy Football"
- Enter your League ID (required) and optionally your Sleeper username
Your League ID can be found in the URL when viewing your league on Sleeper (e.g. https://sleeper.com/leagues/123456789 → 123456789).
Adding your username enables personal team sensors. The username must belong to a member of the configured league.
To change your username later, use the Reconfigure option on the integration.
| Entity | State | Attributes |
|---|---|---|
| League Status | League status (e.g. in_season) |
League name, season, total rosters |
| NFL Week | Current NFL week number | Season year, season type |
| Entity | State | Attributes |
|---|---|---|
| My Record | W-L-T (e.g. 8-3-0) |
Wins, losses, ties, fantasy points, points against |
| My Points | Total fantasy points | Points against, points per game |
| My Matchup | Score vs opponent (e.g. 105.5 - 98.2) or BYE |
Opponent name, opponent points, week |
| My Standing | League rank (e.g. 3) |
Total teams |
| Entity | State | Attributes |
|---|---|---|
| {Display Name} Record | W-L-T record | Wins, losses, ties, fantasy points, points against, standing, display name, team name, waiver position, total moves |
| Entity | State | Attributes |
|---|---|---|
| Last Updated | ISO 8601 timestamp | Current update interval |
- Home Assistant 2024.8.0+
- A Sleeper fantasy football league
This project is licensed under the MIT License.