Przeglądaj źródła

Drop stale TODO on ZLockSlotsSensor

ZiB 4 miesięcy temu
rodzic
commit
c59b4d06ad
1 zmienionych plików z 0 dodań i 4 usunięć
  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"