|
|
@@ -84,10 +84,6 @@ class ZLockLastUserSensor(_ZLockBaseSensor):
|
|
|
return state.last_user if state else None
|
|
|
|
|
|
|
|
|
-# TODO: ZLockSlotsSensor exists only to carry the slots list as extra_state_attributes
|
|
|
-# for the Lovelace card. It should be moved to a more appropriate entity once one exists
|
|
|
-# (e.g. a lock-state or config sensor). Keeping it as a standalone sensor causes HA to
|
|
|
-# track slot-list diffs in history/stats, which we don't want.
|
|
|
class ZLockSlotsSensor(_ZLockBaseSensor):
|
|
|
_attr_translation_key = "slots"
|
|
|
|