diff --git a/apps/home-assistant/2023.8.0.dev20230723/data.yml b/apps/home-assistant/2023.8.0.dev20230723/data.yml index 9ce14f8c..37a0a336 100644 --- a/apps/home-assistant/2023.8.0.dev20230723/data.yml +++ b/apps/home-assistant/2023.8.0.dev20230723/data.yml @@ -1,10 +1,17 @@ additionalProperties: formFields: - - default: ./data - edit: false - envKey: DATA_PATH - labelEn: Data folder path - labelZh: 数据文件夹路径 + - default: 8123 + disabled: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: Asia/Shanghai + edit: true + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 required: true type: text - diff --git a/apps/home-assistant/2023.8.0.dev20230723/docker-compose.yml b/apps/home-assistant/2023.8.0.dev20230723/docker-compose.yml index b48529cd..e63f324e 100644 --- a/apps/home-assistant/2023.8.0.dev20230723/docker-compose.yml +++ b/apps/home-assistant/2023.8.0.dev20230723/docker-compose.yml @@ -5,9 +5,9 @@ services: restart: always network_mode: "host" volumes: - - "${DATA_PATH}:/config" + - "./data:/config" environment: - - TZ=Asia/Shanghai + - TZ=${TIME_ZONE} image: homeassistant/home-assistant:2023.8.0.dev20230723 labels: createdBy: "Apps" diff --git a/apps/home-assistant/README.md b/apps/home-assistant/README.md index 1e199104..5e9223f5 100644 --- a/apps/home-assistant/README.md +++ b/apps/home-assistant/README.md @@ -1,14 +1,4 @@ -# 使用说明 - -- 默认访问地址 -``` -IP:8123 -``` - -# 原始相关 - -# Home Assistant [![Chat Status](https://img.shields.io/discord/330944238910963714.svg)](https://www.home-assistant.io/join-chat/) - +# Home Assistant Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. @@ -16,18 +6,3 @@ Perfect to run on a Raspberry Pi or a local server. Check out [home-assistant.io](https://home-assistant.io) for [ademo](https://demo.home-assistant.io), [installation instructions](https://home-assistant.io/getting-started/),[tutorials](https://home-assistant.io/getting-started/automation/) and [documentation](https://home-assistant.io/docs/). [![screenshot-states](https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png)](https://demo.home-assistant.io) - -## Featured integrations - -[![screenshot-integrations](https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png)](https://home-assistant.io/integrations/) - -The system is built using a modular approach so support for other -devices or actions can be implemented easily. See also the [section on -architecture](https://developers.home-assistant.io/docs/architecture_index/) -and the [section on creating your own -components](https://developers.home-assistant.io/docs/creating_component_index/). - -If you run into issues while using Home Assistant or during development -of a component, check the [Home Assistant help -section](https://home-assistant.io/help/) of our website for further -help and information.