mirror of
https://github.com/home-assistant/core.git
synced 2025-04-22 16:27:56 +00:00
Remove unused fields from unifiprotect event sensors (#120568)
This commit is contained in:
parent
2c2261254b
commit
dcffd6bd7a
@ -426,14 +426,12 @@ EVENT_SENSORS: tuple[ProtectBinaryEventEntityDescription, ...] = (
|
||||
device_class=BinarySensorDeviceClass.OCCUPANCY,
|
||||
icon="mdi:doorbell-video",
|
||||
ufp_required_field="feature_flags.is_doorbell",
|
||||
ufp_value="is_ringing",
|
||||
ufp_event_obj="last_ring_event",
|
||||
),
|
||||
ProtectBinaryEventEntityDescription(
|
||||
key="motion",
|
||||
name="Motion",
|
||||
device_class=BinarySensorDeviceClass.MOTION,
|
||||
ufp_value="is_motion_currently_detected",
|
||||
ufp_enabled="is_motion_detection_on",
|
||||
ufp_event_obj="last_motion_event",
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user