Bump ha-philipsjs to 2.7.0 (#49008)
This has some improvements to not consider the TV off due to some exceptions that is related to API being buggy rather than off.
This commit is contained in:
parent
e68678e336
commit
62182ea460
4 changed files with 8 additions and 4 deletions
|
@ -134,8 +134,12 @@ class PhilipsTVDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
|||
|
||||
async def _notify_task(self):
|
||||
while self.api.on and self.api.notify_change_supported:
|
||||
if await self.api.notifyChange(130):
|
||||
res = await self.api.notifyChange(130)
|
||||
if res:
|
||||
self.async_set_updated_data(None)
|
||||
elif res is None:
|
||||
LOGGER.debug("Aborting notify due to unexpected return")
|
||||
break
|
||||
|
||||
@callback
|
||||
def _async_notify_stop(self):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Philips TV",
|
||||
"documentation": "https://www.home-assistant.io/integrations/philips_js",
|
||||
"requirements": [
|
||||
"ha-philipsjs==2.3.2"
|
||||
"ha-philipsjs==2.7.0"
|
||||
],
|
||||
"codeowners": [
|
||||
"@elupus"
|
||||
|
|
|
@ -720,7 +720,7 @@ guppy3==3.1.0
|
|||
ha-ffmpeg==3.0.2
|
||||
|
||||
# homeassistant.components.philips_js
|
||||
ha-philipsjs==2.3.2
|
||||
ha-philipsjs==2.7.0
|
||||
|
||||
# homeassistant.components.habitica
|
||||
habitipy==0.2.0
|
||||
|
|
|
@ -393,7 +393,7 @@ guppy3==3.1.0
|
|||
ha-ffmpeg==3.0.2
|
||||
|
||||
# homeassistant.components.philips_js
|
||||
ha-philipsjs==2.3.2
|
||||
ha-philipsjs==2.7.0
|
||||
|
||||
# homeassistant.components.habitica
|
||||
habitipy==0.2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue