pub async fn delete_state(
headers: HeaderMap,
__arg1: State<SharedState>,
__arg2: Path<String>,
) -> ApiResult<StatusCode>Expand description
DELETE /api/states/:entity_id — remove an entity from the state machine. Idempotent: returns 204 whether or not the entity existed, matching HA’s removal semantics. 4xx only for malformed entity_id or auth failure.