mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump py-canary to 0.5.3 (#73922)
This commit is contained in:
parent
9b8c3e37bb
commit
3058a432a5
@ -3,12 +3,8 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from canary.api import (
|
from canary.const import LOCATION_MODE_AWAY, LOCATION_MODE_HOME, LOCATION_MODE_NIGHT
|
||||||
LOCATION_MODE_AWAY,
|
from canary.model import Location
|
||||||
LOCATION_MODE_HOME,
|
|
||||||
LOCATION_MODE_NIGHT,
|
|
||||||
Location,
|
|
||||||
)
|
|
||||||
|
|
||||||
from homeassistant.components.alarm_control_panel import (
|
from homeassistant.components.alarm_control_panel import (
|
||||||
AlarmControlPanelEntity,
|
AlarmControlPanelEntity,
|
||||||
|
@ -5,8 +5,8 @@ from datetime import timedelta
|
|||||||
from typing import Final
|
from typing import Final
|
||||||
|
|
||||||
from aiohttp.web import Request, StreamResponse
|
from aiohttp.web import Request, StreamResponse
|
||||||
from canary.api import Device, Location
|
|
||||||
from canary.live_stream_api import LiveStreamSession
|
from canary.live_stream_api import LiveStreamSession
|
||||||
|
from canary.model import Device, Location
|
||||||
from haffmpeg.camera import CameraMjpeg
|
from haffmpeg.camera import CameraMjpeg
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@ from datetime import timedelta
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from async_timeout import timeout
|
from async_timeout import timeout
|
||||||
from canary.api import Api, Location
|
from canary.api import Api
|
||||||
|
from canary.model import Location
|
||||||
from requests.exceptions import ConnectTimeout, HTTPError
|
from requests.exceptions import ConnectTimeout, HTTPError
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "canary",
|
"domain": "canary",
|
||||||
"name": "Canary",
|
"name": "Canary",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/canary",
|
"documentation": "https://www.home-assistant.io/integrations/canary",
|
||||||
"requirements": ["py-canary==0.5.2"],
|
"requirements": ["py-canary==0.5.3"],
|
||||||
"dependencies": ["ffmpeg"],
|
"dependencies": ["ffmpeg"],
|
||||||
"codeowners": [],
|
"codeowners": [],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||||||
from collections.abc import ValuesView
|
from collections.abc import ValuesView
|
||||||
from typing import Optional, TypedDict
|
from typing import Optional, TypedDict
|
||||||
|
|
||||||
from canary.api import Location
|
from canary.model import Location
|
||||||
|
|
||||||
|
|
||||||
class CanaryData(TypedDict):
|
class CanaryData(TypedDict):
|
||||||
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from typing import Final
|
from typing import Final
|
||||||
|
|
||||||
from canary.api import Device, Location, SensorType
|
from canary.model import Device, Location, SensorType
|
||||||
|
|
||||||
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
|
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
|
@ -1296,7 +1296,7 @@ pushover_complete==1.1.1
|
|||||||
pvo==0.2.2
|
pvo==0.2.2
|
||||||
|
|
||||||
# homeassistant.components.canary
|
# homeassistant.components.canary
|
||||||
py-canary==0.5.2
|
py-canary==0.5.3
|
||||||
|
|
||||||
# homeassistant.components.cpuspeed
|
# homeassistant.components.cpuspeed
|
||||||
py-cpuinfo==8.0.0
|
py-cpuinfo==8.0.0
|
||||||
|
@ -880,7 +880,7 @@ pushbullet.py==0.11.0
|
|||||||
pvo==0.2.2
|
pvo==0.2.2
|
||||||
|
|
||||||
# homeassistant.components.canary
|
# homeassistant.components.canary
|
||||||
py-canary==0.5.2
|
py-canary==0.5.3
|
||||||
|
|
||||||
# homeassistant.components.cpuspeed
|
# homeassistant.components.cpuspeed
|
||||||
py-cpuinfo==8.0.0
|
py-cpuinfo==8.0.0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"""Tests for the Canary integration."""
|
"""Tests for the Canary integration."""
|
||||||
from unittest.mock import MagicMock, PropertyMock, patch
|
from unittest.mock import MagicMock, PropertyMock, patch
|
||||||
|
|
||||||
from canary.api import SensorType
|
from canary.model import SensorType
|
||||||
|
|
||||||
from homeassistant.components.canary.const import (
|
from homeassistant.components.canary.const import (
|
||||||
CONF_FFMPEG_ARGUMENTS,
|
CONF_FFMPEG_ARGUMENTS,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"""The tests for the Canary alarm_control_panel platform."""
|
"""The tests for the Canary alarm_control_panel platform."""
|
||||||
from unittest.mock import PropertyMock, patch
|
from unittest.mock import PropertyMock, patch
|
||||||
|
|
||||||
from canary.api import LOCATION_MODE_AWAY, LOCATION_MODE_HOME, LOCATION_MODE_NIGHT
|
from canary.const import LOCATION_MODE_AWAY, LOCATION_MODE_HOME, LOCATION_MODE_NIGHT
|
||||||
|
|
||||||
from homeassistant.components.alarm_control_panel import DOMAIN as ALARM_DOMAIN
|
from homeassistant.components.alarm_control_panel import DOMAIN as ALARM_DOMAIN
|
||||||
from homeassistant.components.canary import DOMAIN
|
from homeassistant.components.canary import DOMAIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user