Add new features from UniFi Protect 2.2.1-beta5 (#77391)

This commit is contained in:
Christopher Bailey
2022-08-28 12:31:07 -05:00
committed by GitHub
parent 441d7c0461
commit d29be2390b
8 changed files with 124 additions and 22 deletions
@@ -114,8 +114,9 @@ CAMERA_SENSORS: tuple[ProtectBinaryEntityDescription, ...] = (
name="System Sounds",
icon="mdi:speaker",
entity_category=EntityCategory.DIAGNOSTIC,
ufp_required_field="feature_flags.has_speaker",
ufp_required_field="has_speaker",
ufp_value="speaker_settings.are_system_sounds_enabled",
ufp_enabled="feature_flags.has_speaker",
ufp_perm=PermRequired.NO_WRITE,
),
ProtectBinaryEntityDescription(