mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 18:18:58 +00:00
18 lines
360 B
Markdown
18 lines
360 B
Markdown
---
|
|
layout: page
|
|
title: "ensure_config"
|
|
description: "Script to perform a check if the configuration file exists"
|
|
release_date: 2017-02-23 11:00:00
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
---
|
|
|
|
This script checks if the `configuration.yaml` file exists. If the file is not available, one is created.
|
|
|
|
```bash
|
|
$ hass --script ensure_config
|
|
```
|
|
|