Remove device_class from NFC and fingerprint event descriptions (#135867)

This commit is contained in:
Raphael Hehl 2025-01-17 20:49:01 +01:00 committed by Franck Nijhof
parent 480045887a
commit a42c2b2986
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -181,7 +181,6 @@ EVENT_DESCRIPTIONS: tuple[ProtectEventEntityDescription, ...] = (
ProtectEventEntityDescription( ProtectEventEntityDescription(
key="nfc", key="nfc",
translation_key="nfc", translation_key="nfc",
device_class=EventDeviceClass.DOORBELL,
icon="mdi:nfc", icon="mdi:nfc",
ufp_required_field="feature_flags.support_nfc", ufp_required_field="feature_flags.support_nfc",
ufp_event_obj="last_nfc_card_scanned_event", ufp_event_obj="last_nfc_card_scanned_event",
@ -191,7 +190,6 @@ EVENT_DESCRIPTIONS: tuple[ProtectEventEntityDescription, ...] = (
ProtectEventEntityDescription( ProtectEventEntityDescription(
key="fingerprint", key="fingerprint",
translation_key="fingerprint", translation_key="fingerprint",
device_class=EventDeviceClass.DOORBELL,
icon="mdi:fingerprint", icon="mdi:fingerprint",
ufp_required_field="feature_flags.has_fingerprint_sensor", ufp_required_field="feature_flags.has_fingerprint_sensor",
ufp_event_obj="last_fingerprint_identified_event", ufp_event_obj="last_fingerprint_identified_event",