@@ -195,7 +195,9 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, config: ConfigType)
195195 self ._state = "PRE"
196196
197197 self ._sport = None
198+ self ._sport_path = None
198199 self ._league = None
200+ self ._league_path = None
199201 self ._league_logo = None
200202 self ._season = None
201203 self ._team_abbr = None
@@ -217,6 +219,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, config: ConfigType)
217219 self ._team_id = None
218220 self ._team_record = None
219221 self ._team_rank = None
222+ self ._team_conference_id = None
220223 self ._team_homeaway = None
221224 self ._team_logo = None
222225 self ._team_url = None
@@ -231,6 +234,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, config: ConfigType)
231234 self ._opponent_id = None
232235 self ._opponent_record = None
233236 self ._opponent_rank = None
237+ self ._opponent_conference_id = None
234238 self ._opponent_homeaway = None
235239 self ._opponent_logo = None
236240 self ._opponent_url = None
@@ -263,6 +267,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, config: ConfigType)
263267
264268 self ._last_update = None
265269 self ._api_message = None
270+ self ._api_url = None
266271
267272 @property
268273 def unique_id (self ) -> str :
@@ -303,7 +308,9 @@ def extra_state_attributes(self) -> dict[str, Any]:
303308 attrs [ATTR_ATTRIBUTION ] = ATTRIBUTION
304309
305310 attrs ["sport" ] = self .coordinator .data ["sport" ]
311+ attrs ["sport_path" ] = self .coordinator .data ["sport_path" ]
306312 attrs ["league" ] = self .coordinator .data ["league" ]
313+ attrs ["league_path" ] = self .coordinator .data ["league_path" ]
307314 attrs ["league_logo" ] = self .coordinator .data ["league_logo" ]
308315 attrs ["season" ] = self .coordinator .data ["season" ]
309316 attrs ["team_abbr" ] = self .coordinator .data ["team_abbr" ]
@@ -325,6 +332,7 @@ def extra_state_attributes(self) -> dict[str, Any]:
325332 attrs ["team_id" ] = self .coordinator .data ["team_id" ]
326333 attrs ["team_record" ] = self .coordinator .data ["team_record" ]
327334 attrs ["team_rank" ] = self .coordinator .data ["team_rank" ]
335+ attrs ["team_conference_id" ] = self .coordinator .data ["team_conference_id" ]
328336 attrs ["team_homeaway" ] = self .coordinator .data ["team_homeaway" ]
329337 attrs ["team_logo" ] = self .coordinator .data ["team_logo" ]
330338 attrs ["team_url" ] = self .coordinator .data ["team_url" ]
@@ -340,6 +348,7 @@ def extra_state_attributes(self) -> dict[str, Any]:
340348 attrs ["opponent_id" ] = self .coordinator .data ["opponent_id" ]
341349 attrs ["opponent_record" ] = self .coordinator .data ["opponent_record" ]
342350 attrs ["opponent_rank" ] = self .coordinator .data ["opponent_rank" ]
351+ attrs ["opponent_conference_id" ] = self .coordinator .data ["opponent_conference_id" ]
343352 attrs ["opponent_homeaway" ] = self .coordinator .data ["opponent_homeaway" ]
344353 attrs ["opponent_logo" ] = self .coordinator .data ["opponent_logo" ]
345354 attrs ["opponent_url" ] = self .coordinator .data ["opponent_url" ]
@@ -379,6 +388,7 @@ def extra_state_attributes(self) -> dict[str, Any]:
379388
380389 attrs ["last_update" ] = self .coordinator .data ["last_update" ]
381390 attrs ["api_message" ] = self .coordinator .data ["api_message" ]
391+ attrs ["api_url" ] = self .coordinator .data ["api_url" ]
382392
383393 return attrs
384394
0 commit comments