old_contents: """Const file for HassIO."""
  from pathlib import Path
  
  HASSIO_VERSION = '0.25'
  
  URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
                        'hassio/master/version.json')
  URL_HASSIO_VERSION_BETA = ('https://raw.githubusercontent.com/home-assistant/'
                             'hassio/dev/version.json')
  
  URL_HASSIO_ADDONS = 'https://github.com/home-assistant/hassio-addons'
  
  DOCKER_REPO = "homeassistant"
  
  HASSIO_SHARE = Path("/data")
  
  RUN_UPDATE_INFO_TASKS = 28800
  RUN_UPDATE_SUPERVISOR_TASKS = 29100
  RUN_RELOAD_ADDONS_TASKS = 28800
  RUN_WATCHDOG_HOMEASSISTANT = 15
  RUN_CLEANUP_API_SESSIONS = 900
  
  RESTART_EXIT_CODE = 100
  
  FILE_HASSIO_ADDONS = Path(HASSIO_SHARE, "addons.json")
  FILE_HASSIO_CONFIG = Path(HASSIO_SHARE, "config.json")
  
  SOCKET_DOCKER = Path("/var/run/docker.sock")
  SOCKET_HC = Path("/var/run/hassio-hc.sock")
  
  JSON_RESULT = 'result'
  JSON_DATA = 'data'
  JSON_MESSAGE = 'message'
  
  RESULT_ERROR = 'error'
  RESULT_OK = 'ok'
  
  ATTR_ARCH = 'arch'
  ATTR_HOSTNAME = 'hostname'
  ATTR_OS = 'os'
  ATTR_TYPE = 'type'
  ATTR_SOURCE = 'source'
  ATTR_FEATURES = 'features'
  ATTR_ADDONS = 'addons'
  ATTR_VERSION = 'version'
  ATTR_LAST_VERSION = 'last_version'
  ATTR_BETA_CHANNEL = 'beta_channel'
  ATTR_NAME = 'name'
  ATTR_SLUG = 'slug'
  ATTR_DESCRIPTON = 'description'
  ATTR_STARTUP = 'startup'
  ATTR_BOOT = 'boot'
  ATTR_PORTS = 'ports'
  ATTR_MAP = 'map'
  ATTR_OPTIONS = 'options'
  ATTR_INSTALLED = 'installed'
  ATTR_DETACHED = 'detached'
  ATTR_STATE = 'state'
  ATTR_SCHEMA = 'schema'
  ATTR_IMAGE = 'image'
  ATTR_ADDONS_REPOSITORIES = 'addons_repositories'
  ATTR_REPOSITORY = 'repository'
  ATTR_REPOSITORIES = 'repositories'
  ATTR_URL = 'url'
  ATTR_MAINTAINER = 'maintainer'
  ATTR_PASSWORD = 'password'
  ATTR_TOTP = 'totp'
  ATTR_INITIALIZE = 'initialize'
  ATTR_SESSION = 'session'
  ATTR_LOCATON = 'location'
  ATTR_BUILD = 'build'
  
  STARTUP_BEFORE = 'before'
  STARTUP_AFTER = 'after'
  STARTUP_ONCE = 'once'
  
  BOOT_AUTO = 'auto'
  BOOT_MANUAL = 'manual'
  
  STATE_STARTED = 'started'
  STATE_STOPPED = 'stopped'
  
  MAP_CONFIG = 'config'
  MAP_SSL = 'ssl'
  MAP_ADDONS = 'addons'
  MAP_BACKUP = 'backup'
  
  ARCH_ARMHF = 'armhf'
  ARCH_AARCH64 = 'aarch64'
  ARCH_AMD64 = 'amd64'
  ARCH_I386 = 'i386'
  
new_contents: """Const file for HassIO."""
  from pathlib import Path
  
  HASSIO_VERSION = '0.26'
  
  URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
                        'hassio/master/version.json')
  URL_HASSIO_VERSION_BETA = ('https://raw.githubusercontent.com/home-assistant/'
                             'hassio/dev/version.json')
  
  URL_HASSIO_ADDONS = 'https://github.com/home-assistant/hassio-addons'
  
  DOCKER_REPO = "homeassistant"
  
  HASSIO_SHARE = Path("/data")
  
  RUN_UPDATE_INFO_TASKS = 28800
  RUN_UPDATE_SUPERVISOR_TASKS = 29100
  RUN_RELOAD_ADDONS_TASKS = 28800
  RUN_WATCHDOG_HOMEASSISTANT = 15
  RUN_CLEANUP_API_SESSIONS = 900
  
  RESTART_EXIT_CODE = 100
  
  FILE_HASSIO_ADDONS = Path(HASSIO_SHARE, "addons.json")
  FILE_HASSIO_CONFIG = Path(HASSIO_SHARE, "config.json")
  
  SOCKET_DOCKER = Path("/var/run/docker.sock")
  SOCKET_HC = Path("/var/run/hassio-hc.sock")
  
  JSON_RESULT = 'result'
  JSON_DATA = 'data'
  JSON_MESSAGE = 'message'
  
  RESULT_ERROR = 'error'
  RESULT_OK = 'ok'
  
  ATTR_ARCH = 'arch'
  ATTR_HOSTNAME = 'hostname'
  ATTR_OS = 'os'
  ATTR_TYPE = 'type'
  ATTR_SOURCE = 'source'
  ATTR_FEATURES = 'features'
  ATTR_ADDONS = 'addons'
  ATTR_VERSION = 'version'
  ATTR_LAST_VERSION = 'last_version'
  ATTR_BETA_CHANNEL = 'beta_channel'
  ATTR_NAME = 'name'
  ATTR_SLUG = 'slug'
  ATTR_DESCRIPTON = 'description'
  ATTR_STARTUP = 'startup'
  ATTR_BOOT = 'boot'
  ATTR_PORTS = 'ports'
  ATTR_MAP = 'map'
  ATTR_OPTIONS = 'options'
  ATTR_INSTALLED = 'installed'
  ATTR_DETACHED = 'detached'
  ATTR_STATE = 'state'
  ATTR_SCHEMA = 'schema'
  ATTR_IMAGE = 'image'
  ATTR_ADDONS_REPOSITORIES = 'addons_repositories'
  ATTR_REPOSITORY = 'repository'
  ATTR_REPOSITORIES = 'repositories'
  ATTR_URL = 'url'
  ATTR_MAINTAINER = 'maintainer'
  ATTR_PASSWORD = 'password'
  ATTR_TOTP = 'totp'
  ATTR_INITIALIZE = 'initialize'
  ATTR_SESSION = 'session'
  ATTR_LOCATON = 'location'
  ATTR_BUILD = 'build'
  
  STARTUP_BEFORE = 'before'
  STARTUP_AFTER = 'after'
  STARTUP_ONCE = 'once'
  
  BOOT_AUTO = 'auto'
  BOOT_MANUAL = 'manual'
  
  STATE_STARTED = 'started'
  STATE_STOPPED = 'stopped'
  
  MAP_CONFIG = 'config'
  MAP_SSL = 'ssl'
  MAP_ADDONS = 'addons'
  MAP_BACKUP = 'backup'
  
  ARCH_ARMHF = 'armhf'
  ARCH_AARCH64 = 'aarch64'
  ARCH_AMD64 = 'amd64'
  ARCH_I386 = 'i386'
  
subject: Update const.py