فهرست منبع

Drop stale TODO on ZLockSlotsSensor

ZiB 4 ماه پیش
والد
کامیت
c59b4d06ad
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      custom_components/zlock_slots/sensor.py

+ 0 - 4
custom_components/zlock_slots/sensor.py

@@ -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"