hass-core/homeassistant/generated/config_flows.py
jjlawren 2d12bac0e2 Add Plex config flow support (#26548)
* Add config flow support

* Log error on failed connection

* Review comments

* Unused errors

* Move form to step

* Use instance var instead of passing argument

* Only share servers created by component

* Return errors early to avoid try:else

* Separate debug for validation vs setup

* Unnecessary

* Unnecessary checks

* Combine import flows, move logic to component

* Use config entry discovery handler

* Temporary lint fix

* Filter out servers already configured

* Remove manual config flow

* Skip discovery if a config exists

* Swap conditional to reduce indenting

* Only discover when no configs created or creating

* Un-nest function

* Proper async use

* Move legacy file import to discovery

* Fix, bad else

* Separate validate step

* Unused without manual setup step

* Async oops

* First attempt at tests

* Test cleanup

* Full test coverage for config_flow, enable tests

* Lint

* Fix lint vs black

* Add test init

* Add test package requirement

* Actually run script

* Use 'not None' convention

* Group exceptions by result

* Improve logic, add new error and test

* Test cleanup

* Add more asserts
2019-09-19 23:29:26 +02:00

75 lines
1.1 KiB
Python

"""Automatically generated by hassfest.
To update, run python3 -m script.hassfest
"""
# fmt: off
FLOWS = [
"adguard",
"ambiclimate",
"ambient_station",
"axis",
"cast",
"cert_expiry",
"daikin",
"deconz",
"dialogflow",
"emulated_roku",
"esphome",
"geofency",
"geonetnz_quakes",
"gpslogger",
"hangouts",
"heos",
"homekit_controller",
"homematicip_cloud",
"hue",
"iaqualink",
"ifttt",
"ios",
"ipma",
"iqvia",
"life360",
"lifx",
"linky",
"locative",
"logi_circle",
"luftdaten",
"mailgun",
"met",
"mobile_app",
"mqtt",
"nest",
"notion",
"openuv",
"owntracks",
"plaato",
"plex",
"point",
"ps4",
"rainmachine",
"simplisafe",
"smartthings",
"smhi",
"solaredge",
"somfy",
"sonos",
"tellduslive",
"toon",
"tplink",
"traccar",
"tradfri",
"twentemilieu",
"twilio",
"unifi",
"upnp",
"velbus",
"vesync",
"wemo",
"withings",
"wwlln",
"zha",
"zone",
"zwave"
]