Skip to content

Commit

Permalink
Remove debugging remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
oxan committed Aug 5, 2023
1 parent eb1135d commit 55a3039
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/mpv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ async def async_will_remove_from_hass(self) -> None:

async def _connect(self) -> None:
async def disconnect_handler(*_):
print('unavailable!')
self._attr_available = False
self.schedule_update_ha_state()

Expand Down Expand Up @@ -123,7 +122,6 @@ async def connect_handler():
await self._mpv.watch_property(MPVProperty.DURATION, self._on_duration_change)
await self._mpv.watch_property(MPVProperty.TITLE, self._on_title_change)

print('set available!')
self._attr_available = True
self._attr_changed()

Expand Down

0 comments on commit 55a3039

Please sign in to comment.