Skip to content

Commit

Permalink
Removed some unused code and made Ha 0.106.0 the min required version
Browse files Browse the repository at this point in the history
  • Loading branch information
boralyl committed Apr 15, 2020
1 parent 92821be commit e0182d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 0 additions & 7 deletions custom_components/steam_wishlist/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ def __init__(
@property
def is_on(self):
"""Return True if the binary sensor is on."""
if self.game["steam_id"] not in self.coordinator.data:

async def _async_remove():
await self.async_remove()

return False

pricing = self.coordinator.data[self.game["steam_id"]]
try:
pricing: dict = self.coordinator.data[self.game["steam_id"]]["subs"][0]
Expand Down
5 changes: 3 additions & 2 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"domains": ["binary_sensor", "sensor"],
"homeassistant": "0.106.0",
"iot_class": "Cloud Polling",
"name": "Steam Wishlist",
"render_readme": true,
"iot_class": "Cloud Polling"
"render_readme": true
}

0 comments on commit e0182d6

Please sign in to comment.