mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
clear all data when kodi is off
This commit is contained in:
parent
689255dec0
commit
2017228503
@ -147,6 +147,10 @@ class KodiDevice(MediaPlayerDevice):
|
|||||||
self._app_properties = self._server.Application.GetProperties(
|
self._app_properties = self._server.Application.GetProperties(
|
||||||
['volume', 'muted']
|
['volume', 'muted']
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self._properties = None
|
||||||
|
self._item = None
|
||||||
|
self._app_properties = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def volume_level(self):
|
def volume_level(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user