Resolve a scene name, with graceful degradation. Returns None if the scene doesn't exist (caller falls back to normal routing).
(self, name: str)
| 234 | return False |
| 235 | |
| 236 | def resolve(self, name: str) -> SceneConfig | None: |
| 237 | """Resolve a scene name, with graceful degradation. |
| 238 | |
| 239 | Returns None if the scene doesn't exist (caller falls back to |
| 240 | normal routing). |
| 241 | """ |
| 242 | scene = self.get(name) |
| 243 | if scene is None: |
| 244 | logger.debug("Scene '%s' not found, falling back to normal routing", name) |
| 245 | return scene |
| 246 | |
| 247 | def export(self) -> dict[str, Any]: |
| 248 | """Export all scenes as a JSON-serializable dict.""" |