Bump py-canary to 0.5.3 (#73922)
This commit is contained in:
parent
9b8c3e37bb
commit
3058a432a5
10 changed files with 12 additions and 15 deletions
|
@ -3,12 +3,8 @@ from __future__ import annotations
|
|||
|
||||
from typing import Any
|
||||
|
||||
from canary.api import (
|
||||
LOCATION_MODE_AWAY,
|
||||
LOCATION_MODE_HOME,
|
||||
LOCATION_MODE_NIGHT,
|
||||
Location,
|
||||
)
|
||||
from canary.const import LOCATION_MODE_AWAY, LOCATION_MODE_HOME, LOCATION_MODE_NIGHT
|
||||
from canary.model import Location
|
||||
|
||||
from homeassistant.components.alarm_control_panel import (
|
||||
AlarmControlPanelEntity,
|
||||
|
|
|
@ -5,8 +5,8 @@ from datetime import timedelta
|
|||
from typing import Final
|
||||
|
||||
from aiohttp.web import Request, StreamResponse
|
||||
from canary.api import Device, Location
|
||||
from canary.live_stream_api import LiveStreamSession
|
||||
from canary.model import Device, Location
|
||||
from haffmpeg.camera import CameraMjpeg
|
||||
import voluptuous as vol
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@ from datetime import timedelta
|
|||
import logging
|
||||
|
||||
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 homeassistant.core import HomeAssistant
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"domain": "canary",
|
||||
"name": "Canary",
|
||||
"documentation": "https://www.home-assistant.io/integrations/canary",
|
||||
"requirements": ["py-canary==0.5.2"],
|
||||
"requirements": ["py-canary==0.5.3"],
|
||||
"dependencies": ["ffmpeg"],
|
||||
"codeowners": [],
|
||||
"config_flow": true,
|
||||
|
|
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
from collections.abc import ValuesView
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
from canary.api import Location
|
||||
from canary.model import Location
|
||||
|
||||
|
||||
class CanaryData(TypedDict):
|
||||
|
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||
|
||||
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.config_entries import ConfigEntry
|
||||
|
|
|
@ -1296,7 +1296,7 @@ pushover_complete==1.1.1
|
|||
pvo==0.2.2
|
||||
|
||||
# homeassistant.components.canary
|
||||
py-canary==0.5.2
|
||||
py-canary==0.5.3
|
||||
|
||||
# homeassistant.components.cpuspeed
|
||||
py-cpuinfo==8.0.0
|
||||
|
|
|
@ -880,7 +880,7 @@ pushbullet.py==0.11.0
|
|||
pvo==0.2.2
|
||||
|
||||
# homeassistant.components.canary
|
||||
py-canary==0.5.2
|
||||
py-canary==0.5.3
|
||||
|
||||
# homeassistant.components.cpuspeed
|
||||
py-cpuinfo==8.0.0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Tests for the Canary integration."""
|
||||
from unittest.mock import MagicMock, PropertyMock, patch
|
||||
|
||||
from canary.api import SensorType
|
||||
from canary.model import SensorType
|
||||
|
||||
from homeassistant.components.canary.const import (
|
||||
CONF_FFMPEG_ARGUMENTS,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""The tests for the Canary alarm_control_panel platform."""
|
||||
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.canary import DOMAIN
|
||||
|
|
Loading…
Add table
Reference in a new issue