mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Implement config flow for nextcloud (#26503)
This commit is contained in:
parent
3083d7f257
commit
f28a1c1e6f
@ -7,6 +7,7 @@ ha_category:
|
|||||||
ha_iot_class: Cloud Polling
|
ha_iot_class: Cloud Polling
|
||||||
ha_release: 0.108
|
ha_release: 0.108
|
||||||
ha_domain: nextcloud
|
ha_domain: nextcloud
|
||||||
|
ha_config_flow: true
|
||||||
ha_codeowners:
|
ha_codeowners:
|
||||||
- '@meichthys'
|
- '@meichthys'
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
@ -31,28 +32,4 @@ This integration has the following Nextcloud Server prerequisites:
|
|||||||
- The Nextcloud 'Monitoring' app must be installed (__*Nextcloud*__ > __*Apps*__ > 🔍(Search Icon) > __*Monitoring*__ > __*Enable*__)
|
- The Nextcloud 'Monitoring' app must be installed (__*Nextcloud*__ > __*Apps*__ > 🔍(Search Icon) > __*Monitoring*__ > __*Enable*__)
|
||||||
- (Recommended) A Nextcloud App password should be generated for use in Home Assistant (__*Nextcloud*__ > __*Settings*__ > __*Personal*__ > __*Security*__ > __*Devices & sessions*__ > __*Create new app password*__)
|
- (Recommended) A Nextcloud App password should be generated for use in Home Assistant (__*Nextcloud*__ > __*Settings*__ > __*Personal*__ > __*Security*__ > __*Devices & sessions*__ > __*Create new app password*__)
|
||||||
|
|
||||||
To enable the Nextcloud integration, add the following lines to your `configuration.yaml`:
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
```yaml
|
|
||||||
# Example configuration.yaml entry
|
|
||||||
nextcloud:
|
|
||||||
url: https://YOUR_NEXTCLOUD_URL
|
|
||||||
username: YOUR_USERNAME
|
|
||||||
password: YOUR_APP_PASSWORD
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
url:
|
|
||||||
description: The full URL to your Nextcloud instance.
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
username:
|
|
||||||
description: The username of a Nextcloud user that has access to the Nextcloud monitor API.
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
password:
|
|
||||||
description: The app password generated from the Nextcloud security settings page.
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user