hass-core/homeassistant/generated/config_flows.py
Emanuel Winblad 3e05fc1c11
Add initial version of Vilfo Router integration (#31177)
* Initial implementation of Vilfo router integration.

This commit is a combination of several commits, with commit messages in bullet form below.

* Added additional files to Vilfo integration.
* Added generated files.
* Fixed alphabetic order in generated config_flows.
* Continued implementation of config flow for Vilfo integration.
* Continued work on config_flow for Vilfo.
* Updated requirements in manifest for Vilfo Router integration.
* Some strings added to Vilfo Router integration.
* Vilfo Router integration updated with sensor support.
* Code style cleanup.
* Additional cleanup of config flow.
* Added additional UI strings for Vilfo Router
* Updated tests of config flow and fixed formatting
* Updated requirement upon vilfo-api-client.
* Sensor refactoring including support for icons
* Code style changes for Vilfo Router integration
* Code cleanup
* Fixed linting issues in Vilfo Router integration
* Fixed import order in test for Vilfo integration.

* Updates to Vilfo Router integration based on feedback

Based on the feedback received, updates have been made to the Vilfo Router integration.

A couple of the points mentioned have not been addressed yet, since the appropriate action has not yet been determined. These are:

* https://github.com/home-assistant/home-assistant/pull/31177#discussion_r371124477
* https://github.com/home-assistant/home-assistant/pull/31177#discussion_r371202896

This commit consists of:

    * Removed unused folder/submodule
    * Fixes to __init__
    * Fixes to config_flow
    * Fixes to const
    * Refactored sensors and applied fixes
    * Fix issue with wrong exception type in config flow
    * Updated tests for Vilfo integration config_flow
    * Updated dependency upon vilfo-api-client to improve testability
    * Import order fixes in test
    * Use constants instead of strings in tests

* Updated the VilfoRouterData class to only use the hostname as unique_id when it is the default one (admin.vilfo.com).

* Refactored based on feedback during review.

* Changes to constant names,
* Blocking IO separated to executor job,
* Data for uptime sensor changed from being computed to being a timestamp,
* Started refactoring uptime sensor in terms of naming and unit.
* Updated constants for boot time (previously uptime) sensor.
* Refactored test of Vilfo config flow to avoid patching code under test.
* UI naming fixes and better exception handling.

* Removed unused exception class.

* Various changes to Vilfo Router integration.

* Removed unit of measurement for boot time sensor,
* Added support for a sensor not having a unit,
* Updated the config_flow to handle when the integration is already configured,
* Updated tests to avoid mocking the code under test and also to cover the aforementioned changes.

* Exception handling in Vilfo Router config flow refactored to be more readable.

* Refactored constant usage, fixed sensor availability and fix API client library doing I/O in async context.

* Updated signature with hass first

* Update call to constructor with changed order of arguments
2020-02-12 19:11:15 +01:00

112 lines
1.7 KiB
Python

"""Automatically generated by hassfest.
To update, run python3 -m script.hassfest
"""
# fmt: off
FLOWS = [
"abode",
"adguard",
"airly",
"almond",
"ambiclimate",
"ambient_station",
"axis",
"brother",
"cast",
"cert_expiry",
"coolmaster",
"daikin",
"deconz",
"dialogflow",
"dynalite",
"ecobee",
"elgato",
"emulated_roku",
"esphome",
"garmin_connect",
"gdacs",
"geofency",
"geonetnz_quakes",
"geonetnz_volcano",
"gios",
"glances",
"gpslogger",
"hangouts",
"heos",
"hisense_aehw4a1",
"homekit_controller",
"homematicip_cloud",
"huawei_lte",
"hue",
"iaqualink",
"icloud",
"ifttt",
"ios",
"ipma",
"iqvia",
"izone",
"konnected",
"life360",
"lifx",
"linky",
"local_ip",
"locative",
"logi_circle",
"luftdaten",
"mailgun",
"melcloud",
"met",
"meteo_france",
"mikrotik",
"minecraft_server",
"mobile_app",
"mqtt",
"neato",
"nest",
"netatmo",
"notion",
"opentherm_gw",
"openuv",
"owntracks",
"plaato",
"plex",
"point",
"ps4",
"rainmachine",
"ring",
"samsungtv",
"sentry",
"simplisafe",
"smartthings",
"smhi",
"solaredge",
"solarlog",
"soma",
"somfy",
"sonos",
"spotify",
"starline",
"tellduslive",
"tesla",
"toon",
"tplink",
"traccar",
"tradfri",
"transmission",
"twentemilieu",
"twilio",
"unifi",
"upnp",
"velbus",
"vesync",
"vilfo",
"vizio",
"wemo",
"withings",
"wled",
"wwlln",
"zha",
"zwave"
]