Skip to content

Commit

Permalink
Remove device_class from NFC and fingerprint event descriptions (#135867
Browse files Browse the repository at this point in the history
)
  • Loading branch information
RaHehl authored Jan 17, 2025
1 parent abc256f commit 5ea5413
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions homeassistant/components/unifiprotect/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def _async_update_device_from_protect(self, device: ProtectDeviceType) -> None:
ProtectEventEntityDescription(
key="nfc",
translation_key="nfc",
device_class=EventDeviceClass.DOORBELL,
icon="mdi:nfc",
ufp_required_field="feature_flags.support_nfc",
ufp_event_obj="last_nfc_card_scanned_event",
Expand All @@ -191,7 +190,6 @@ def _async_update_device_from_protect(self, device: ProtectDeviceType) -> None:
ProtectEventEntityDescription(
key="fingerprint",
translation_key="fingerprint",
device_class=EventDeviceClass.DOORBELL,
icon="mdi:fingerprint",
ufp_required_field="feature_flags.has_fingerprint_sensor",
ufp_event_obj="last_fingerprint_identified_event",
Expand Down

0 comments on commit 5ea5413

Please sign in to comment.