claw union
What's New
Unified Border Radius
- All ha-card elements now enforce 10px border-radius on creation.
- Content CSS border-radius values are auto-normalized to 10px at runtime.
- Eliminates inconsistent card corner styles across dashboards.
Overlay Close Button
- A persistent close button (bottom-right) appears automatically when overlay content is active.
- One click clears all overlay effects and temporary elements.
- Page navigation (location-changed) also clears all overlay content.
- Browser refresh naturally removes everything — all effects are purely temporary.
window.claw API
- New global API available inside card <script> blocks.
- Service calls: claw.callService(), claw.toggle(), claw.press() with smart domain mapping.
- State access: claw.state(), claw.states() with optional filtering.
- Navigation: claw.navigate(), claw.moreInfo().
- Communication: claw.fire(), claw.ws() for raw WebSocket messaging.
- DOM utilities: claw.el() for element creation, claw.remove(), claw.deepQuery/deepQueryAll for shadow DOM traversal, claw.inject() for CSS injection.
- Utility: claw.wait(), claw.hass().
Version Tag
- Added HTML_PRO_CARD_VERSION constant (3.3.0) at file top.
- Console prints version badge on load for easy identification.
- Editor header displays current version dynamically.
- Prevents stale cache issues by making version visible.
Full Changelog: v3.2...v3.3