ha-core/homeassistant/generated/config_flows.py

481 lines
9.6 KiB
Python
Raw Normal View History

"""Automatically generated by hassfest.
To update, run python3 -m script.hassfest
"""
2022-03-21 04:38:13 +01:00
FLOWS = {
"integration": [
"abode",
"accuweather",
"acmeda",
"adax",
"adguard",
"advantage_air",
"aemet",
"agent_dvr",
"airly",
"airnow",
"airthings",
"airthings_ble",
2022-03-21 04:38:13 +01:00
"airtouch4",
"airvisual",
"airzone",
Add Aladdin connect config flow (#68304) * Adding flow and async * Fixes to init * Lint and type * Fixed coveragerc file * Added Test Coverage * Added Update Listener and removed unused code * Wrong integration name in init. * Nothing * Added yaml import flow * Added YAML import functionality * Added back aladdin_connect files to coverage rc * Removed commented code * Clean up error message * Update homeassistant/components/aladdin_connect/__init__.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/aladdin_connect/__init__.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/aladdin_connect/config_flow.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Updated Documentation errors * recommended change broke cover.py - backed out * Cleaned up unused defenitions * implimented recommended changes from gjohansson * Dev environment cleanup * Raised errors for better recovery, replaced removed update files, utilized PLATFORM vars to init platform * Added back removal * Added Code Owner * Fixed more comment errors and import duplicates * Added test coverage and formated code * Added test coverage for model and init * Added test_cover for full testing coverage * Added await to async call * Added missing asserts to failure tests * Updated tranlsation * Fixed wording in yaml import function, white space in const.py, return from validate_input. * Update homeassistant/components/aladdin_connect/config_flow.py Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com> * "too much" whitespace * Added back mising strings.json errors * Added ConfigFlowReconfig and tests * Finished up reauth config flow and associated tests * Added reauth to strings, removed username from reauth * recommended changes, ran script.translations, added auth test to reauth * put back self.entry.data unpack. * Cleanup for error message, fixed missing "asserts" in tests * Added yaml import assertions * Fixed documentation errors in test_cover. * remove unused string. * revised tests and wording for yaml import * Documentation cleanup. * Changed sideeffect names Co-authored-by: G Johansson <goran.johansson@shiftit.se> Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-14 00:41:01 +02:00
"aladdin_connect",
2022-03-21 04:38:13 +01:00
"alarmdecoder",
"almond",
"amberelectric",
"ambiclimate",
"ambient_station",
"android_ip_webcam",
2022-03-21 04:38:13 +01:00
"androidtv",
"anthemav",
Refactor apcupsd to use config flow (#64809) * Add Config Flow to APCUPSd integration and remove YAML support. * Hide the binary sensor if user does not select STATFLAG resource. * Add tests for config flows. * Simplify config flow code. * Spell fix. * Fix pylint warnings. * Simplify the code for config flow. * First attempt to implement import flows to suppport legacy YAML configurations. * Remove unnecessary log calls. * Wrap synchronous update call with `hass.async_add_executor_job`. * Import the YAML configurations when sensor platform is set up. * Move the logger call since the variables are not properly set up. * Add codeowner. * Fix name field of manifest.json. * Fix linting issue. * Fix incorrect dependency due to incorrect rebase. * Update codeowner and config flows via hassfest. * Postpone the deprecation warning to 2022.7. * Import future annotations for init file. * Add an newline at the end to make prettier happy. * Update github id. * Add type hints for return types of steps in config flow. * Move the deprecation date for YAML config to 2022.12. * Update according to reviews. * Use async_forward_entry_setups. * Add helper properties to `APCUPSdData` class. * Add device_info for binary sensor. * Simplify config flow. * Remove options flow strings. * update the tests according to the changes. * Add `entity_registry_enabled_default` to entities and use imported CONF_RESOURCES to disable entities instead of skipping them. * Update according to reviews. * Do not use model of the UPS as the title for the integration. Instead, simply use "APCUPSd" as the integration title and let the device info serve as title for each device instead. * Change schema to be a global variable. * Add more comments. * Rewrite the tests for config flows. * Fix enabled_by_default. * Show friendly titles in the integration. * Add import check in `async_setup_platform` to avoid importing in sensor platform setup. * Add import check in `async_setup_platform` to avoid importing in sensor platform setup. * Update comments in test files. * Use parametrize instead of manually iterating different test cases. * Swap the order of the platform constants. * Avoid using broad exceptions. * Set up device info via `_attr_device_info`. * Remove unrelated test in `test_config_flow`. * Use `DeviceInfo` instead of dict to assign to `_attr_device_info`. * Add english translation. * Add `async_create_issue` for deprecated YAML configuration. * Enable UPS status by default since it could show "online, charging, on battery etc" which is meaningful for all users. * Apply suggestions from code review * Apply suggestion * Apply suggestion Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-28 09:14:04 +02:00
"apcupsd",
2022-03-21 04:38:13 +01:00
"apple_tv",
"arcam_fmj",
"aseko_pool_live",
"asuswrt",
"atag",
"august",
"aurora",
"aurora_abb_powerone",
"aussie_broadband",
"awair",
"axis",
"azure_devops",
"azure_event_hub",
"baf",
2022-03-21 04:38:13 +01:00
"balboa",
"blebox",
"blink",
"bluemaestro",
"bluetooth",
2022-03-21 04:38:13 +01:00
"bmw_connected_drive",
"bond",
"bosch_shc",
"braviatv",
"broadlink",
"brother",
"brunt",
"bsblan",
"bthome",
2022-03-21 04:38:13 +01:00
"buienradar",
"canary",
"cast",
"cert_expiry",
"cloudflare",
"co2signal",
"coinbase",
"control4",
"coolmaster",
"coronavirus",
"cpuspeed",
"crownstone",
"daikin",
"deconz",
2022-03-23 05:01:24 +01:00
"deluge",
2022-03-21 04:38:13 +01:00
"denonavr",
"devolo_home_control",
"devolo_home_network",
"dexcom",
"dialogflow",
"directv",
2022-03-30 13:18:48 +02:00
"discord",
2022-03-21 04:38:13 +01:00
"dlna_dmr",
"dlna_dms",
"dnsip",
"doorbird",
"dsmr",
"dsmr_reader",
2022-03-21 04:38:13 +01:00
"dunehd",
"dynalite",
"eafm",
"ecobee",
"econet",
"ecowitt",
2022-03-21 04:38:13 +01:00
"efergy",
"eight_sleep",
2022-03-21 04:38:13 +01:00
"elgato",
"elkm1",
"elmax",
"emonitor",
"emulated_roku",
"enocean",
"enphase_envoy",
"environment_canada",
"epson",
"escea",
2022-03-21 04:38:13 +01:00
"esphome",
"evil_genius_labs",
"ezviz",
"faa_delays",
"fibaro",
"filesize",
2022-03-21 04:38:13 +01:00
"fireservicerota",
"fivem",
"fjaraskupan",
"flick_electric",
"flipr",
"flo",
"flume",
"flux_led",
"forecast_solar",
"forked_daapd",
"foscam",
"freebox",
"freedompro",
"fritz",
"fritzbox",
"fritzbox_callmonitor",
"fronius",
"fully_kiosk",
2022-03-21 04:38:13 +01:00
"garages_amsterdam",
"gdacs",
"generic",
"geocaching",
2022-03-21 04:38:13 +01:00
"geofency",
"geonetnz_quakes",
"geonetnz_volcano",
"gios",
"github",
"glances",
"goalzero",
"gogogate2",
"goodwe",
"google",
"google_sheets",
2022-03-21 04:38:13 +01:00
"google_travel_time",
"govee_ble",
2022-03-21 04:38:13 +01:00
"gpslogger",
"gree",
"growatt_server",
"guardian",
"habitica",
"hangouts",
"harmony",
"heos",
"here_travel_time",
2022-03-21 04:38:13 +01:00
"hisense_aehw4a1",
"hive",
"hlk_sw16",
"home_connect",
"home_plus_control",
"homekit",
"homekit_controller",
"homematicip_cloud",
"homewizard",
"honeywell",
"huawei_lte",
"hue",
"huisbaasje",
"hunterdouglas_powerview",
"hvv_departures",
"hyperion",
"ialarm",
"iaqualink",
"ibeacon",
2022-03-21 04:38:13 +01:00
"icloud",
"ifttt",
2022-07-22 05:17:09 +02:00
"inkbird",
2022-03-21 04:38:13 +01:00
"insteon",
"intellifire",
"ios",
"iotawatt",
"ipma",
"ipp",
"iqvia",
"islamic_prayer_times",
"iss",
"isy994",
"izone",
"jellyfin",
"juicenet",
"justnimbus",
2022-03-21 04:38:13 +01:00
"kaleidescape",
"keenetic_ndms2",
"kegtron",
"keymitt_ble",
2022-03-21 04:38:13 +01:00
"kmtronic",
"knx",
"kodi",
"konnected",
"kostal_plenticore",
"kraken",
"kulersky",
"lacrosse_view",
"lametric",
"landisgyr_heat_meter",
2022-03-21 04:38:13 +01:00
"launch_library",
"laundrify",
"led_ble",
"lg_soundbar",
2022-09-20 17:51:29 +02:00
"lidarr",
2022-03-21 04:38:13 +01:00
"life360",
"lifx",
"litejet",
"litterrobot",
"local_ip",
"locative",
"logi_circle",
"lookin",
"luftdaten",
"lutron_caseta",
"lyric",
"mailgun",
"mazda",
"meater",
2022-03-21 04:38:13 +01:00
"melcloud",
"melnor",
2022-03-21 04:38:13 +01:00
"met",
"met_eireann",
"meteo_france",
"meteoclimatic",
"metoffice",
"mikrotik",
"mill",
"minecraft_server",
"mjpeg",
"moat",
2022-03-21 04:38:13 +01:00
"mobile_app",
"modem_callerid",
"modern_forms",
"moehlenhoff_alpha2",
"monoprice",
"moon",
"motion_blinds",
"motioneye",
"mqtt",
"mullvad",
"mutesync",
"myq",
"mysensors",
"nam",
"nanoleaf",
"neato",
"nest",
"netatmo",
"netgear",
"nexia",
"nextdns",
2022-03-21 04:38:13 +01:00
"nfandroidtv",
"nibe_heatpump",
2022-03-21 04:38:13 +01:00
"nightscout",
"nina",
"nmap_tracker",
Add Nobø Ecohub integration (#50913) * Initial version of Nobø Ecohub. * Options update listener for Nobø Ecohub * Unit test for nobo_hub config flow * Cleanup * Moved comment re backwards compatibility * Improved tests * Improved tests * Options flow test Pylint * Fix backwards compatibility mode * Don't require Python 3.9 * Import form configuration.yaml * Check if device is already configured. Correct tests for only discovering serial prefix Fix importing when only serial suffix is configured * Use constants * Pylint and variable name clenaup. * Review Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Fix tests * Correct disabling off_command and on_commands ("Default" is a hard coded week profile in the hub). * Improve options dialog * Configure override type in options dialog * Formatting * pyupgrade * Incorporated review comments * Incorporated review comments. * Incorporated second round of review comments. * Add polling to discover preset change in HVAC_MODE_AUTO. * Added tests/components/nobo_hub to CODEOWNERS. * Update homeassistant/components/nobo_hub/config_flow.py Review Co-authored-by: Allen Porter <allen.porter@gmail.com> * Update homeassistant/components/nobo_hub/climate.py Review Co-authored-by: Allen Porter <allen.porter@gmail.com> * Simplify if tests. * Update homeassistant/components/nobo_hub/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update homeassistant/components/nobo_hub/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update homeassistant/components/nobo_hub/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Separate config step for manual configuration. * Fixed indentation * Made async_set_temperature more robust * Thermometer supports tenths even though thermostat is in ones. * Preserve serial suffix in config dialog on error. * Initial version of Nobø Ecohub. * Improved tests * Review Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Configure override type in options dialog * Separate config step for manual configuration. * Update homeassistant/components/nobo_hub/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Formatting (prettier) * Fix HA stop listener. * Review * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Review - Removed workaround to support "OFF" setting. - Simplified config flow to add a new device. * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Fixed review comments * Update en.json with correction in review. * Implemented review comments: - Register devices - Simplifed async_set_temperature * Register hub as device in init module * Implemented review comments. Upgraded pynobo to 1.4.0. * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Avoid tacking on the device name in the entity name * Inherit entity name from device name Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Allen Porter <allen.porter@gmail.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-03 10:11:40 +02:00
"nobo_hub",
2022-03-21 04:38:13 +01:00
"notion",
"nuheat",
"nuki",
"nut",
"nws",
"nzbget",
"octoprint",
"omnilogic",
"oncue",
"ondilo_ico",
"onewire",
"onvif",
"open_meteo",
"openexchangerates",
2022-03-21 04:38:13 +01:00
"opengarage",
"opentherm_gw",
"openuv",
"openweathermap",
"oralb",
2022-03-21 04:38:13 +01:00
"overkiz",
"ovo_energy",
"owntracks",
"p1_monitor",
"panasonic_viera",
Add PECO power outage counter integration (#65194) * Create a new NWS Alerts integration * Create a new NWS Alerts integration * Create new PECO integration * Remove empty keys * Revert "Create a new NWS Alerts integration" This reverts commit 38309c5a878d78f26df56a62e56cb602d9dc9a9e. * Revert "Create a new NWS Alerts integration" This reverts commit aeabdd37b86c370bdb8009e885806bdac6e464d8. * Fix test with new mock data * Add init and sensor to .coveragerc and more tests for config flow * Small fixes and replacing patch with pytest.raises in testing invalid county * Add type defs and fix test_config_flow to use MultipleValid instead * Fix issues with 'typing.Dict' * Move API communication to seperate PyPI library * Switch PyPI library from httpx to aiohttp to allow for passing in websessions * Commit file changes requested by farmio as listed here: https://github.com/home-assistant/core/pull/65194/files/d267e4300a4d359d88ef33e43b66d0e961ac154d * Add suggestions requested by farmio as listed here: https://github.com/home-assistant/core/pull/65194/files/586d8ffa42d7860d91e25fb82b2d6eace6645a82 * Move native_unit_of_measurement from prop to attr * Update PLATFORMS constant type annotation Co-authored-by: Matthias Alphart <farmio@alphart.net> * Add peco to .strict-typing I am from school so I can't run mypy atm * Forgot to import Final * Do as requested [here](https://github.com/home-assistant/core/runs/5070634928?check_suite_focus=true) * Updated mypy.ini, checks should pass now * Fix to conform to mypy restrictions https://github.com/home-assistant/core/runs/5072861837\?check_suite_focus\=true * Fix type annotations * Fix tests * Use cast in async_update_data * Add data type to CoordinatorEntity and DataUpdateCoordinator * More cleanup from suggestions here: https://github.com/home-assistant/core/pull/65194\#pullrequestreview-908183493 * Fix tests for new code * Cleaning up a speck of dust * Remove unused variable from the peco sensor * Add rounding to percentage, and extra clean-up * Final suggestions from @farmio * Update SCAN_INTERVAL to be a little bit faster * Change the SCAN_INTERVAL to be somewhat near the update interval of the outage map, as noted by farmio * New UpdateCoordinator typing
2022-03-21 23:56:53 +01:00
"peco",
2022-03-21 04:38:13 +01:00
"philips_js",
"pi_hole",
"picnic",
"plaato",
"plex",
"plugwise",
"plum_lightpad",
"point",
"poolsense",
"powerwall",
"profiler",
"progettihwsw",
"prosegur",
"prusalink",
2022-03-21 04:38:13 +01:00
"ps4",
"pure_energie",
"pushover",
2022-03-21 04:38:13 +01:00
"pvoutput",
"pvpc_hourly_pricing",
"qingping",
"qnap_qsw",
2022-03-21 04:38:13 +01:00
"rachio",
2022-09-23 04:16:24 +02:00
"radarr",
2022-03-21 04:38:13 +01:00
"radio_browser",
2022-06-06 01:59:52 +02:00
"radiotherm",
2022-03-21 04:38:13 +01:00
"rainforest_eagle",
"rainmachine",
"rdw",
"recollect_waste",
"renault",
"rfxtrx",
"rhasspy",
2022-03-21 04:38:13 +01:00
"ridwell",
"ring",
"risco",
"rituals_perfume_genie",
"roku",
"roomba",
"roon",
"rpi_power",
"rtsp_to_webrtc",
"ruckus_unleashed",
"sabnzbd",
2022-03-21 04:38:13 +01:00
"samsungtv",
"screenlogic",
"season",
"sense",
"senseme",
"sensibo",
"sensorpro",
"sensorpush",
2022-03-21 04:38:13 +01:00
"sentry",
2022-04-15 00:29:31 +02:00
"senz",
2022-03-21 04:38:13 +01:00
"sharkiq",
"shelly",
"shopping_list",
"sia",
"simplepush",
2022-03-21 04:38:13 +01:00
"simplisafe",
2022-06-05 04:37:08 +02:00
"skybell",
"slack",
2022-03-21 04:38:13 +01:00
"sleepiq",
"slimproto",
2022-03-21 04:38:13 +01:00
"sma",
"smappee",
"smart_meter_texas",
"smartthings",
"smarttub",
"smhi",
"sms",
"snooz",
2022-03-21 04:38:13 +01:00
"solaredge",
"solarlog",
"solax",
"soma",
"somfy_mylink",
"sonarr",
"songpal",
"sonos",
"soundtouch",
2022-03-21 04:38:13 +01:00
"speedtestdotnet",
"spider",
"spotify",
"sql",
2022-03-21 04:38:13 +01:00
"squeezebox",
"srp_energy",
"starline",
"steam_online",
2022-03-21 04:38:13 +01:00
"steamist",
"stookalert",
"subaru",
"sun",
"surepetcare",
"switchbee",
2022-03-21 04:38:13 +01:00
"switchbot",
"switcher_kis",
"syncthing",
"syncthru",
"synology_dsm",
"system_bridge",
"tado",
"tailscale",
"tankerkoenig",
2022-03-21 04:38:13 +01:00
"tasmota",
"tautulli",
2022-03-21 04:38:13 +01:00
"tellduslive",
"tesla_wall_connector",
"thermobeacon",
"thermopro",
2022-03-21 04:38:13 +01:00
"tibber",
"tile",
"tilt_ble",
2022-03-21 04:38:13 +01:00
"tolo",
"tomorrowio",
"toon",
"totalconnect",
"tplink",
"traccar",
"tractive",
"tradfri",
"trafikverket_ferry",
"trafikverket_train",
2022-03-21 04:38:13 +01:00
"trafikverket_weatherstation",
"transmission",
"tuya",
"twentemilieu",
"twilio",
"twinkly",
"ukraine_alarm",
2022-03-21 04:38:13 +01:00
"unifi",
"unifiprotect",
"upb",
"upcloud",
"upnp",
"uptime",
"uptimerobot",
"vallox",
"velbus",
"venstar",
"vera",
"verisure",
"version",
"vesync",
"vicare",
"vilfo",
"vizio",
"vlc_telnet",
"volumio",
"volvooncall",
"vulcan",
2022-03-21 04:38:13 +01:00
"wallbox",
"watttime",
"waze_travel_time",
"webostv",
"wemo",
"whirlpool",
"whois",
"wiffi",
"wilight",
"withings",
"wiz",
"wled",
"wolflink",
"ws66i",
2022-03-21 04:38:13 +01:00
"xbox",
"xiaomi_aqara",
"xiaomi_ble",
2022-03-21 04:38:13 +01:00
"xiaomi_miio",
"yale_smart_alarm",
"yalexs_ble",
2022-03-21 04:38:13 +01:00
"yamaha_musiccast",
"yeelight",
"yolink",
2022-03-21 04:38:13 +01:00
"youless",
2022-10-26 18:35:12 +02:00
"zamg",
2022-03-21 04:38:13 +01:00
"zerproc",
"zha",
"zwave_js",
"zwave_me",
2022-03-21 04:38:13 +01:00
],
"helper": [
"derivative",
"group",
"integration",
"min_max",
"switch_as_x",
"threshold",
"tod",
"utility_meter",
],
2022-03-21 04:38:13 +01:00
}