static String autoRotateState(bool enabled) => '<characteristic type="DisplayMgr">' '<parm name="Autorotate" value="${enabled ? 1 : 2}"/>' '</characteristic>';