MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _remove_legacy_attributes

Method _remove_legacy_attributes

shared.py:869–874  ·  view source on GitHub ↗

Drop attributes created from legacy configuration keys that cannot be accessed normally.

(self)

Source from the content-addressed store, hash-verified

867 "rusense_notify_people_threshold": 1, # alert when count >= this
868 "rusense_notify_node_offline": True, # a CSI node stops streaming
869 "rusense_notify_cooldown_s": 60, # min seconds between same-kind alerts
870 # False-positive guards: an event only fires when the classifier
871 # confidence is at/above this fraction AND the condition has held
872 # continuously for at least this many seconds (debounce).
873 "rusense_notify_min_confidence": 0.95, # 0..1; require >= 95% confidence
874 "rusense_notify_sustain_s": 2, # condition must persist this long
875 # Health-mode safety net (the INVERSE of the presence alert): fire
876 # when a home that should be occupied shows NO activity for this
877 # many hours of awake time. The quiet (sleep) window is excluded —

Callers 1

load_configMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected