Skip to content

Commit

Permalink
Added 'summary' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanet committed Mar 19, 2024
1 parent ec1e118 commit 12b3860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/sonarr_upcoming_media/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def extra_state_attributes(self):
card_item['genres'] = ', '.join(show['series']['genres'])
else:
card_item['genres'] = ''
card_item['summary'] = show.get('overview', '')
try:
for img in show['series']['images']:
if img['coverType'] == 'poster':
Expand Down

0 comments on commit 12b3860

Please sign in to comment.