Bump pyunifiprotect to 4.6.1 (#85547)
This commit is contained in:
parent
b6316b4904
commit
818253ced4
7 changed files with 7 additions and 6 deletions
|
@ -337,7 +337,7 @@ EVENT_SENSORS: tuple[ProtectBinaryEventEntityDescription, ...] = (
|
|||
name="Doorbell",
|
||||
device_class=BinarySensorDeviceClass.OCCUPANCY,
|
||||
icon="mdi:doorbell-video",
|
||||
ufp_required_field="feature_flags.has_chime",
|
||||
ufp_required_field="feature_flags.is_doorbell",
|
||||
ufp_value="is_ringing",
|
||||
ufp_event_obj="last_ring_event",
|
||||
),
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"integration_type": "hub",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/unifiprotect",
|
||||
"requirements": ["pyunifiprotect==4.6.0", "unifi-discovery==1.1.7"],
|
||||
"requirements": ["pyunifiprotect==4.6.1", "unifi-discovery==1.1.7"],
|
||||
"dependencies": ["http", "repairs"],
|
||||
"codeowners": ["@briis", "@AngellusMortis", "@bdraco"],
|
||||
"quality_scale": "platinum",
|
||||
|
|
|
@ -763,7 +763,7 @@ class ProtectMediaSource(MediaSource):
|
|||
if camera is None:
|
||||
raise BrowseError(f"Unknown Camera ID: {camera_id}")
|
||||
name = camera.name or camera.market_name or camera.type
|
||||
is_doorbell = camera.feature_flags.has_chime
|
||||
is_doorbell = camera.feature_flags.is_doorbell
|
||||
has_smart = camera.feature_flags.has_smart_detect
|
||||
|
||||
thumbnail_url: str | None = None
|
||||
|
|
|
@ -206,7 +206,7 @@ CAMERA_SENSORS: tuple[ProtectSensorEntityDescription, ...] = (
|
|||
name="Last Doorbell Ring",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
icon="mdi:doorbell-video",
|
||||
ufp_required_field="feature_flags.has_chime",
|
||||
ufp_required_field="feature_flags.is_doorbell",
|
||||
ufp_value="last_ring",
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
|
|
|
@ -2128,7 +2128,7 @@ pytrafikverket==0.2.2
|
|||
pyudev==0.23.2
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
pyunifiprotect==4.6.0
|
||||
pyunifiprotect==4.6.1
|
||||
|
||||
# homeassistant.components.uptimerobot
|
||||
pyuptimerobot==22.2.0
|
||||
|
|
|
@ -1497,7 +1497,7 @@ pytrafikverket==0.2.2
|
|||
pyudev==0.23.2
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
pyunifiprotect==4.6.0
|
||||
pyunifiprotect==4.6.1
|
||||
|
||||
# homeassistant.components.uptimerobot
|
||||
pyuptimerobot==22.2.0
|
||||
|
|
|
@ -214,6 +214,7 @@ def doorbell_fixture(camera: Camera, fixed_now: datetime):
|
|||
doorbell.feature_flags.has_lcd_screen = True
|
||||
doorbell.feature_flags.has_speaker = True
|
||||
doorbell.feature_flags.has_privacy_mask = True
|
||||
doorbell.feature_flags.is_doorbell = True
|
||||
doorbell.feature_flags.has_chime = True
|
||||
doorbell.feature_flags.has_smart_detect = True
|
||||
doorbell.feature_flags.has_package_camera = True
|
||||
|
|
Loading…
Add table
Reference in a new issue