Skip to content

Commit

Permalink
add attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
iantrich authored Jul 29, 2019
1 parent 15d2607 commit 2d5071c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/trakt/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def update(self):
card_json.append(card_item)

attributes['data'] = json.dumps(card_json)
attributes['attribution'] = "Data provided by trakt.tv"
self._hass.data[DATA_UPCOMING] = attributes

@property
Expand Down

0 comments on commit 2d5071c

Please sign in to comment.