mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Bump reolink_aio to 0.21.17 (#182472)
This commit is contained in:
@@ -83,14 +83,14 @@ CAMERA_ENTITIES = (
|
||||
key="autotrack_snapshots_sub",
|
||||
stream="autotrack_snapshots_sub",
|
||||
translation_key="telephoto_snapshots_sub",
|
||||
supported=lambda api, ch: api.supported(ch, "autotrack_stream"),
|
||||
supported=lambda api, ch: api.supported(ch, "autotrack_snapshot"),
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
ReolinkCameraEntityDescription(
|
||||
key="autotrack_snapshots_main",
|
||||
stream="autotrack_snapshots_main",
|
||||
translation_key="telephoto_snapshots_main",
|
||||
supported=lambda api, ch: api.supported(ch, "autotrack_stream"),
|
||||
supported=lambda api, ch: api.supported(ch, "autotrack_snapshot"),
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["reolink_aio"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["reolink-aio==0.21.16"]
|
||||
"requirements": ["reolink-aio==0.21.17"]
|
||||
}
|
||||
|
||||
@@ -165,8 +165,8 @@ NUMBER_ENTITIES = (
|
||||
entity_registry_enabled_default=False,
|
||||
native_step=1,
|
||||
native_unit_of_measurement=UnitOfTime.SECONDS,
|
||||
native_min_value=30,
|
||||
native_max_value=900,
|
||||
get_min_value=lambda api, ch: api.whiteled_event_on_time_range(ch)[0],
|
||||
get_max_value=lambda api, ch: api.whiteled_event_on_time_range(ch)[1],
|
||||
supported=lambda api, ch: api.supported(ch, "floodlight_event"),
|
||||
value=lambda api, ch: api.whiteled_event_on_time(ch),
|
||||
method=lambda api, ch, value: api.baichuan.set_floodlight(
|
||||
@@ -183,8 +183,8 @@ NUMBER_ENTITIES = (
|
||||
entity_registry_enabled_default=False,
|
||||
native_step=1,
|
||||
native_unit_of_measurement=UnitOfTime.SECONDS,
|
||||
native_min_value=10,
|
||||
native_max_value=30,
|
||||
get_min_value=lambda api, ch: api.whiteled_event_flash_time_range(ch)[0],
|
||||
get_max_value=lambda api, ch: api.whiteled_event_flash_time_range(ch)[1],
|
||||
supported=lambda api, ch: api.supported(ch, "floodlight_event"),
|
||||
value=lambda api, ch: api.whiteled_event_flash_time(ch),
|
||||
method=lambda api, ch, value: api.baichuan.set_floodlight(
|
||||
|
||||
@@ -553,6 +553,7 @@
|
||||
"state": {
|
||||
"adaptive": "Adaptive",
|
||||
"auto": "[%key:common::state::auto%]",
|
||||
"auto_pir": "Auto PIR",
|
||||
"autoadaptive": "Auto adaptive",
|
||||
"off": "[%key:common::state::off%]",
|
||||
"onatnight": "On at night",
|
||||
|
||||
Generated
+1
-1
@@ -2989,7 +2989,7 @@ renault-api==0.5.13
|
||||
renson-endura-delta==1.7.2
|
||||
|
||||
# homeassistant.components.reolink
|
||||
reolink-aio==0.21.16
|
||||
reolink-aio==0.21.17
|
||||
|
||||
# homeassistant.components.radio_frequency
|
||||
rf-protocols==4.3.0
|
||||
|
||||
@@ -182,6 +182,8 @@ def _init_host_mock(host_mock: MagicMock) -> None:
|
||||
"zoom": {"min": 0, "max": 100},
|
||||
"focus": {"min": 0, "max": 100},
|
||||
}
|
||||
host_mock.whiteled_event_on_time_range.return_value = (30, 900)
|
||||
host_mock.whiteled_event_flash_time_range.return_value = (10, 30)
|
||||
host_mock.capabilities = {"Host": ["RTSP"], "0": ["motion_detection"]}
|
||||
host_mock.checked_api_versions = {"GetEvents": 1}
|
||||
host_mock.abilities = {"abilityChn": [{"aiTrack": {"permit": 0, "ver": 0}}]}
|
||||
|
||||
Reference in New Issue
Block a user