Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Infi-St committed Jul 14, 2022
1 parent 19f81d5 commit 9b98303
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions custom_components/overseerr/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"documentation": "https://github.com/vaparr/ha-overseerr",
"issue_tracker": "https://github.com/vaparr/ha-overseerr/issues",
"codeowners": ["@vaparr"],
"requirements": ["pyoverseerr==0.1.33"],
"version": "0.1.33"
"requirements": ["pyoverseerr==0.1.34"],
"version": "0.1.34"
}
8 changes: 4 additions & 4 deletions custom_components/overseerr/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ def update(self):
try:
if self._label == "issues":
issueCounts = self._overseerr.issueCounts

lastIssue = self._overseerr.last_issue
self._state = issueCounts["open"]
merged_dict = self._overseerr.last_issue
for key in issueCounts:
merged_dict[key] = issueCounts[key]
merged_dict = issueCounts
for key in lastIssue:
merged_dict[key] = lastIssue[key]
self._last_request = merged_dict

if self._label == "movies":
Expand Down

0 comments on commit 9b98303

Please sign in to comment.