from typing import Dict
from typing import List


def _get_status_dict(status: str) -> Dict[str, str]:
    """Return status dict from status message."""
    status_list: List[List[str]] = []
    for line in status.splitlines():
        line = line.lstrip()
        line = line.replace(". ", ";")
        line = line.replace(".", "")
        lines: List[str] = line.split(";")
        if len(lines) > 1:
            status_list.append(lines)
    return {k[0]: k[1] for k in status_list}