Add config flow to Verisure (#17000)

This commit is contained in:
Franck Nijhof 2021-03-16 00:47:15 +01:00 committed by GitHub
parent 968bb0eb17
commit ff80b77bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ ha_platforms:
- lock
- sensor
- switch
ha_config_flow: true
ha_dhcp: true
---
Home Assistant has support to integrate your [Verisure](https://www.verisure.com/) devices.
@ -34,75 +36,7 @@ There is currently support for the following device types within Home Assistant:
- Lock
- Binary Sensor (Door & Window)
## Configuration
To integrate Verisure with Home Assistant, add the following section to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
verisure:
username: USERNAME
password: PASSWORD
```
{% configuration %}
username:
description: The username to Verisure mypages.
required: true
type: string
password:
description: The password to Verisure mypages.
required: true
type: string
alarm:
description: Set to `true` to show alarm, `false` to disable.
required: false
type: boolean
default: true
hygrometers:
description: Set to `true` to show hygrometers, `false` to disable.
required: false
type: boolean
default: true
smartplugs:
description: Set to `true` to show smartplugs, `false` to disable.
required: false
type: boolean
default: true
locks:
description: Set to `true` to show locks, `false` to disable.
required: false
type: boolean
default: true
default_lock_code:
description: Code that will be used to lock or unlock, if none is supplied.
required: false
type: string
thermometers:
description: Set to `true` to show thermometers, `false` to disable.
required: false
type: boolean
default: true
mouse:
description: Set to `true` to show mouse detectors, `false` to disable.
required: false
type: boolean
default: true
door_window:
description: Set to `true` to show doors and windows, `false` to disable.
required: false
type: boolean
default: true
code_digits:
description: Number of digits in PIN code.
required: false
type: integer
default: 4
giid:
description: The GIID of your installation (If you have more then one alarm system). To find the GIID for your systems run `python verisure.py` EMAIL PASSWORD installations'.
required: false
type: string
{% endconfiguration %}
{% include integrations/config_flow.md %}
## Alarm Control Panel