docs: def default_hass_config_dir():
      """Put together the default configuration directory based on the OS."""
      data_dir = os.getenv("APPDATA") if os.name == "nt" else os.path.expanduser("~")
      return os.path.join(data_dir, ".homeassistant")