diff --git a/README.md b/README.md index ae46418..5fbd74e 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,12 @@ This is a port of the ratgdo software for the v2 board to esphome. substitutions: id_prefix: ratgdo friendly_name: "Garage" - wifi_ssid: - wifi_password: web_server: +dashboard_import: + package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo.yaml@main + packages: # Git repo examples remote_package: @@ -42,10 +43,8 @@ api: ota: wifi: - ssid: ${wifi_ssid} - password: ${wifi_password} + ap: logger: level: VERBOSE - ``` diff --git a/base.yml b/base.yml index dbacadd..caf46a1 100644 --- a/base.yml +++ b/base.yml @@ -72,7 +72,9 @@ uart: button: - platform: restart name: "${friendly_name} Restart" - + - platform: safe_mode + name: "${friendly_name} Safe Mode Boot" + entity_category: diagnostic - platform: ratgdo id: ${id_prefix}_sync type: sync diff --git a/ratgdo.yaml b/ratgdo.yaml new file mode 100644 index 0000000..52e3ac9 --- /dev/null +++ b/ratgdo.yaml @@ -0,0 +1,32 @@ +substitutions: + id_prefix: ratgdo + friendly_name: "Garage" + +web_server: + +dashboard_import: + package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo.yaml@main + +packages: + # Git repo examples + remote_package: + url: https://github.com/esphome-ratgdo/esphome-ratgdo + files: [base.yml] + refresh: 1s # optional + +# Sync time with Home Assistant. +time: + - platform: homeassistant + id: homeassistant_time + +api: + id: api_server + +ota: + +wifi: + ap: + +logger: + level: VERBOSE +