* Update Ezviz Component * Update Ezviz for pylint test * Update Ezviz component pylint tests * Update Ezviz component tests * Update Ezviz Component tests * Update Ezviz component pylint error * Fix ezviz component config flow tests * Update ezviz component * Update Ezviz component * Add sensor platforms * issue with requirements file * Update binary_sensor to include switches * Updates to Ezviz sensors * Removed enum private method. * Fix switch args * Update homeassistant/components/ezviz/switch.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * config flow checks login info * Config_flow now imports ezviz from camera platform * Update test * Updated config_flow with unique_id and remove period from logging * Added two camera services and clarified service descryptions in services.yaml * Fixed variable name mistake with new service * Added french integration translation * Config_flow add camera rtsp credentials as seperate entities, with user step and import step * rerun hassfest after rebase * Removed region from legacy config schema, removed logging in camera platform setup that could contain credentials, removed unused constant. * Regenerate requirements * Fix tests and add config_flow import config test * Added addition test to config_flow to test successfull camera entity create. * Add to tests method to end in create entry, config_flow cleanup, use entry instead of entry.data * Removed all services, sorted platforms in init file. * Changed RTSP logging to debug from warning. (Forgot to change this before commit) * Cleanup typing, change platform order, bump pyezviz version * Added types to entries, allow creation of main entry if deleted by validating existance of type * Config_flow doesn't store serial under entry data, camera rtsp read from entry and not stored in hass, removed duplicate abort if unique id from config flow * Fix test of config_flow * Update tests/components/ezviz/test_config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/ezviz/test_config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/ezviz/test_config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Bumped pyezviz api version, added api pyezvizerror exception raised in api (on HTTPError), cleanup unused imports. * rebase * cleanup coordinator, bump pyezviz api version, move async_setup_entry to add entry options to camera entries. (order change) * Added discovery step in config_flow if cameras detected without rtsp config entry * Reload main integration after addition or completion of camera rtsp config entry * Add tests for discovery config_flow, added a few other output asserts * Camera platform call discover flow with hass.async_create_task. Fixes to config_flow for discovery step * Fix config_flow discovery, add check to legacy yaml camera platform import, move camera private method to camera import step * Remove not needed check from config_flow import step. * Cleanup config_flow * Added config_flow description for discovered camera * Reordered description in config_flow confim step. * Added serial to flow_step description for discovered camera, readded camera attributes for rtsp stream url (allows user to check RTSP cred), added local ip and firmware upgade available. * Bumped pyezviz version and changed region code to region url. (Russia uses a completly different url). PyEzviz adds a Local IP sensor, removed camera entity attributes. * Add RSTP describe auth check from API to config_flow * url as vol.in options in Config_flow * Config_flow changes to discovery step, added exceptions, fixed tests, added rtsp config validate module mock to test disovery confirm step * Add test for config_flow step user_camera * Added tests for abort flow * Extend tests on custom url flow step * Fix exceptions in config_flow, fix test for discovery import exception test * Bump pyezviz api version * Bump api version, added config_flow function to wake hybernating camera before testing credentials, removed "user camera" step from config flow not needed as cameras are discovered. * Create pyezviz Api instance for config_flow wake hybernating camera, fixed tests and added fixture to mock method * Added alarm_control_panel with support to arm/disarm all cameras, fixed camera is available attribute (returns 2 if unavailable, 1 if available) * Skip ignored entities when setup up camera RTSP stream * Remove alarm_control_panel, add additional config_flow tests * Cleanup tests, add tests for discovery_step. * Add test for config_flow rtsp test step1 exceptions * Removed redundant except from second step in test RTSP method * All tests to CREATE or ABORT, added step exception for general HTTP error so user can retry in case of trasient network condition * Ammended tests with output checks for step_id, error, data, create entry method calls. * bumped ezviz api now rases library exceptions. Config_flow, coordiantor and init raises library exceptions. Updated test sideeffect for library exceptions * Bump api version, Create mock ezviz cloud account on discovery tests first to allow more complete testing of step. * Add abort to rtsp verification method if cloud account was deleted and add tests * Update tests/components/ezviz/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/const.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/ezviz/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Undo config import change to password key for yaml, move hass.data.setdefault to async_setup_entry and remove async_setup * Fixed tests by removing _patch_async_setup as this was removed from init. * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/ezviz/camera.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Changed L67 on camera config to complete suggestion for cleanup Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
278 lines
4.4 KiB
Python
278 lines
4.4 KiB
Python
"""Automatically generated by hassfest.
|
|
|
|
To update, run python3 -m script.hassfest
|
|
"""
|
|
|
|
# fmt: off
|
|
|
|
FLOWS = [
|
|
"abode",
|
|
"accuweather",
|
|
"acmeda",
|
|
"adguard",
|
|
"advantage_air",
|
|
"aemet",
|
|
"agent_dvr",
|
|
"airly",
|
|
"airnow",
|
|
"airvisual",
|
|
"alarmdecoder",
|
|
"almond",
|
|
"ambiclimate",
|
|
"ambient_station",
|
|
"apple_tv",
|
|
"arcam_fmj",
|
|
"asuswrt",
|
|
"atag",
|
|
"august",
|
|
"aurora",
|
|
"awair",
|
|
"axis",
|
|
"azure_devops",
|
|
"blebox",
|
|
"blink",
|
|
"bmw_connected_drive",
|
|
"bond",
|
|
"braviatv",
|
|
"broadlink",
|
|
"brother",
|
|
"bsblan",
|
|
"canary",
|
|
"cast",
|
|
"cert_expiry",
|
|
"climacell",
|
|
"cloudflare",
|
|
"control4",
|
|
"coolmaster",
|
|
"coronavirus",
|
|
"daikin",
|
|
"deconz",
|
|
"denonavr",
|
|
"devolo_home_control",
|
|
"dexcom",
|
|
"dialogflow",
|
|
"directv",
|
|
"doorbird",
|
|
"dunehd",
|
|
"dynalite",
|
|
"eafm",
|
|
"ecobee",
|
|
"econet",
|
|
"elgato",
|
|
"elkm1",
|
|
"emonitor",
|
|
"emulated_roku",
|
|
"enocean",
|
|
"enphase_envoy",
|
|
"epson",
|
|
"esphome",
|
|
"ezviz",
|
|
"faa_delays",
|
|
"fireservicerota",
|
|
"flick_electric",
|
|
"flo",
|
|
"flume",
|
|
"flunearyou",
|
|
"forked_daapd",
|
|
"foscam",
|
|
"freebox",
|
|
"fritzbox",
|
|
"fritzbox_callmonitor",
|
|
"garmin_connect",
|
|
"gdacs",
|
|
"geofency",
|
|
"geonetnz_quakes",
|
|
"geonetnz_volcano",
|
|
"gios",
|
|
"glances",
|
|
"goalzero",
|
|
"gogogate2",
|
|
"google_travel_time",
|
|
"gpslogger",
|
|
"gree",
|
|
"guardian",
|
|
"habitica",
|
|
"hangouts",
|
|
"harmony",
|
|
"heos",
|
|
"hisense_aehw4a1",
|
|
"hive",
|
|
"hlk_sw16",
|
|
"home_connect",
|
|
"home_plus_control",
|
|
"homekit",
|
|
"homekit_controller",
|
|
"homematicip_cloud",
|
|
"huawei_lte",
|
|
"hue",
|
|
"huisbaasje",
|
|
"hunterdouglas_powerview",
|
|
"hvv_departures",
|
|
"hyperion",
|
|
"iaqualink",
|
|
"icloud",
|
|
"ifttt",
|
|
"insteon",
|
|
"ios",
|
|
"ipma",
|
|
"ipp",
|
|
"iqvia",
|
|
"islamic_prayer_times",
|
|
"isy994",
|
|
"izone",
|
|
"juicenet",
|
|
"keenetic_ndms2",
|
|
"kmtronic",
|
|
"kodi",
|
|
"konnected",
|
|
"kostal_plenticore",
|
|
"kulersky",
|
|
"life360",
|
|
"lifx",
|
|
"litejet",
|
|
"litterrobot",
|
|
"local_ip",
|
|
"locative",
|
|
"logi_circle",
|
|
"luftdaten",
|
|
"lutron_caseta",
|
|
"lyric",
|
|
"mailgun",
|
|
"mazda",
|
|
"melcloud",
|
|
"met",
|
|
"met_eireann",
|
|
"meteo_france",
|
|
"metoffice",
|
|
"mikrotik",
|
|
"mill",
|
|
"minecraft_server",
|
|
"mobile_app",
|
|
"monoprice",
|
|
"motion_blinds",
|
|
"mqtt",
|
|
"mullvad",
|
|
"myq",
|
|
"mysensors",
|
|
"neato",
|
|
"nest",
|
|
"netatmo",
|
|
"nexia",
|
|
"nightscout",
|
|
"notion",
|
|
"nuheat",
|
|
"nuki",
|
|
"nut",
|
|
"nws",
|
|
"nzbget",
|
|
"omnilogic",
|
|
"ondilo_ico",
|
|
"onewire",
|
|
"onvif",
|
|
"opentherm_gw",
|
|
"openuv",
|
|
"openweathermap",
|
|
"ovo_energy",
|
|
"owntracks",
|
|
"ozw",
|
|
"panasonic_viera",
|
|
"philips_js",
|
|
"pi_hole",
|
|
"plaato",
|
|
"plex",
|
|
"plugwise",
|
|
"plum_lightpad",
|
|
"point",
|
|
"poolsense",
|
|
"powerwall",
|
|
"profiler",
|
|
"progettihwsw",
|
|
"ps4",
|
|
"pvpc_hourly_pricing",
|
|
"rachio",
|
|
"rainmachine",
|
|
"recollect_waste",
|
|
"rfxtrx",
|
|
"ring",
|
|
"risco",
|
|
"rituals_perfume_genie",
|
|
"roku",
|
|
"roomba",
|
|
"roon",
|
|
"rpi_power",
|
|
"ruckus_unleashed",
|
|
"samsungtv",
|
|
"screenlogic",
|
|
"sense",
|
|
"sentry",
|
|
"sharkiq",
|
|
"shelly",
|
|
"shopping_list",
|
|
"simplisafe",
|
|
"smappee",
|
|
"smart_meter_texas",
|
|
"smarthab",
|
|
"smartthings",
|
|
"smarttub",
|
|
"smhi",
|
|
"sms",
|
|
"solaredge",
|
|
"solarlog",
|
|
"soma",
|
|
"somfy",
|
|
"somfy_mylink",
|
|
"sonarr",
|
|
"songpal",
|
|
"sonos",
|
|
"speedtestdotnet",
|
|
"spider",
|
|
"spotify",
|
|
"squeezebox",
|
|
"srp_energy",
|
|
"starline",
|
|
"subaru",
|
|
"syncthru",
|
|
"synology_dsm",
|
|
"tado",
|
|
"tasmota",
|
|
"tellduslive",
|
|
"tesla",
|
|
"tibber",
|
|
"tile",
|
|
"toon",
|
|
"totalconnect",
|
|
"tplink",
|
|
"traccar",
|
|
"tradfri",
|
|
"transmission",
|
|
"tuya",
|
|
"twentemilieu",
|
|
"twilio",
|
|
"twinkly",
|
|
"unifi",
|
|
"upb",
|
|
"upcloud",
|
|
"upnp",
|
|
"velbus",
|
|
"vera",
|
|
"verisure",
|
|
"vesync",
|
|
"vilfo",
|
|
"vizio",
|
|
"volumio",
|
|
"waze_travel_time",
|
|
"wemo",
|
|
"wiffi",
|
|
"wilight",
|
|
"withings",
|
|
"wled",
|
|
"wolflink",
|
|
"xbox",
|
|
"xiaomi_aqara",
|
|
"xiaomi_miio",
|
|
"yeelight",
|
|
"zerproc",
|
|
"zha",
|
|
"zwave",
|
|
"zwave_js"
|
|
]
|