ha-core/homeassistant/generated/config_flows.py

525 lines
10 KiB
Python
Raw Normal View History

"""Automatically generated file.
To update, run python3 -m script.hassfest
"""
2022-03-21 04:38:13 +01:00
FLOWS = {
2022-11-09 16:58:20 +01:00
"helper": [
"derivative",
"group",
"integration",
"min_max",
"switch_as_x",
"threshold",
"tod",
"utility_meter",
],
2022-03-21 04:38:13 +01:00
"integration": [
"abode",
"accuweather",
"acmeda",
"adax",
"adguard",
"advantage_air",
"aemet",
"agent_dvr",
"airly",
"airnow",
Add air-Q integration (air quality sensors) (#76999) * Added initial files for air-Q integration * Allow FIXME comments in pylint (temporary) Also reintroduce --ignore-missing-annotations=y * Set up air-q entry to connect to aioairq's API (initial attempt) Also add necessary constants * Implement a class for sensors and its update logic Very early stage, WIP * Zeroconf and authentication are working * Complete the bare-bone minimal working version Specifically, make AirQSensor update its values. * Handle invalid authentication gracefully * Handle ClientConnectionError gracefully * Add field hint for the login form The key in the schema, which defines the form in `ConfigFlow.async_show_form` is looked up in both `airq/strings/json` and `airq/translations/en.json`. I am still not 100% sure how this lookup is performed. WIP * Minor cleanups * Extend sensor list to all supported by SensorDeviceClass Also manage warming up sensors * aioairq is published to PyPI and mentioned in requirements * Reordered constants and list content alphabetically As required by style guides. Also turned SENSOR_TYPES to a list * Updated file docstrings for a dev unfamiliar w/homeassistant like myself * Adding a bit of logging for the integration setup process * Expose scan interval & smoothing flag Also streamline test_authentication in config_flow. * Fix a type annotation mistake * Use as many constants from homeassistant.const as possible My only concern is using CONST_IP_ADDRESS = "ip_address" for smth which stands for both IP address and mDNS... * Temporarily rollback ConfigFlow.async_step_configure and use defaults TODO: implement OptionFlowHandler instead * Define custom Coordinator, w subset of airq config The latter is then accessed from entity / sensor constructors to define correct DeviceInfo * Provide translations to de & fr + minor changes to en * Provide translations to ru + a minor en changes * Make translation a little more helpful and polite * Fix devicename and entry title * Remove stale commented out code * Test config_flow At this point two helper functions which interact with the external library are not tested * Clean up unrelated and meant as temporary changes * Clean up unnecessary comments meant for internal use * Move fetching config to a dedicated async coordinator method As opposed to it being a potentially poorly justified step in async_setup_entry * Remove zeroconf support since it is not yet ready * Remove translations other than en * Remove unnecessary comments, manifest.json entries, and constants * Improve exception handling - `_LOGGER` uses `debug` and not `error` levels. - Drop `ClientConnect` and catch `aiohttop.ClientConnectError` directly - Drop `Exception` as it is not expected from `aioairq` (remove the corresponding test too) * Drop strings for obsolete errors and steps Specifically, `unknown` error isn't caught any more. `configure` step has also been removed. * Refactor en.json to be consistent with strings.json * Move target_route from a coordinator argument to a constant At this point a user cannot configure the target_route route, thus it does not make sense to expose it half-heartedly in `AirQCoordinator.__init__`, since it cannot be accessed. * Fix an async call in `AirQCoordinator.async_setup_entry` * Refactor underlying aioairq API - Use `homeassistant.helpers.aiohttp.async_get_clientsession` and pass a single persistent session to `aioariq.AirQ.__init__` - `aioairq.AirQ.fetch_device_info` now returns a `DeviceInfo` object heavily inspired and almost compatible with `homeassistant.helpers.entity.DeviceInfo`. Make heavier use of this object and define a single `DeviceInfo` in the `AirQCoordinator` (instead of recreating the same object for each sensor of the device in `sensor.AirQSensor`) - Drop two helper functions in `config_flow.py` and operate on `aioariq.AirQ` methods directly * Fix the version of aioairq * Add 15 more sensors + icons * Remove cnt* & TypPS, change units of health & performance * Add 12 more sensors * Add a missing icon * Gracefully handle device not being available on setup If the device and the host are not on the same WiFi, ServerTimeoutError is raised, which is caught by ClientConnectionError. If the device is powered off, ClientConnectionError is expected. In both cases, ConfigEntryNotReady is raised, as prescribed by the docs. Newer version of aioairq times-out far quicker than the default 5 mins. * Rename two sensors * Validate provided IP address / mDNS aioairq now raises InvalidInput if provided IP / mDNS does not seem valid. Handle this exception correctly * Apply suggestions from code review Clean up the comments and rename the logger Co-authored-by: Erik Montnemery <erik@montnemery.com> Co-authored-by: Artem Draft <Drafteed@users.noreply.github.com> * Only fetch device info during the first refresh - Fetched info is stored in AirQCoordinator.device_info. - In `AirQSensor.native_value` only multiply by the factor if the sensor reading is not None - Fix the tests for ConfigFlow for aioairq==0.2.3. Specifically make the dummy data pass the new validation step upstream + add a test which fails it * Drop custom device classes for now * Apply suggestions from code review Co-authored-by: Artem Draft <Drafteed@users.noreply.github.com> * Only fetch device info during ConfigFlow.async_step_user Store the result obtained by `airq.fetch_device_info` it in `config_entry.data`. Pass the entire config entry to `AirQCoordinator` and build the entire `homeassistant.helpers.entity.DeviceInfo` in the `AirQCoordinator.__init__`. This makes `AirQCoordinator._async_fetch_device_info` and overloaded `AirQCoordinator._async_config_entry_first_refresh` obsolete. Bump aioairq version. Turn update_interval from `AirQCoordinator.__init__` argument into a contestant. * Custom entity description exposing a hook to modify sensor value Use a `AirQEntityDescription` with a callable `value_fn` which allows to change the sensor value retrieved from the device. Note that the callable does not handle data retrieval itself (even from `coordinator.data`). Instead it is purely a hook to transform obtained value. * Avoid duplicated use of unique_id Device info is fetched during the `ConfigFlow.async_user_step`. `unique_id` is taken from the device info and is **not** stored in `config_entry.data`. Subsequently `config_entry.unique_id` is used instead. * Drop unnecessary try-except Co-authored-by: Artem Draft <Drafteed@users.noreply.github.com> * Clarify the use of value_transform_fn * Refactor the use of lambdas in AirQEntityDescription Now it is the job of the callable under `value` to get the sensor reading from the coordinator's data. Factoring this functionality into a callback decouples the key of the description from the key of dict, returned by the API, so `AirQEntityDescription` no longer requires its key to be set to smth clearly internal (e.g. `nh3_MR100`). * Use a callback to update native_value Since all `native_value`s are updated synchronously, it can as well be done in a callback for better state consistency (right?) * Revert the description keys to match data keys Must match given the current way of identifying available sensors. On a broader scale, they must match to be able to relate the descriptions to sensors, unless a separate lookup table is maintained. * Reduce number of loops when adding sensors Filtering warming up sensors and non-sensor keys can be combined with adding entities. * Remove obsolete imports * Update integrations.json * Add integration_type Integration supports multiple devices => hub Co-authored-by: dl2080 <daniel.lehmann@runbox.com> Co-authored-by: Erik Montnemery <erik@montnemery.com> Co-authored-by: Artem Draft <Drafteed@users.noreply.github.com> Co-authored-by: Daniel Lehmann <43613560+dl2080@users.noreply.github.com> Co-authored-by: Martin Selbmann <job@martin-selbmann.de>
2022-11-03 23:13:57 +01:00
"airq",
2022-03-21 04:38:13 +01:00
"airthings",
"airthings_ble",
2022-03-21 04:38:13 +01:00
"airtouch4",
"airvisual",
"airvisual_pro",
2022-03-21 04:38:13 +01:00
"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",
"amberelectric",
"ambiclimate",
"ambient_station",
"android_ip_webcam",
2022-03-21 04:38:13 +01:00
"androidtv",
"androidtv_remote",
"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",
2022-10-31 04:50:46 +01:00
"aranet",
2022-03-21 04:38:13 +01:00
"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",
"brottsplatskartan",
2022-03-21 04:38:13 +01:00
"brunt",
"bsblan",
"bthome",
2022-03-21 04:38:13 +01:00
"buienradar",
"canary",
"cast",
"cert_expiry",
"cloudflare",
"co2signal",
"coinbase",
"control4",
"coolmaster",
"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",
2023-01-11 01:10:56 +01:00
"dlink",
2022-03-21 04:38:13 +01:00
"dlna_dmr",
"dlna_dms",
"dnsip",
"doorbird",
"dormakaba_dkey",
2022-03-21 04:38:13 +01:00
"dsmr",
"dsmr_reader",
2022-03-21 04:38:13 +01:00
"dunehd",
"dynalite",
"eafm",
2023-02-03 19:56:17 +01:00
"easyenergy",
2022-03-21 04:38:13 +01:00
"ecobee",
"econet",
"ecowitt",
"edl21",
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",
2023-01-03 22:28:16 +01:00
"energyzero",
2022-03-21 04:38:13 +01:00
"enocean",
"enphase_envoy",
"environment_canada",
"epson",
"escea",
2022-03-21 04:38:13 +01:00
"esphome",
"eufylife_ble",
2022-03-21 04:38:13 +01:00
"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",
"frontier_silicon",
"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_assistant_sdk",
"google_mail",
"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",
"harmony",
"heos",
"here_travel_time",
2022-03-21 04:38:13 +01:00
"hisense_aehw4a1",
"hive",
"hlk_sw16",
"home_connect",
"home_plus_control",
"homeassistant_sky_connect",
2022-03-21 04:38:13 +01:00
"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",
"imap",
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",
2023-01-06 03:15:03 +01:00
"ld2410_ble",
"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",
2022-11-07 14:40:23 +01:00
"livisi",
2022-11-30 21:20:21 +01:00
"local_calendar",
2022-03-21 04:38:13 +01:00
"local_ip",
"locative",
"logi_circle",
"lookin",
"luftdaten",
"lutron_caseta",
"lyric",
"mailgun",
"matter",
2022-03-21 04:38:13 +01:00
"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",
"mopeka",
2022-03-21 04:38:13 +01:00
"motion_blinds",
"motioneye",
"mqtt",
"mullvad",
"mutesync",
"myq",
"mysensors",
"nam",
"nanoleaf",
"neato",
"nest",
"netatmo",
"netgear",
"nexia",
"nextcloud",
"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",
Add Config Flow to Obihai (#88627) * Obihai: Config Flow Only * Remove reboot service * Update .coveragerc Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * PR Feedback * Use Issue Registry * Add config_flow tests * Another pass with pre-commit * Resolve cyclical import and move sensorClasses to sensor * Update homeassistant/components/obihai/config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update homeassistant/components/obihai/sensor.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update homeassistant/components/obihai/sensor.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update tests/components/obihai/test_config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Another round of feedback * More PR feedback * Offline testing, already_configured is required * Update homeassistant/components/obihai/config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update homeassistant/components/obihai/config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update homeassistant/components/obihai/config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Cleanup * Update homeassistant/components/obihai/__init__.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * PR feedback * Backout today's changes: Fix mypy error * Update tests/components/obihai/test_config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update tests/components/obihai/test_config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update tests/components/obihai/test_config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Update tests/components/obihai/test_config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Don't plan ahead * PR feedback * Update homeassistant/components/obihai/config_flow.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Cleanup strings --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-27 17:22:15 +01:00
"obihai",
2022-03-21 04:38:13 +01:00
"octoprint",
"omnilogic",
"oncue",
"ondilo_ico",
"onewire",
"onvif",
"open_meteo",
"openai_conversation",
"openexchangerates",
2022-03-21 04:38:13 +01:00
"opengarage",
"opentherm_gw",
"openuv",
"openweathermap",
"oralb",
"otbr",
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",
2022-12-13 04:32:11 +01:00
"purpleair",
"pushbullet",
"pushover",
2022-03-21 04:38:13 +01:00
"pvoutput",
"pvpc_hourly_pricing",
Add config flow to qBittorrent (#82560) * qbittorrent: implement config_flow Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: add English translations Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: create sensors with config_flow Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: set unique_id and icon Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: add tests for config_flow Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: detect duplicate config entries Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: import YAML config Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: update coveragerc Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> * qbittorrent: delete translations file * create `deprecated_yaml` issue in `setup_platform` * move qbittorrent test fixtures to conftest.py * improve code quality & remove wrong unique_id * keep PLATFORM_SCHEMA until YAML support is removed * remove CONF_NAME in config entry, fix setup_entry * improve test suite * clean up QBittorrentSensor class * improve user flow tests * explicit result assertion & minor tweaks in tests Co-authored-by: epenet <epenet@users.noreply.github.com> * implement entry unloading Co-authored-by: epenet <epenet@users.noreply.github.com> * add type hints * tweak config_flow data handling --------- Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com> Co-authored-by: epenet <epenet@users.noreply.github.com>
2023-03-29 22:13:41 +02:00
"qbittorrent",
"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",
"rainbird",
2022-03-21 04:38:13 +01:00
"rainforest_eagle",
"rainmachine",
"rapt_ble",
2022-03-21 04:38:13 +01:00
"rdw",
"recollect_waste",
"renault",
"reolink",
2022-03-21 04:38:13 +01:00
"rfxtrx",
"rhasspy",
2022-03-21 04:38:13 +01:00
"ridwell",
"ring",
"risco",
"rituals_perfume_genie",
Add new Roborock Integration (#89456) * init roborock commit * init commit of roborock * removed some non-vacuum related code * removed some non-needed constants * removed translations * removed options flow * removed manual control * remove password login * removed go-to * removed unneeded function and improved device_stat * removed utils as it is unused * typing changes in vacuum.py * fixed test patch paths * removed unneeded records * removing unneeded code in tests * remove password from strings * removed maps in code * changed const, reworked functions * remove menu * fixed tests * 100% code coverage config_flow * small changes * removed unneeded patch * bump to 0.1.7 * removed services * removed extra functions and mop * add () to configEntryNotReady * moved coordinator into seperate file * update roborock testing * removed stale options code * normalize username for unique id * removed unneeded variables * fixed linter problems * removed stale comment * additional pr changes * simplify config_flow * fix config flow test * Apply suggestions from code review Co-authored-by: Allen Porter <allen.porter@gmail.com> * First pass at resolving PR comments * reworked config flow * moving vacuum attr * attempt to clean up conflig flow more * update package and use offline functionality * Fixed errors and fan bug * rework model and some other small changes * bump version * used default factory * moved some client creation into coord * fixed patch * Update homeassistant/components/roborock/coordinator.py Co-authored-by: Allen Porter <allen.porter@gmail.com> * moved async functions into gather * reworked gathers * removed random line * error catch if networking doesn't exist or timeout * bump to 0.6.5 * fixed mocked data reference url * change checking if we have no network information Co-authored-by: Allen Porter <allen.porter@gmail.com> --------- Co-authored-by: Allen Porter <allen.porter@gmail.com> Co-authored-by: Allen Porter <allen@thebends.org>
2023-04-20 16:02:58 +02:00
"roborock",
2022-03-21 04:38:13 +01:00
"roku",
"roomba",
"roon",
"rpi_power",
"rtsp_to_webrtc",
"ruckus_unleashed",
"ruuvi_gateway",
2022-11-09 15:35:30 +01:00
"ruuvitag_ble",
"rympro",
"sabnzbd",
2022-03-21 04:38:13 +01:00
"samsungtv",
"scrape",
2022-03-21 04:38:13 +01:00
"screenlogic",
"season",
"sense",
"senseme",
"sensibo",
"sensirion_ble",
"sensorpro",
"sensorpush",
2022-03-21 04:38:13 +01:00
"sentry",
2022-04-15 00:29:31 +02:00
"senz",
"sfr_box",
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",
"snapcast",
"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",
"starlink",
"steam_online",
2022-03-21 04:38:13 +01:00
"steamist",
"stookalert",
"stookwijzer",
2022-03-21 04:38:13 +01:00
"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",
"thread",
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",
"tplink_omada",
2022-03-21 04:38:13 +01:00
"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",
"voip",
2022-03-21 04:38:13 +01:00
"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",
"workday",
"ws66i",
"wyoming",
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",
"zeversolar",
2022-03-21 04:38:13 +01:00
"zha",
"zwave_js",
"zwave_me",
2022-03-21 04:38:13 +01:00
],
}