--- id: 20 title: Consistent template rendering pattern across all handlers status: done priority: low created: 2026-07-17T03:58:11.987251314+02:00 updated: 2026-07-19T22:54:28.006158702+02:00 started: 2026-07-19T22:54:28.007766996+02:00 completed: 2026-07-19T22:54:28.007766996+02:00 tags: - cleanup claimed_by: rain-raven claimed_at: 2026-07-19T22:54:28.006158702+02:00 class: standard --- From framework review (docs/framework_review.md), P2-3. ZAPHome uses extract(get_object_vars()) (the documented pattern); ZAPDisplay does not — it manually declares local vars and accesses directly in the template. Pick one pattern (extract or explicit) and apply consistently.