forked from home-assistant/core
Fix Values for Recording mode and Infrared mode entities are not showing correctly (#131487)
This commit is contained in:
@@ -245,7 +245,7 @@ CAMERA_SENSORS: tuple[ProtectSensorEntityDescription, ...] = (
|
||||
name="Recording mode",
|
||||
icon="mdi:video-outline",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
ufp_value="recording_settings.mode",
|
||||
ufp_value="recording_settings.mode.value",
|
||||
ufp_perm=PermRequired.NO_WRITE,
|
||||
),
|
||||
ProtectSensorEntityDescription(
|
||||
@@ -254,7 +254,7 @@ CAMERA_SENSORS: tuple[ProtectSensorEntityDescription, ...] = (
|
||||
icon="mdi:circle-opacity",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
ufp_required_field="feature_flags.has_led_ir",
|
||||
ufp_value="isp_settings.ir_led_mode",
|
||||
ufp_value="isp_settings.ir_led_mode.value",
|
||||
ufp_perm=PermRequired.NO_WRITE,
|
||||
),
|
||||
ProtectSensorEntityDescription(
|
||||
|
Reference in New Issue
Block a user