export default function ToggleControl({ entity, disabled, onChange }) { const on = entity.state === 'on'; // The label reflects reported state, rather than claiming success before HA // publishes it. The entire compact button remains an accessible click target. return <> ; }