v2.6.1
Bug Fix
Fixed: Visual editor broken in v2.6.0 (#9)
The visual editor was not loading because getConfigForm() is unreliable for custom cards — HA silently fails to pick it up. Switched to getConfigElement() with a LitElement-based editor that renders ha-form with the same expandable schema.
The editor now works with collapsible sections:
- Primary sensors (CO₂, PM2.5, Humidity, Temperature) always visible
- Additional Sensors expandable for CO, HCHO, tVOC, PM1, PM10, PM0.3
- Outdoor Sensors expandable for all outdoor entities
- Advanced expandable for AQI, graph history, temperature unit
To update: clear your browser cache after updating via HACS.