Commit 126ceec
Remove unused fallback pin_used event type
Since the event entity becomes unavailable when no locks support
code slot events, the fallback to EVENT_PIN_USED was never visible.
- Remove fallback in _compute_event_types() - return empty list instead
- Remove fallback in _handle_event() - log warning and return early
if event data is missing lock entity ID
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent f329b79 commit 126ceec
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
| |||
0 commit comments