mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add support for new JVC Projector auth method (#126453)
This commit is contained in:
parent
06d825d6c8
commit
c9571126a3
@ -4,6 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
from jvcprojector import (
|
from jvcprojector import (
|
||||||
JvcProjector,
|
JvcProjector,
|
||||||
@ -40,7 +41,7 @@ class JvcProjectorDataUpdateCoordinator(DataUpdateCoordinator[dict[str, str]]):
|
|||||||
self.device = device
|
self.device = device
|
||||||
self.unique_id = format_mac(device.mac)
|
self.unique_id = format_mac(device.mac)
|
||||||
|
|
||||||
async def _async_update_data(self) -> dict[str, str]:
|
async def _async_update_data(self) -> dict[str, Any]:
|
||||||
"""Get the latest state data."""
|
"""Get the latest state data."""
|
||||||
try:
|
try:
|
||||||
state = await self.device.get_state()
|
state = await self.device.get_state()
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["jvcprojector"],
|
"loggers": ["jvcprojector"],
|
||||||
"requirements": ["pyjvcprojector==1.0.12"]
|
"requirements": ["pyjvcprojector==1.1.0"]
|
||||||
}
|
}
|
||||||
|
@ -1954,7 +1954,7 @@ pyisy==3.1.14
|
|||||||
pyitachip2ir==0.0.7
|
pyitachip2ir==0.0.7
|
||||||
|
|
||||||
# homeassistant.components.jvc_projector
|
# homeassistant.components.jvc_projector
|
||||||
pyjvcprojector==1.0.12
|
pyjvcprojector==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.kaleidescape
|
# homeassistant.components.kaleidescape
|
||||||
pykaleidescape==1.0.1
|
pykaleidescape==1.0.1
|
||||||
|
@ -1559,7 +1559,7 @@ pyiss==1.0.1
|
|||||||
pyisy==3.1.14
|
pyisy==3.1.14
|
||||||
|
|
||||||
# homeassistant.components.jvc_projector
|
# homeassistant.components.jvc_projector
|
||||||
pyjvcprojector==1.0.12
|
pyjvcprojector==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.kaleidescape
|
# homeassistant.components.kaleidescape
|
||||||
pykaleidescape==1.0.1
|
pykaleidescape==1.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user