:house_with_garden: Open source home automation that puts local control and privacy first.
39619 matches across 19 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ins/pylint_home_assistant/checkers/test_determinism.py | 47 | def _condition_references_parameter(node: nodes.If, param_names: set[str]) -> bool: |
| LOW | …nt/plugins/pylint_home_assistant/checkers/decorator.py | 37 | def _get_pytest_fixture_node_keyword( |
| LOW | …home_assistant/checkers/entity_description_defaults.py | 112 | def _resolve_description_class(call: nodes.Call) -> nodes.ClassDef | None: |
| LOW | …plugins/pylint_home_assistant/checkers/runtime_data.py | 85 | def _is_hass_data_domain_access(node: nodes.Subscript) -> bool: |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 250 | def _visit_importfrom_relative( |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 278 | def _check_for_constant_alias( |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 313 | def _check_for_component_root_import( |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 340 | def _check_for_relative_import( |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 121 | def _class_body_sets_attr_true(class_node: nodes.ClassDef, attr_name: str) -> bool: |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 150 | def _method_unconditionally_sets_attr_true(class_node: nodes.ClassDef) -> bool: |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 208 | def _description_sets_has_entity_name(description_class: nodes.ClassDef) -> bool: |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 218 | def _entity_description_annotation_satisfies(class_node: nodes.ClassDef) -> bool: |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 275 | def _collect_same_module_ancestor_qnames(module: nodes.Module) -> set[str]: |
| LOW | …home_assistant/checkers/config_flow/unique_id_no_ip.py | 100 | def _check_subscript_or_call_ip(node: nodes.NodeNG) -> str | None: |
| LOW | …nt_home_assistant/checkers/tests/direct_async_setup.py | 27 | def _is_integration_async_setup(call: nodes.Call) -> bool: |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 23 | def _is_pytest_mark_usefixtures(node: nodes.Call) -> bool: |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 35 | def _extract_usefixtures_names(node: nodes.NodeNG) -> set[str]: |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 48 | def _collect_module_usefixtures(module: nodes.Module) -> set[str]: |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 86 | def _collect_autouse_fixtures(module: nodes.Module) -> set[str]: |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 116 | def _collect_conftest_fixtures(module: nodes.Module) -> set[str]: |
| LOW | …assistant/checkers/tests/direct_async_migrate_entry.py | 23 | def _is_integration_async_migrate_entry(call: nodes.Call) -> bool: |
| LOW | …e_assistant/checkers/tests/direct_async_setup_entry.py | 35 | def _resolve_integration_async_setup_entry(call: nodes.Call) -> _SetupKind | None: |
| LOW | …ome_assistant/checkers/actions/service_registration.py | 52 | def _find_service_registrations( |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 23 | def _load_translations_from_dir(integration_dir: Path) -> dict | None: |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 61 | def load_translations_for_domain(module: nodes.Module, domain: str) -> dict | None: |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 82 | def get_exception_translations(module: nodes.Module) -> dict[str, dict]: |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 87 | def get_exception_translations_for_domain( |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 94 | def _get_exceptions_from_data(data: dict | None) -> dict[str, dict]: |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 165 | def resolve_translation_reference(message: str, components_dir: Path | None) -> str: |
| LOW | …plugins/pylint_home_assistant/helpers/quality_scale.py | 14 | def clear_quality_scale_cache() -> None: |
| LOW | …plugins/pylint_home_assistant/helpers/quality_scale.py | 54 | def quality_scale_rule_is_done(module: nodes.Module, rule: str) -> bool: |
| LOW | …plugins/pylint_home_assistant/helpers/quality_scale.py | 62 | def quality_scale_rule_is_done_or_exempt(module: nodes.Module, rule: str) -> bool: |
| LOW | homeassistant/bootstrap.py | 444 | def _init_blocking_io_modules_in_executor() -> None: |
| LOW | homeassistant/bootstrap.py | 461 | async def async_load_base_functionality(hass: core.HomeAssistant) -> bool: |
| LOW | homeassistant/bootstrap.py | 710 | async def async_mount_local_lib_path(config_dir: str) -> str: |
| LOW | homeassistant/bootstrap.py | 742 | async def _async_resolve_domains_and_preload( |
| LOW | homeassistant/bootstrap.py | 873 | async def _async_set_up_integrations( |
| LOW | homeassistant/bootstrap.py | 1058 | async def _async_setup_multi_components( |
| LOW | homeassistant/data_entry_flow.py | 151 | def _map_error_to_schema_errors( |
| LOW | homeassistant/data_entry_flow.py | 243 | def async_progress_by_handler( |
| LOW | homeassistant/data_entry_flow.py | 260 | def async_progress_by_init_data_type( |
| LOW | homeassistant/data_entry_flow.py | 277 | def _async_progress_by_handler( |
| LOW | homeassistant/data_entry_flow.py | 444 | def _async_remove_flow_from_index( |
| LOW | homeassistant/data_entry_flow.py | 459 | def _async_remove_flow_progress(self, flow_id: str) -> None: |
| LOW | homeassistant/data_entry_flow.py | 565 | def _raise_if_step_does_not_exist( |
| LOW | homeassistant/data_entry_flow.py | 586 | def _async_flow_handler_to_flow_result( |
| LOW | homeassistant/data_entry_flow.py | 658 | def add_suggested_values_to_schema( |
| LOW | homeassistant/data_entry_flow.py | 839 | def async_notify_flow_changed(self) -> None: |
| LOW | homeassistant/data_entry_flow.py | 895 | def async_cancel_progress_task(self) -> None: |
| LOW | homeassistant/runner.py | 79 | def _report_existing_instance(lock_file_path: Path, config_dir: str) -> None: |
| LOW | homeassistant/runner.py | 211 | def _async_loop_exception_handler( |
| LOW | homeassistant/runner.py | 300 | def _cancel_all_tasks_with_timeout( |
| LOW | homeassistant/config_entries.py | 3002 | def async_supports_options_flow(cls, config_entry: ConfigEntry) -> bool: |
| LOW | homeassistant/config_entries.py | 3008 | def async_get_supported_subentry_types( |
| LOW | homeassistant/config_entries.py | 3015 | def async_update_title_placeholders( |
| LOW | homeassistant/config_entries.py | 211 | def signal_discovered_config_entry_removed( |
| LOW | homeassistant/config_entries.py | 706 | async def __async_setup_with_context( |
| LOW | homeassistant/config_entries.py | 1262 | def _async_process_on_state_change(self) -> None: |
| LOW | homeassistant/config_entries.py | 1412 | def _report_non_awaited_platform_forwards(entry: ConfigEntry, what: str) -> None: |
| LOW | homeassistant/config_entries.py | 1457 | async def async_wait_import_flow_initialized(self, handler: str) -> None: |
| 32058 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …nt_home_assistant/checkers/tests/direct_async_setup.py | 0 | record whether the current module is a test module. |
| HIGH | …assistant/checkers/tests/direct_async_migrate_entry.py | 0 | record whether the current module is a test module. |
| HIGH | …e_assistant/checkers/tests/direct_async_setup_entry.py | 0 | record whether the current module is a test module. |
| HIGH | homeassistant/config_entries.py | 0 | return the underlying values to avoid __iter__ overhead. |
| HIGH | homeassistant/core.py | 0 | return the underlying values to avoid __iter__ overhead. |
| HIGH | homeassistant/helpers/registry.py | 0 | return the underlying values to avoid __iter__ overhead. |
| HIGH | homeassistant/auth/mfa_modules/totp.py | 0 | return a data entry flow handler for setup module. mfa module should extend setupflow |
| HIGH | homeassistant/auth/mfa_modules/__init__.py | 0 | return a data entry flow handler for setup module. mfa module should extend setupflow |
| HIGH | homeassistant/auth/mfa_modules/notify.py | 0 | return a data entry flow handler for setup module. mfa module should extend setupflow |
| HIGH | homeassistant/auth/mfa_modules/insecure_example.py | 0 | return a data entry flow handler for setup module. mfa module should extend setupflow |
| HIGH | …sistant/components/tesla_wall_connector/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/intellifire/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/opengarage/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/system_bridge/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/rympro/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …nents/google_generative_ai_conversation/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/mutesync/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/suez_water/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/fibaro/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …ssistant/components/devolo_home_network/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/bosch_alarm/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/teltonika/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/centriconnect/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/ptdevices/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/prusalink/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/airobot/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/anthropic/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/saunum/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …ssistant/components/openai_conversation/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …meassistant/components/evil_genius_labs/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …ssistant/components/azure_data_explorer/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/tractive/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | …ffold/templates/config_flow/integration/config_flow.py | 0 | validate the user input allows us to connect. data has the keys from step_user_data_schema with values provided by the u |
| HIGH | homeassistant/components/syncthing/sensor.py | 0 | could the device be accessed during the last update call. |
| HIGH | homeassistant/components/supervisord/sensor.py | 0 | could the device be accessed during the last update call. |
| HIGH | homeassistant/components/dwd_weather_warnings/sensor.py | 0 | could the device be accessed during the last update call. |
| HIGH | homeassistant/components/volkszaehler/sensor.py | 0 | could the device be accessed during the last update call. |
| HIGH | homeassistant/components/deako/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/refoss/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/zerproc/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/gree/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | …eassistant/components/govee_light_local/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/wemo/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/hisense_aehw4a1/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/onvif/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/fjaraskupan/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/weatherflow/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | …age_raises_cancelled_error_config_entry/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | …lates/config_flow_discovery/integration/config_flow.py | 0 | return if there are devices that can be discovered. |
| HIGH | homeassistant/components/demo/fan.py | 0 | return the current preset mode, e.g., auto, smart, interval, favorite. |
| HIGH | homeassistant/components/demo/fan.py | 0 | return the current preset mode, e.g., auto, smart, interval, favorite. |
| HIGH | homeassistant/components/zwave_js/fan.py | 0 | return the current preset mode, e.g., auto, smart, interval, favorite. |
| HIGH | homeassistant/components/demo/media_player.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | homeassistant/components/cast/media_player.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | homeassistant/components/emby/media_player.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | homeassistant/components/dlna_dmr/media_player.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | …eassistant/components/yamaha_musiccast/media_player.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | homeassistant/components/media_player/__init__.py | 0 | when was the position of the current playing media valid. returns value from homeassistant.util.dt.utcnow(). |
| HIGH | homeassistant/components/demo/media_player.py | 0 | return the artist of current playing media (music track only). |
| HIGH | homeassistant/components/mpd/media_player.py | 0 | return the artist of current playing media (music track only). |
| 3741 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | homeassistant/config_entries.py | 1322 | # Create an issue, there's no need to hold the lock when doing that |
| MEDIUM | homeassistant/config.py | 491 | # This function is an alternative to the stringification done by |
| MEDIUM | homeassistant/config.py | 1329 | # Create a copy of the configuration with all config for current |
| MEDIUM | homeassistant/util/frozen_dataclass_compat.py | 89 | # This class is a real dataclass, optionally inject the parent's annotations |
| MEDIUM | homeassistant/components/huisbaasje/__init__.py | 20 | # Create the EnergyFlip client |
| MEDIUM | homeassistant/components/huisbaasje/__init__.py | 35 | # Create a coordinator for polling updates |
| MEDIUM | homeassistant/components/izone/climate.py | 197 | # Create the zones |
| MEDIUM | homeassistant/components/pooldose/__init__.py | 62 | # Create the PoolDose API client and connect |
| MEDIUM | homeassistant/components/pglab/discovery.py | 202 | # Create a PGLab device and add entities. |
| MEDIUM | homeassistant/components/pglab/discovery.py | 221 | # Create a new device. |
| MEDIUM | homeassistant/components/pglab/__init__.py | 66 | # Create an MQTT client for PGLab used for PGLab python module. |
| MEDIUM | homeassistant/components/imeon_inverter/__init__.py | 16 | # Create the corresponding HUB |
| MEDIUM | homeassistant/components/imeon_inverter/config_flow.py | 72 | # Create a new configuration entry if login succeeds |
| MEDIUM | homeassistant/components/liebherr/__init__.py | 53 | # Create a coordinator for each device (may be empty if no devices) |
| MEDIUM | homeassistant/components/intellifire/__init__.py | 83 | # Create a Cloud Interface |
| MEDIUM | homeassistant/components/intellifire/config_flow.py | 97 | # Define a cloud api interface we can use |
| MEDIUM | …assistant/components/rituals_perfume_genie/__init__.py | 75 | # Create a coordinator for each diffuser |
| MEDIUM | homeassistant/components/iotawatt/coordinator.py | 53 | # This method is called from each sensor upon their state being restored. |
| MEDIUM | homeassistant/components/homeassistant/__init__.py | 152 | # Create a new dict for this call |
| MEDIUM | homeassistant/components/homeassistant/triggers/time.py | 204 | # Create a temporary datetime object to get an offset. |
| MEDIUM | homeassistant/components/waqi/__init__.py | 42 | # Create a coordinator for each station subentry |
| MEDIUM | homeassistant/components/assist_pipeline/pipeline.py | 918 | # Create a background task to prepare the conversation agent |
| MEDIUM | homeassistant/components/assist_pipeline/pipeline.py | 2116 | # Create a temporary list in case the list is modified while we iterate |
| MEDIUM | homeassistant/components/config/floor_registry.py | 64 | # Create a set for the aliases without: |
| MEDIUM | homeassistant/components/config/floor_registry.py | 122 | # Create a set for the aliases without: |
| MEDIUM | homeassistant/components/config/area_registry.py | 66 | # Create a set for the aliases without: |
| MEDIUM | homeassistant/components/config/area_registry.py | 136 | # Create a set for the aliases without: |
| MEDIUM | homeassistant/components/energy/sensor.py | 282 | # Create a config wrapper that maps the sell price fields to standard names |
| MEDIUM | homeassistant/components/energy/validate.py | 706 | # Create a list of validation checks |
| MEDIUM | homeassistant/components/auth/__init__.py | 96 | ## Create a long-lived access token |
| MEDIUM | homeassistant/components/local_calendar/calendar.py | 185 | # This function is called with new events created in the local timezone, |
| MEDIUM | homeassistant/components/rehlko/binary_sensor.py | 144 | # Create a synthetic entity description for this loadshed parameter |
| MEDIUM | homeassistant/components/yale/util.py | 23 | # Create an aiohttp session instead of using the default one since the |
| MEDIUM | homeassistant/components/yale/camera.py | 29 | # Create an aiohttp session instead of using the default one since the |
| MEDIUM | homeassistant/components/google/calendar.py | 173 | # Create a separate calendar for birthdays |
| MEDIUM | homeassistant/components/google/calendar.py | 184 | # Create an optional disabled by default entity for Work Location |
| MEDIUM | homeassistant/components/vegehub/config_flow.py | 79 | # Create a VegeHub object to interact with the device |
| MEDIUM | homeassistant/components/vegehub/config_flow.py | 167 | # Create the config entry for the new device |
| MEDIUM | homeassistant/components/sftp_storage/config_flow.py | 139 | # Create a session using your credentials |
| MEDIUM | homeassistant/components/stream/worker.py | 212 | # Create a fragment every TARGET_PART_DURATION. The data from |
| MEDIUM | homeassistant/components/motionmount/entity.py | 37 | # Create a base unique id |
| MEDIUM | homeassistant/components/go2rtc/server.py | 31 | _GO2RTC_CONFIG_FORMAT = r"""# This file is managed by Home Assistant |
| MEDIUM | homeassistant/components/template/coordinator.py | 140 | # Create a context referring to the trigger context. |
| MEDIUM | homeassistant/components/template/coordinator.py | 144 | # This method is only called if there's a script |
| MEDIUM | homeassistant/components/template/config.py | 383 | # Create a copy of the configuration with all config for current |
| MEDIUM | homeassistant/components/hp_ilo/sensor.py | 90 | # Create a data fetcher to support all of the configured sensors. Then make |
| MEDIUM | homeassistant/components/sense/__init__.py | 57 | # Creating the AsyncSenseable object loads |
| MEDIUM | homeassistant/components/sense/config_flow.py | 52 | # Creating the AsyncSenseable object loads |
| MEDIUM | homeassistant/components/touchline_sl/__init__.py | 85 | # Create a new Device for each coorodinator to represent each module |
| MEDIUM | homeassistant/components/scrape/__init__.py | 163 | # Create a new sub config entry per sensor |
| MEDIUM | homeassistant/components/cielo_home/coordinator.py | 108 | # Define the ConfigEntry type here to avoid circular imports |
| MEDIUM | homeassistant/components/citybikes/sensor.py | 122 | # Create a single instance of CityBikesNetworks. |
| MEDIUM | homeassistant/components/gtfs/sensor.py | 640 | # Define the state as a UTC timestamp with ISO 8601 format |
| MEDIUM | homeassistant/components/generic_thermostat/climate.py | 647 | # Create a child context for the switch service call so we can |
| MEDIUM | homeassistant/components/generic_thermostat/climate.py | 676 | # Create a child context for the switch service call so we can |
| MEDIUM | homeassistant/components/script/config.py | 306 | # Create a copy of the configuration with all config for current |
| MEDIUM | homeassistant/components/notion/coordinator.py | 62 | # Define a dict of bridges, indexed by bridge ID (an integer): |
| MEDIUM | homeassistant/components/notion/coordinator.py | 65 | # Define a dict of listeners, indexed by listener UUID (a string): |
| MEDIUM | homeassistant/components/notion/coordinator.py | 68 | # Define a dict of sensors, indexed by sensor UUID (a string): |
| MEDIUM | homeassistant/components/notion/coordinator.py | 71 | # Define a user preferences response object: |
| 299 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | homeassistant/components/deconz/cover.py | 93 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 101 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 109 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 117 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 133 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 141 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 149 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/cover.py | 157 | await self.hub.api.lights.covers.set_state( |
| CRITICAL | homeassistant/components/deconz/fan.py | 101 | await self.hub.api.lights.lights.set_state( |
| CRITICAL | homeassistant/components/deconz/fan.py | 118 | await self.hub.api.lights.lights.set_state( |
| CRITICAL | homeassistant/components/deconz/fan.py | 125 | await self.hub.api.lights.lights.set_state( |
| CRITICAL | homeassistant/components/deconz/switch.py | 55 | await self.hub.api.lights.lights.set_state( |
| CRITICAL | homeassistant/components/deconz/switch.py | 62 | await self.hub.api.lights.lights.set_state( |
| CRITICAL | homeassistant/components/deconz/button.py | 124 | await self.hub.api.sensors.presence.set_config( |
| CRITICAL | homeassistant/components/deconz/lock.py | 63 | await self.hub.api.sensors.door_lock.set_config( |
| CRITICAL | homeassistant/components/deconz/lock.py | 68 | await self.hub.api.lights.locks.set_state( |
| CRITICAL | homeassistant/components/deconz/lock.py | 76 | await self.hub.api.sensors.door_lock.set_config( |
| CRITICAL | homeassistant/components/deconz/lock.py | 81 | await self.hub.api.lights.locks.set_state( |
| CRITICAL | homeassistant/components/deconz/select.py | 94 | await self.hub.api.sensors.air_purifier.set_config( |
| CRITICAL | homeassistant/components/deconz/select.py | 124 | await self.hub.api.sensors.presence.set_config( |
| CRITICAL | homeassistant/components/deconz/select.py | 151 | await self.hub.api.sensors.presence.set_config( |
| CRITICAL | homeassistant/components/deconz/select.py | 182 | await self.hub.api.sensors.presence.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 149 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 167 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 172 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 206 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 235 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/climate.py | 240 | await self.hub.api.sensors.thermostat.set_config( |
| CRITICAL | homeassistant/components/deconz/siren.py | 61 | await self.hub.api.lights.sirens.set_state( |
| CRITICAL | homeassistant/components/deconz/siren.py | 69 | await self.hub.api.lights.sirens.set_state( |
| CRITICAL | homeassistant/components/hydrawise/sensor.py | 119 | sensor.zone.scheduled_runs.current_run.remaining_time.total_seconds() |
| CRITICAL | homeassistant/components/meteo_france/__init__.py | 110 | department = entry.runtime_data.forecast_coordinator.data.position.get("dept") |
| CRITICAL | homeassistant/components/xbox/diagnostics.py | 32 | for person in config_entry.runtime_data.presence.data.presence.values() |
| CRITICAL | homeassistant/components/xbox/diagnostics.py | 49 | for title in config_entry.runtime_data.presence.data.title_info.values() |
| CRITICAL | homeassistant/components/wled/select.py | 183 | if (segment := self.coordinator.data.state.segments.get(self._segment)) is None: |
| CRITICAL | homeassistant/components/sendgrid/notify.py | 75 | response = self._sg.client.mail.send.post(request_body=data) |
| CRITICAL | homeassistant/components/tolo/entity.py | 24 | model=self.coordinator.data.status.model.name.capitalize(), |
| CRITICAL | homeassistant/components/isy994/sensor.py | 375 | self._availability_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/isy994/number.py | 265 | self._memory_change_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/isy994/switch.py | 161 | self._change_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/isy994/button.py | 118 | self._availability_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/isy994/entity.py | 250 | self._availability_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/isy994/select.py | 179 | self._memory_change_handler = self._node.isy.nodes.status_events.subscribe( |
| CRITICAL | homeassistant/components/awair/config_flow.py | 124 | self.hass.config_entries.flow._handler_progress_index.get(DOMAIN) or set(), # noqa: SLF001 |
| CRITICAL | homeassistant/components/squeezebox/media_player.py | 296 | self.coordinator.config_entry.runtime_data.known_player_ids.discard( |
| CRITICAL | homeassistant/components/squeezebox/media_player.py | 300 | self.coordinator.config_entry.runtime_data.player_coordinators.pop( |
| CRITICAL | homeassistant/components/volvo/button.py | 103 | result = await self.entry.runtime_data.context.api.async_execute_command( |
| CRITICAL | homeassistant/components/knx/climate.py | 530 | return self._device.mode.operation_mode.name.lower() |
| CRITICAL | homeassistant/components/knx/climate.py | 620 | self._device.mode.xknx.devices.async_add(self._device.mode) |
| CRITICAL | homeassistant/components/knx/climate.py | 626 | self._device.mode.xknx.devices.async_remove(self._device.mode) |
| CRITICAL | homeassistant/components/fritz/coordinator.py | 14 | from fritzconnection.core.exceptions import FritzActionError |
| CRITICAL | homeassistant/components/balboa/climate.py | 131 | return self._client.heat_mode.state.name.lower() |
| CRITICAL | homeassistant/components/axis/light.py | 81 | await self.hub.api.vapix.light_control.get_current_intensity(self._light_id) |
| CRITICAL | homeassistant/components/axis/light.py | 84 | await self.hub.api.vapix.light_control.get_valid_intensity(self._light_id) |
| CRITICAL | homeassistant/components/axis/light.py | 101 | await self.hub.api.vapix.light_control.activate_light(self._light_id) |
| CRITICAL | homeassistant/components/axis/light.py | 105 | await self.hub.api.vapix.light_control.set_manual_intensity( |
| CRITICAL | homeassistant/components/axis/light.py | 112 | await self.hub.api.vapix.light_control.deactivate_light(self._light_id) |
| CRITICAL | homeassistant/components/axis/light.py | 117 | await self.hub.api.vapix.light_control.get_current_intensity(self._light_id) |
| CRITICAL | homeassistant/components/axis/switch.py | 71 | await self.hub.api.vapix.ports.close(self._event_id) |
| CRITICAL | homeassistant/components/axis/switch.py | 75 | await self.hub.api.vapix.ports.open(self._event_id) |
| 31 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ins/pylint_home_assistant/checkers/greek_micro_char.py | 39 | |
| LOW | …nt_home_assistant/checkers/sequential_executor_jobs.py | 72 | |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 340 | |
| LOW | …lint/plugins/pylint_home_assistant/checkers/imports.py | 368 | |
| LOW | …lint_home_assistant/checkers/exception_translations.py | 56 | |
| LOW | …gins/pylint_home_assistant/checkers/duplicate_const.py | 19 | |
| LOW | …me_assistant/checkers/quality_scale/has_entity_name.py | 150 | |
| LOW | …home_assistant/checkers/config_flow/unique_id_no_ip.py | 127 | |
| LOW | …home_assistant/checkers/config_flow/unique_id_no_ip.py | 51 | |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 48 | |
| LOW | …home_assistant/checkers/tests/redundant_usefixtures.py | 86 | |
| LOW | …ome_assistant/checkers/actions/swallowed_exceptions.py | 93 | |
| LOW | …ome_assistant/checkers/actions/service_registration.py | 52 | |
| LOW | …gins/pylint_home_assistant/checkers/actions/helpers.py | 33 | |
| LOW | …ylint_home_assistant/checkers/type_hints/validators.py | 157 | |
| LOW | …/pylint_home_assistant/checkers/type_hints/__init__.py | 116 | |
| LOW | pylint/plugins/pylint_home_assistant/helpers/icons.py | 43 | |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 23 | |
| LOW | …/plugins/pylint_home_assistant/helpers/translations.py | 138 | |
| LOW | homeassistant/bootstrap.py | 303 | |
| LOW | homeassistant/bootstrap.py | 573 | |
| LOW | homeassistant/data_entry_flow.py | 340 | |
| LOW | homeassistant/runner.py | 79 | |
| LOW | homeassistant/setup.py | 280 | |
| LOW | homeassistant/requirements.py | 249 | |
| LOW | homeassistant/loader.py | 1375 | |
| LOW | homeassistant/loader.py | 1118 | |
| LOW | homeassistant/backup_restore.py | 81 | |
| LOW | homeassistant/util/color.py | 313 | |
| LOW | homeassistant/auth/auth_store.py | 312 | |
| LOW | homeassistant/components/buienradar/sensor.py | 785 | |
| LOW | homeassistant/components/smlight/config_flow.py | 41 | |
| LOW | homeassistant/components/smlight/config_flow.py | 69 | |
| LOW | homeassistant/components/smlight/config_flow.py | 119 | |
| LOW | homeassistant/components/deconz/sensor.py | 423 | |
| LOW | homeassistant/components/deconz/deconz_event.py | 56 | |
| LOW | homeassistant/components/deconz/deconz_event.py | 60 | |
| LOW | homeassistant/components/statistics/sensor.py | 836 | |
| LOW | homeassistant/components/soundtouch/__init__.py | 67 | |
| LOW | homeassistant/components/soundtouch/__init__.py | 70 | |
| LOW | homeassistant/components/wiim/media_player.py | 324 | |
| LOW | homeassistant/components/wiim/media_player.py | 568 | |
| LOW | homeassistant/components/ads/cover.py | 88 | |
| LOW | …meassistant/components/here_travel_time/coordinator.py | 372 | |
| LOW | homeassistant/components/powerwall/config_flow.py | 116 | |
| LOW | homeassistant/components/anglian_water/coordinator.py | 65 | |
| LOW | homeassistant/components/hydrawise/coordinator.py | 108 | |
| LOW | homeassistant/components/fully_kiosk/services.py | 24 | |
| LOW | homeassistant/components/notify/legacy.py | 66 | |
| LOW | homeassistant/components/notify/legacy.py | 73 | |
| LOW | homeassistant/components/control4/cover.py | 44 | |
| LOW | homeassistant/components/control4/light.py | 34 | |
| LOW | homeassistant/components/control4/media_player.py | 75 | |
| LOW | homeassistant/components/smartthings/sensor.py | 1327 | |
| LOW | homeassistant/components/smartthings/__init__.py | 335 | |
| LOW | homeassistant/components/smartthings/__init__.py | 499 | |
| LOW | homeassistant/components/smartthings/__init__.py | 632 | |
| LOW | homeassistant/components/smartthings/__init__.py | 660 | |
| LOW | homeassistant/components/smartthings/__init__.py | 347 | |
| LOW | homeassistant/components/smartthings/switch.py | 309 | |
| 853 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ome_assistant/checkers/actions/swallowed_exceptions.py | 208 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/data_entry_flow.py | 468 | except Exception: |
| LOW | homeassistant/config_entries.py | 1051 | except Exception as exc: |
| LOW | homeassistant/config_entries.py | 1094 | except Exception: |
| LOW | homeassistant/config_entries.py | 1177 | except Exception: |
| LOW | homeassistant/config_entries.py | 1269 | except Exception: |
| LOW | homeassistant/config.py | 607 | except Exception: |
| LOW | homeassistant/config.py | 1109 | except Exception as exc: # noqa: BLE001 |
| LOW | homeassistant/config.py | 1193 | except Exception as exc: # noqa: BLE001 |
| LOW | homeassistant/config.py | 1220 | except Exception as exc: # noqa: BLE001 |
| LOW | homeassistant/config.py | 1257 | except Exception as exc: # noqa: BLE001 |
| LOW | homeassistant/core_config.py | 886 | except Exception: |
| LOW | homeassistant/core.py | 1174 | except Exception: |
| LOW | homeassistant/core.py | 1535 | except Exception: |
| LOW | homeassistant/core.py | 1550 | except Exception: |
| LOW | homeassistant/core.py | 2856 | except Exception: |
| LOW | homeassistant/setup.py | 624 | except Exception: |
| LOW | homeassistant/requirements.py | 243 | except Exception as ex: # noqa: BLE001 |
| LOW | homeassistant/loader.py | 1341 | except Exception: |
| LOW | homeassistant/loader.py | 1089 | except Exception as err: |
| LOW | homeassistant/loader.py | 1294 | except Exception as err: |
| LOW | homeassistant/loader.py | 1532 | except Exception as exc: # noqa: BLE001 |
| LOW | homeassistant/loader.py | 1624 | except Exception as exc: |
| LOW | homeassistant/backup_restore.py | 189 | except Exception as err: |
| LOW | homeassistant/util/logging.py | 176 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/util/logging.py | 186 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/util/logging.py | 197 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/util/logging.py | 249 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/util/thread.py | 34 | except Exception as err: # noqa: BLE001 |
| LOW | homeassistant/util/async_.py | 66 | except Exception as exc: # noqa: BLE001 |
| LOW | …stant/components/nederlandse_spoorwegen/config_flow.py | 54 | except Exception: |
| LOW | …sistant/components/tesla_wall_connector/config_flow.py | 102 | except Exception: |
| LOW | homeassistant/components/syncthing/config_flow.py | 38 | except Exception as error: |
| LOW | homeassistant/components/blink/coordinator.py | 54 | except Exception as ex: |
| LOW | homeassistant/components/blink/config_flow.py | 79 | except Exception: |
| LOW | homeassistant/components/blink/config_flow.py | 106 | except Exception: |
| LOW | homeassistant/components/blink/config_flow.py | 138 | except Exception: |
| LOW | homeassistant/components/blink/config_flow.py | 171 | except Exception: |
| LOW | homeassistant/components/intelliclima/config_flow.py | 55 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/components/webhook/__init__.py | 213 | except Exception: |
| LOW | homeassistant/components/aseko_pool_live/config_flow.py | 56 | except Exception: |
| LOW | homeassistant/components/aseko_pool_live/config_flow.py | 114 | except Exception: |
| LOW | homeassistant/components/zeversolar/config_flow.py | 49 | except Exception: |
| LOW | homeassistant/components/firefly_iii/config_flow.py | 76 | except Exception: |
| LOW | homeassistant/components/firefly_iii/config_flow.py | 115 | except Exception: |
| LOW | homeassistant/components/firefly_iii/config_flow.py | 152 | except Exception: |
| LOW | homeassistant/components/labs/websocket_api.py | 91 | except Exception as err: # noqa: BLE001 - websocket handlers can catch broad exceptions |
| LOW | homeassistant/components/powerwall/config_flow.py | 176 | except Exception as ex: |
| LOW | homeassistant/components/flipr/config_flow.py | 48 | except Exception: |
| LOW | homeassistant/components/anglian_water/config_flow.py | 41 | except Exception: |
| LOW | homeassistant/components/foscam/config_flow.py | 117 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/components/fully_kiosk/config_flow.py | 51 | except Exception as error: # pylint: disable=broad-except |
| LOW | homeassistant/components/renault/config_flow.py | 65 | except Exception: |
| LOW | homeassistant/components/notify/legacy.py | 122 | except Exception: # noqa: BLE001 |
| LOW | homeassistant/components/huisbaasje/config_flow.py | 46 | except Exception: |
| LOW | homeassistant/components/lojack/__init__.py | 62 | except Exception: |
| LOW | homeassistant/components/lojack/config_flow.py | 50 | except Exception: |
| LOW | homeassistant/components/lojack/config_flow.py | 95 | except Exception: |
| LOW | homeassistant/components/control4/config_flow.py | 81 | except Exception: |
| LOW | homeassistant/components/control4/config_flow.py | 102 | except Exception: |
| 799 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/bootstrap.py | 22 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 40 | |
| LOW | homeassistant/bootstrap.py | 64 | |
| LOW | homeassistant/bootstrap.py | 115 | |
| LOW | homeassistant/bootstrap.py | 120 | |
| LOW | homeassistant/setup.py | 16 | |
| LOW | homeassistant/util/percentage.py | 3 | |
| LOW | homeassistant/util/percentage.py | 3 | |
| LOW | homeassistant/util/ulid.py | 3 | |
| LOW | homeassistant/util/ulid.py | 3 | |
| LOW | homeassistant/util/ulid.py | 3 | |
| LOW | homeassistant/util/ulid.py | 3 | |
| LOW | homeassistant/util/ulid.py | 3 | |
| LOW | homeassistant/util/yaml/__init__.py | 3 | |
| LOW | homeassistant/util/yaml/__init__.py | 3 | |
| LOW | homeassistant/util/yaml/__init__.py | 3 | |
| LOW | homeassistant/util/yaml/__init__.py | 4 | |
| LOW | homeassistant/util/yaml/__init__.py | 4 | |
| LOW | homeassistant/util/yaml/__init__.py | 4 | |
| LOW | homeassistant/util/yaml/__init__.py | 6 | |
| LOW | homeassistant/util/yaml/__init__.py | 6 | |
| LOW | homeassistant/util/yaml/__init__.py | 7 | |
| LOW | homeassistant/util/yaml/__init__.py | 7 | |
| LOW | homeassistant/util/yaml/__init__.py | 7 | |
| LOW | homeassistant/util/yaml/__init__.py | 7 | |
| LOW | homeassistant/util/yaml/__init__.py | 7 | |
| LOW | homeassistant/util/yaml/dumper.py | 3 | |
| LOW | homeassistant/util/yaml/dumper.py | 3 | |
| LOW | homeassistant/util/yaml/dumper.py | 3 | |
| LOW | homeassistant/util/yaml/dumper.py | 3 | |
| LOW | homeassistant/util/yaml/loader.py | 8 | |
| LOW | homeassistant/util/yaml/loader.py | 8 | |
| LOW | homeassistant/util/yaml/input.py | 3 | |
| LOW | homeassistant/util/yaml/input.py | 3 | |
| LOW | homeassistant/util/yaml/input.py | 3 | |
| LOW | homeassistant/util/yaml/input.py | 5 | |
| LOW | homeassistant/util/yaml/objects.py | 3 | |
| LOW | homeassistant/util/yaml/objects.py | 3 | |
| LOW | homeassistant/util/yaml/objects.py | 3 | |
| LOW | homeassistant/util/yaml/objects.py | 3 | |
| 571 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/config_entries.py | 1714 | # Check if config entry exists with unique ID. Unload it. |
| LOW | homeassistant/config.py | 1152 | # Check if the integration has a custom config validator |
| LOW | homeassistant/core_config.py | 357 | # Check if we need to raise an issue for imperial unit system |
| LOW | homeassistant/__main__.py | 190 | # Check if another instance is already running |
| LOW | homeassistant/util/color.py | 248 | # Check if the given xy value is within the color-reach of the lamp. |
| LOW | homeassistant/util/color.py | 725 | # Check if the three points of the supplied gamut are not on the same line. |
| LOW | homeassistant/util/color.py | 730 | # Check if all six coordinates of the gamut lie between 0 and 1. |
| LOW | homeassistant/util/dt.py | 540 | # Check if we can round trip to UTC |
| LOW | homeassistant/util/__init__.py | 192 | # Check if method is never called or no_throttle is given |
| LOW | homeassistant/components/buienradar/sensor.py | 787 | # Check if we have a new measurement, |
| LOW | …stant/components/nederlandse_spoorwegen/config_flow.py | 107 | # Check if this API key is already used by another entry |
| LOW | homeassistant/components/soundtouch/config_flow.py | 86 | # Check if already configured |
| LOW | homeassistant/components/powerwall/__init__.py | 90 | # Check if we had an error before |
| LOW | homeassistant/components/brother/config_flow.py | 167 | # Check if already configured |
| LOW | homeassistant/components/meteo_france/config_flow.py | 72 | # Check if already configured |
| LOW | homeassistant/components/pooldose/__init__.py | 39 | # Check if this entry needs migration |
| LOW | homeassistant/components/control4/__init__.py | 147 | # Check if OS version is 3 or higher to get UI configuration |
| LOW | homeassistant/components/pglab/discovery.py | 136 | # Check if the discovery message is in valid json format. |
| LOW | homeassistant/components/pglab/discovery.py | 146 | # Check if the key id is present in the payload. It must always be present. |
| LOW | homeassistant/components/meteoclimatic/config_flow.py | 63 | # Check if already configured |
| LOW | homeassistant/components/imeon_inverter/config_flow.py | 68 | # Check if entry already exists |
| LOW | …meassistant/components/onedrive_for_business/backup.py | 265 | # Check if corresponding backup file exists |
| LOW | homeassistant/components/schedule/__init__.py | 71 | # Check if the start time of the next event is before |
| LOW | homeassistant/components/schedule/__init__.py | 81 | # Check if the from time of the event is after the to time of the previous event |
| LOW | homeassistant/components/lacrosse_view/config_flow.py | 82 | # Check if we are reauthenticating |
| LOW | homeassistant/components/nws/sensor.py | 210 | # Set alias to unit property -> prevent unnecessary hasattr calls |
| LOW | homeassistant/components/mobile_app/webhook.py | 675 | # Check if disabled |
| LOW | homeassistant/components/switchbee/__init__.py | 45 | # Check if websocket version |
| LOW | homeassistant/components/slide/__init__.py | 98 | # Check if we have pos (OK) or code (NOK) |
| LOW | homeassistant/components/elgato/config_flow.py | 169 | # Check if already configured |
| LOW | homeassistant/components/homeassistant/triggers/time.py | 118 | # Check if current weekday matches the configuration |
| LOW | homeassistant/components/aquacell/coordinator.py | 68 | # Check if the refresh token is expired |
| LOW | homeassistant/components/vizio/config_flow.py | 227 | # Check if unique ID was found, set unique ID, and abort if a flow with |
| LOW | homeassistant/components/assist_pipeline/pipeline.py | 1314 | # Check if all targeted entities were in the same area as |
| LOW | homeassistant/components/system_bridge/config_flow.py | 139 | # Check if already configured |
| LOW | homeassistant/components/system_bridge/config_flow.py | 195 | # Check if already configured |
| LOW | …meassistant/components/lutron_caseta/device_trigger.py | 402 | # Check if device is a valid keypad. Return empty if not. |
| LOW | homeassistant/components/wmspro/config_flow.py | 44 | try: # Check if current host is a valid IP address |
| LOW | homeassistant/components/flexit_bacnet/switch.py | 73 | # Check if deprecated fireplace switch is enabled and create repair issue |
| LOW | homeassistant/components/energyid/__init__.py | 324 | # Check if entity is already mapped |
| LOW | homeassistant/components/energyid/config_flow.py | 204 | # Check if device has been claimed |
| LOW | …nt/components/energyid/energyid_sensor_mapping_flow.py | 79 | # Check if entity exists |
| LOW | …nt/components/energyid/energyid_sensor_mapping_flow.py | 85 | # Check if entity is already mapped (by UUID) |
| LOW | homeassistant/components/xiaomi_tv/media_player.py | 46 | # Check if there's a valid TV at the IP address. |
| LOW | homeassistant/components/lyric/climate.py | 458 | # Set auto_changeover_active to True if the mode being passed is Auto |
| LOW | homeassistant/components/lektrico/config_flow.py | 119 | # Check if already configured |
| LOW | homeassistant/components/onedrive/backup.py | 277 | # Check if corresponding backup file exists |
| LOW | …istant/components/device_sun_light_trigger/__init__.py | 269 | # Check if any light is on |
| LOW | homeassistant/components/electrasmart/config_flow.py | 82 | # Check if already configured |
| LOW | homeassistant/components/coinbase/__init__.py | 60 | # Check if user is using deprecated v2 API credentials |
| LOW | homeassistant/components/ps4/config_flow.py | 65 | # Check if able to bind to ports: UDP 987, TCP 997. |
| LOW | homeassistant/components/wiz/config_flow.py | 143 | # Check if there is at least one device |
| LOW | homeassistant/components/vegehub/config_flow.py | 92 | # Check if this device already exists |
| LOW | homeassistant/components/vegehub/config_flow.py | 154 | # Check if this device already exists |
| LOW | homeassistant/components/portainer/coordinator.py | 269 | # Check if container belongs to a stack via docker compose label |
| LOW | homeassistant/components/spotify/browse_media.py | 196 | # Check if caller is requesting the root nodes |
| LOW | homeassistant/components/stream/worker.py | 255 | # Check if audio is requested |
| LOW | homeassistant/components/flux_led/config_flow.py | 277 | # Check if there is at least one device |
| LOW | …assistant/components/ziggo_mediabox_xl/media_player.py | 61 | # Check if a connection can be established to the device. |
| LOW | homeassistant/components/xiaomi_aqara/config_flow.py | 181 | # Check if the discovered device is an xiaomi aqara gateway. |
| 282 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | homeassistant/components/auth/login_flow.py | 10 | "id": null, |
| HIGH | homeassistant/components/auth/login_flow.py | 30 | "handler": ["local_provider", null], |
| HIGH | homeassistant/components/auth/login_flow.py | 45 | "handler": ["insecure_example", null], |
| HIGH | homeassistant/components/auth/login_flow.py | 63 | "handler": ["insecure_example", null], |
| HIGH | homeassistant/components/rainmachine/sensor.py | 338 | # Timestamp may return 0 instead of null, explicitly set to None |
| HIGH | homeassistant/components/matter/models.py | 146 | # for example to filter out invalid values (such as empty string instead of null) |
| HIGH | homeassistant/components/maxcube/climate.py | 141 | Both parameters are optional. When mode is undefined, it keeps |
| HIGH | homeassistant/components/maxcube/climate.py | 142 | the previous mode. When temp is undefined, it fetches the |
| HIGH | tests/test_core.py | 1116 | b'"context":{"id":"01H0D6K3RFJAYAV2093ZW30PCW","parent_id":null,"user_id":null}}' |
| HIGH | tests/components/template/test_light.py | 973 | (None, "[{{(360)}},{{null}}]", ColorMode.HS), |
| HIGH | tests/components/matter/test_sensor.py | 851 | # Test setting to 0 (invalid/null) - should result in unknown state |
| HIGH | tests/components/matter/test_number.py | 82 | # Set a concrete value (not null) |
| HIGH | tests/components/pvpc_hourly_pricing/conftest.py | 77 | '"values_updated_at":null,"values":[]}}' |
| HIGH | tests/components/tasmota/test_config_flow.py | 36 | '"fn":["Tasmota",null,null,null,null,' |
| HIGH | tests/components/tasmota/test_config_flow.py | 37 | 'null,null,null],"hn":"tasmota_0848A2",' |
| HIGH | tests/components/tasmota/test_config_flow.py | 42 | '"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],' |
| HIGH | tests/components/tasmota/test_config_flow.py | 75 | '"fn":["Tasmota",null,null,null,null,' |
| HIGH | tests/components/tasmota/test_config_flow.py | 76 | 'null,null,null],"hn":"tasmota_0848A2",' |
| HIGH | tests/components/tasmota/test_config_flow.py | 81 | '"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],' |
| HIGH | tests/components/tasmota/test_config_flow.py | 102 | '"fn":["Tasmota",null,null,null,null,' |
| HIGH | tests/components/tasmota/test_config_flow.py | 103 | 'null,null,null],"hn":"tasmota_0848A2",' |
| HIGH | tests/components/tasmota/test_config_flow.py | 108 | '"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],' |
| HIGH | tests/components/victron_gx/test_time.py | 106 | '{"value": null}', |
| HIGH | tests/components/roborock/mock_data.py | 161 | '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}' |
| HIGH | tests/components/roborock/mock_data.py | 172 | '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}' |
| HIGH | tests/components/roborock/mock_data.py | 183 | '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}' |
| HIGH | tests/components/nightscout/__init__.py | 24 | '{"status":"ok","name":"nightscout","version":"13.0.1","serverTime":"2020-08-05T18:14:02.032Z","serverTimeEpoch" |
| HIGH | tests/components/nightscout/__init__.py | 73 | '{"advanced":true,"days":1}},"authorized":null}' |
| HIGH | tests/components/intent_script/test_init.py | 188 | "reprompt": {"text": "{{ null }}"}, |
| HIGH | tests/components/mqtt/test_device_tracker.py | 479 | hass, "attributes-topic", '{"longitude": -117.22743, "latitude":null}' |
| HIGH | tests/components/mqtt/test_device_tracker.py | 521 | '{"latitude": null,"longitude": "-117.22743",' |
| HIGH | tests/components/mqtt/test_device_tracker.py | 777 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_water_heater.py | 1271 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_time.py | 588 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_light_template.py | 1550 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_light_template.py | 1581 | async_fire_mqtt_message(hass, "test-topic", '{"r": 255, "g": 255, "b": null }') |
| HIGH | tests/components/mqtt/test_select.py | 162 | async_fire_mqtt_message(hass, "test/select_stat", '{"val": null}') |
| HIGH | tests/components/mqtt/test_select.py | 861 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_siren.py | 194 | async_fire_mqtt_message(hass, "state-topic", '{"val": null }') |
| HIGH | tests/components/mqtt/test_siren.py | 1137 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_light_json.py | 440 | async_fire_mqtt_message(hass, "test_light_rgb", '{"state": null}') |
| HIGH | tests/components/mqtt/test_light_json.py | 756 | '"color":null,' |
| HIGH | tests/components/mqtt/test_light_json.py | 2364 | '{"state":"ON", "color": null, "color_temp": 100, "color_mode": "color_temp"}', |
| HIGH | tests/components/mqtt/test_valve.py | 202 | ('{"position":null}', STATE_UNKNOWN), |
| HIGH | tests/components/mqtt/test_valve.py | 326 | ('{"position": 100, "state": null}', ValveState.OPEN, 100), |
| HIGH | tests/components/mqtt/test_valve.py | 1491 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_image.py | 826 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_lawn_mower.py | 215 | async_fire_mqtt_message(hass, "test/lawn_mower_stat", '{"val": null}') |
| HIGH | tests/components/mqtt/test_lawn_mower.py | 955 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_alarm_control_panel.py | 1466 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_fan.py | 406 | async_fire_mqtt_message(hass, "state-topic", '{"val": null}') |
| HIGH | tests/components/mqtt/test_fan.py | 2431 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_humidifier.py | 414 | async_fire_mqtt_message(hass, "state-topic", '{"val": null}') |
| HIGH | tests/components/mqtt/test_humidifier.py | 431 | async_fire_mqtt_message(hass, "action-topic", '{"val": null}') |
| HIGH | tests/components/mqtt/test_humidifier.py | 1632 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_update.py | 945 | async_fire_mqtt_message(hass, "test-topic", '{"some_var": null }') |
| HIGH | tests/components/mqtt/test_update.py | 512 | async_fire_mqtt_message(hass, state_topic, '{"update_percentage":null}') |
| HIGH | tests/components/mqtt/test_update.py | 898 | ("test-topic", '{"update_percentage": 100}', '{"update_percentage": null}'), |
| HIGH | tests/components/mqtt/test_discovery.py | 1213 | '"state_topic": "test-topic", "o": null }', |
| HIGH | tests/components/mqtt/test_discovery.py | 1242 | '"state_topic":"test-topic"}},"o": null}', |
| 31 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | homeassistant/components/logbook/models.py | 98 | # --------------------------------------------------------- |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 61 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 63 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 86 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 88 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 96 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 98 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 113 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 115 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 138 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/teleinfo/sensor.py | 140 | # ------------------------------------------------------------------ |
| MEDIUM | homeassistant/components/immich/media_source.py | 87 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 89 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 105 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 107 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 132 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 134 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 198 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/immich/media_source.py | 200 | # -------------------------------------------------------- |
| MEDIUM | homeassistant/components/intent/timers.py | 513 | # ----------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/wyoming/assist_satellite.py | 393 | # ------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/wyoming/assist_satellite.py | 417 | # ------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/wyoming/assist_satellite.py | 493 | # ------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/voip/assist_satellite.py | 357 | # ------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/voip/assist_satellite.py | 359 | # ------------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/zwave_js/binary_sensor.py | 994 | # ------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/zwave_js/binary_sensor.py | 1002 | # ------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/zwave_js/binary_sensor.py | 1174 | # ------------------------------------------------------------------- |
| MEDIUM | homeassistant/components/zwave_js/binary_sensor.py | 1327 | # ------------------------------------------------------------------- |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 82 | # ─── Event Format ───────────────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 51 | # ─── Entity Registration ───────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 116 | # ─── Daily Events ──────────────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 136 | # ─── Yearly Events: Weekly Torah Portion ────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 216 | # ─── Yearly Events: Holidays ───────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 234 | # ─── Yearly Events: Omer Count ─────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 256 | # ─── Yearly Events: Candle Lighting & Havdalah ─────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 313 | # ─── Learning Schedule ─────────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 334 | # ─── Custom Configuration ──────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 393 | # ─── Date Range Queries ────────────────────────────────────────────── |
| MEDIUM | tests/components/jewish_calendar/test_calendar.py | 410 | # ─── Calendar State / Event Property ───────────────────────────────── |
| MEDIUM | tests/components/waterfurnace/test_statistics.py | 122 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/components/waterfurnace/test_statistics.py | 124 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/components/waterfurnace/test_statistics.py | 291 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/components/waterfurnace/test_statistics.py | 293 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/components/energyid/test_init.py | 732 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 734 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 788 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 790 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 839 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 841 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 900 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 902 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 957 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 959 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 996 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 998 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 1038 | # ============================================================================ |
| MEDIUM | tests/components/energyid/test_init.py | 1040 | # ============================================================================ |
| MEDIUM | tests/components/fing/test_device_tracker.py | 92 | # ---------------------------------------------------- |
| MEDIUM | tests/components/fing/test_device_tracker.py | 100 | # ---------------------------------------------------- |
| 44 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/components/auth/__init__.py | 82 | "name": "John Doe", |
| LOW | tests/test_data_entry_flow.py | 183 | "section_1": {"full_name": "John Doe"}, |
| LOW | tests/test_data_entry_flow.py | 207 | assert section_markers[0].description == {"suggested_value": "John Doe"} |
| LOW | tests/components/zinvolt/conftest.py | 31 | title="test@test.com", |
| LOW | tests/components/zinvolt/test_config_flow.py | 31 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/zinvolt/test_config_flow.py | 37 | assert result["title"] == "test@test.com" |
| LOW | tests/components/zinvolt/test_config_flow.py | 68 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/zinvolt/test_config_flow.py | 81 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/zinvolt/test_config_flow.py | 104 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/onedrive_for_business/conftest.py | 67 | title="John Doe's OneDrive", |
| LOW | tests/components/onedrive_for_business/conftest.py | 133 | display_name="John Doe", |
| LOW | …s/components/onedrive_for_business/test_config_flow.py | 107 | assert result["title"] == "John Doe's OneDrive (john@doe.com)" |
| LOW | …s/components/onedrive_for_business/test_config_flow.py | 196 | assert result["title"] == "John Doe's OneDrive (john@doe.com)" |
| LOW | tests/components/onedrive_for_business/const.py | 28 | display_name="John Doe", |
| LOW | tests/components/litterrobot/common.py | 6 | CONFIG = {DOMAIN: {CONF_USERNAME: "user@example.com", CONF_PASSWORD: "password"}} |
| LOW | tests/components/paj_gps/test_config_flow.py | 20 | CONF_EMAIL: "user@example.com", |
| LOW | tests/components/paj_gps/test_config_flow.py | 28 | ("user@example.com", "user@example.com"), |
| LOW | tests/components/paj_gps/test_config_flow.py | 29 | (" USER@EXAMPLE.COM ", "user@example.com"), |
| LOW | tests/components/aquacell/__init__.py | 16 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/aquacell/__init__.py | 24 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/aquacell/__init__.py | 31 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/poolsense/conftest.py | 61 | title="test@test.com", |
| LOW | tests/components/poolsense/conftest.py | 62 | unique_id="test@test.com", |
| LOW | tests/components/poolsense/conftest.py | 64 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/poolsense/test_config_flow.py | 29 | user_input={CONF_EMAIL: "test@test.com", CONF_PASSWORD: "test"}, |
| LOW | tests/components/poolsense/test_config_flow.py | 33 | assert result["title"] == "test@test.com" |
| LOW | tests/components/poolsense/test_config_flow.py | 35 | CONF_EMAIL: "test@test.com", |
| LOW | tests/components/poolsense/test_config_flow.py | 38 | assert result["result"].unique_id == "test@test.com" |
| LOW | tests/components/poolsense/test_config_flow.py | 52 | data={CONF_EMAIL: "test@test.com", CONF_PASSWORD: "test"}, |
| LOW | tests/components/poolsense/test_config_flow.py | 62 | user_input={CONF_EMAIL: "test@test.com", CONF_PASSWORD: "test"}, |
| LOW | tests/components/poolsense/test_config_flow.py | 78 | data={CONF_EMAIL: "test@test.com", CONF_PASSWORD: "test"}, |
| LOW | tests/components/onedrive/conftest.py | 68 | title="John Doe's OneDrive", |
| LOW | tests/components/onedrive/conftest.py | 115 | display_name="John Doe", |
| LOW | tests/components/onedrive/conftest.py | 154 | display_name="John Doe", |
| LOW | tests/components/onedrive/test_config_flow.py | 99 | assert result["title"] == "John Doe's OneDrive" |
| LOW | tests/components/onedrive/test_config_flow.py | 176 | assert result["title"] == "John Doe's OneDrive" |
| LOW | tests/components/onedrive/test_init.py | 237 | title="John Doe's OneDrive", |
| LOW | tests/components/onedrive/test_init.py | 259 | title="John Doe's OneDrive", |
| LOW | tests/components/onedrive/test_init.py | 282 | title="John Doe's OneDrive", |
| LOW | tests/components/onedrive/const.py | 27 | display_name="John Doe", |
| LOW | tests/components/vicare/__init__.py | 13 | CONF_USERNAME: "foo@bar.com", |
| LOW | tests/components/vicare/test_init.py | 45 | CONF_USERNAME: "foo@bar.com", |
| LOW | tests/components/vicare/test_init.py | 85 | CONF_USERNAME: "foo@bar.com", |
| LOW | tests/components/vicare/test_init.py | 117 | CONF_USERNAME: "foo@bar.com", |
| LOW | tests/components/vicare/test_init.py | 149 | CONF_USERNAME: "foo@bar.com", |
| LOW | tests/components/sharkiq/const.py | 79 | UNIQUE_ID = "foo@bar.com" |
| LOW | tests/components/unifi_access/test_event.py | 374 | assert front_state.attributes["actor"] == "John Doe" |
| LOW | tests/components/unifi_access/test_event.py | 380 | assert back_state.attributes["actor"] == "John Doe" |
| LOW | tests/components/unifi_access/test_event.py | 144 | "John Doe", |
| LOW | tests/components/unifi_access/test_event.py | 362 | actor=InsightsMetadataEntry(display_name="John Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 449 | actor=LogActor(display_name="John Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 462 | assert state.attributes["actor"] == "John Doe" |
| LOW | tests/components/unifi_access/test_event.py | 702 | actor=LogActor(display_name="John Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 727 | actor=LogActor(display_name="Jane Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 778 | actor=LogActor(display_name="John Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 1074 | actor=LogActor(display_name="Jane Doe"), |
| LOW | tests/components/unifi_access/test_event.py | 1087 | assert state.attributes["actor"] == "Jane Doe" |
| LOW | tests/components/ekeybionyx/conftest.py | 168 | title="test@test.com", |
| LOW | tests/components/heos/test_services.py | 31 | {ATTR_USERNAME: "test@test.com", ATTR_PASSWORD: "password"}, |
| LOW | tests/components/heos/test_services.py | 35 | controller.sign_in.assert_called_once_with("test@test.com", "password") |
| 68 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pyproject.toml | 141 | # locally-disabled - it spams too much |
| LOW | pyproject.toml | 501 | # https://github.com/pyusb/pyusb/pull/545 - >1.3.1 |
| LOW | pyproject.toml | 541 | # https://github.com/python-telegram-bot/python-telegram-bot/blob/v22.7/src/telegram/error.py#L243 - 22.7 - 2026-03-16 |
| LOW | pyproject.toml | 601 | "ignore:with timeout\\(\\) is deprecated:DeprecationWarning:aiomodernforms.modernforms", |
| LOW | requirements_all.txt | 21 | # homeassistant.components.tasmota |
| LOW | homeassistant/bootstrap.py | 161 | "sentry", |
| LOW | homeassistant/bootstrap.py | 761 | # to speed things up. |
| LOW | homeassistant/bootstrap.py | 841 | |
| LOW | homeassistant/package_constraints.txt | 201 | tenacity!=8.4.0 |
| LOW | homeassistant/core.py | 2321 | else: |
| LOW | homeassistant/setup.py | 41 | _LOGGER = logging.getLogger(__name__) |
| LOW | homeassistant/util/dt.py | 481 | |
| LOW | homeassistant/util/dt.py | 501 | # Example: on 2021.10.31 02:00:00 in CET timezone clocks are turned |
| LOW | homeassistant/util/async_.py | 81 | # the executor and `.join()` the thread running this code. |
| LOW | homeassistant/components/soundtouch/media_player.py | 361 | # Client devices do NOT return their siblings as part of the "slaves" list. |
| LOW | homeassistant/components/sun/condition.py | 61 | tomorrow = today + timedelta(days=1) |
| LOW | homeassistant/components/goodwe/sensor.py | 41 | |
| LOW | homeassistant/components/homekit/type_lights.py | 261 | and isinstance(brightness, (int, float)) |
| LOW | homeassistant/components/hyperion/config_flow.py | 41 | DOMAIN, |
| LOW | homeassistant/components/hyperion/config_flow.py | 61 | # | Static | |
| LOW | homeassistant/components/hyperion/config_flow.py | 81 | # v<------------------+ |
| LOW | homeassistant/components/hyperion/config_flow.py | 161 | # 'deviceType': 'urn:schemas-upnp-org:device:Basic:1', |
| LOW | homeassistant/components/hyperion/config_flow.py | 181 | # 'height': '100', |
| LOW | homeassistant/components/websocket_api/http.py | 441 | return connection |
| LOW | homeassistant/components/websocket_api/http.py | 461 | # - We end up disconnecting the client. The client will then reconnect, |
| LOW | homeassistant/components/xbox/entity.py | 181 | # creates issues with loading the image. |
| LOW | homeassistant/components/apple_tv/config_flow.py | 241 | self.scan_filter = host |
| LOW | homeassistant/components/apple_tv/config_flow.py | 261 | # code below will check these identifiers for all active flows and abort if a |
| LOW | homeassistant/components/flexit_bacnet/number.py | 41 | |
| LOW | …sistant/components/withings/application_credentials.py | 41 | # "status": [{integer} Withings API response status], |
| LOW | homeassistant/components/system_log/__init__.py | 81 | # Slice the stack to the first frame that matches |
| LOW | homeassistant/components/system_log/__init__.py | 101 | # |
| LOW | homeassistant/components/stream/worker.py | 201 | # Only do extra fragmenting if we are using ll_hls |
| LOW | homeassistant/components/stream/worker.py | 221 | # the resulting fragments can have variability in their |
| LOW | homeassistant/components/stream/worker.py | 641 | # 2 - seeking can be problematic https://trac.ffmpeg.org/ticket/7815 |
| LOW | homeassistant/components/stream/hls.py | 201 | # Since our window doesn't have many segments, we don't want to start |
| LOW | homeassistant/components/motionmount/config_flow.py | 21 | |
| LOW | homeassistant/components/homekit_controller/const.py | 121 | # 10 seconds was chosen because it is soon enough |
| LOW | …assistant/components/homekit_controller/config_flow.py | 401 | # phase of pairing. If this is successful the device enters pairing |
| LOW | homeassistant/components/doorbird/models.py | 21 | # This integration uses a different event for |
| LOW | homeassistant/components/matter/models.py | 141 | # for example for the AcceptedCommandList |
| LOW | homeassistant/components/growatt_server/coordinator.py | 161 | ) |
| LOW | homeassistant/components/ibeacon/coordinator.py | 401 | if group_id not in self._unavailable_group_ids |
| LOW | homeassistant/components/todoist/const.py | 61 | ID: Final = "id" |
| LOW | homeassistant/components/homematicip_cloud/__init__.py | 161 | # migration. Two collision shapes are handled here: |
| LOW | homeassistant/components/bluetooth/__init__.py | 181 | call_debouncer_job = HassJob(_async_call_debouncer, cancel_on_shutdown=True) |
| LOW | homeassistant/components/recorder/statistics.py | 2961 | |
| LOW | homeassistant/components/recorder/migration.py | 1181 | _add_columns(self.session_maker, "events", ["context_parent_id CHARACTER(36)"]) |
| LOW | homeassistant/components/recorder/migration.py | 1621 | |
| LOW | homeassistant/components/recorder/filters.py | 161 | " has_config before calling this method." |
| LOW | homeassistant/components/recorder/filters.py | 181 | # - Entity listed in entities include: include |
| LOW | homeassistant/components/recorder/models/database.py | 21 | version: AwesomeVersion | None |
| LOW | homeassistant/components/recorder/models/database.py | 41 | # https://github.com/home-assistant/core/issues/137178 |
| LOW | homeassistant/components/zwave_js/models.py | 181 | # [optional] the node's product_id must match ANY of these values |
| LOW | homeassistant/components/zwave_js/discovery.py | 101 | # [optional] template to generate platform specific data to use in setup |
| LOW | homeassistant/components/zwave_js/binary_sensor.py | 181 | |
| LOW | homeassistant/components/zwave_js/binary_sensor.py | 201 | # - Maintenance required, planned periodic inspection |
| LOW | homeassistant/components/netatmo/sensor.py | 121 | return "High" |
| LOW | homeassistant/components/netatmo/binary_sensor.py | 101 | NetatmoBinarySensorEntityDescription( |
| LOW | homeassistant/components/onvif/event_manager.py | 61 | # We only keep the subscription alive for 10 minutes, and will keep |
| 38 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ome_assistant/checkers/actions/swallowed_exceptions.py | 55 | # Empty body (just pass) or log-only body |
| MEDIUM | homeassistant/loader.py | 1683 | """Mount config dir in order to load custom_component. |
| MEDIUM | homeassistant/components/intellifire/config_flow.py | 115 | """Authenticate against IFTAPI Cloud in order to see configured devices. |
| MEDIUM | homeassistant/components/wallbox/coordinator.py | 102 | """Check if the jwtToken is still valid in order to reuse if possible.""" |
| LOW | homeassistant/components/vizio/media_player.py | 279 | # show the combination with, otherwise just return inputs |
| LOW | homeassistant/components/energy/data.py | 809 | # If power_config has stat_rate (standard), just use it directly |
| LOW | homeassistant/components/energy/data.py | 827 | # If power_config has stat_rate (standard), just use it directly |
| LOW | homeassistant/components/system_log/__init__.py | 72 | # exception). In that case, just use the file where the log was made from. |
| LOW | homeassistant/components/alexa/handlers.py | 672 | # This workaround will simply call the volume up/Volume down the amount of |
| MEDIUM | homeassistant/components/cast/media_player.py | 293 | """Ensure chromecast is available, to facilitate type checking.""" |
| LOW | homeassistant/components/stream/worker.py | 483 | # For the bounds, just use the larger of the two values. If the error |
| LOW | homeassistant/components/deluge/sensor.py | 30 | # if key is CURRENT_STATUS, we just return whether |
| LOW | homeassistant/components/oralb/__init__.py | 49 | # BluetoothServiceInfoBleak is defined in HA, otherwise would just pass it |
| LOW | …tant/components/hunterdouglas_powerview/diagnostics.py | 50 | # otherwise just return all shade data |
| LOW | homeassistant/components/matter/vacuum.py | 94 | # We simply set the RvcRunMode to the first runmode |
| LOW | homeassistant/components/matter/vacuum.py | 132 | # We simply set the RvcRunMode to the first runmode |
| LOW | homeassistant/components/growatt_server/coordinator.py | 381 | # local time in that scenario we should just return the previous value |
| LOW | homeassistant/components/slimproto/config_flow.py | 22 | # we have nothing to configure so simply create the entry |
| LOW | homeassistant/components/todoist/calendar.py | 722 | # If we have no data, we can just return right away. |
| LOW | homeassistant/components/geo_rss_events/sensor.py | 150 | # If no events were found due to an error then just set state to |
| LOW | homeassistant/components/device_automation/condition.py | 68 | # we just pass the entire config as options. |
| LOW | homeassistant/components/apcupsd/coordinator.py | 48 | # We had user reports that some UPS models simply return |
| LOW | homeassistant/components/cloud/http_api.py | 458 | # just add the domain |
| MEDIUM | homeassistant/components/tplink/light.py | 290 | # except when transition is defined so we leverage that for now. |
| LOW | homeassistant/components/peblar/number.py | 117 | # If charging is currently disabled (below 6 amps), just set the value |
| LOW | homeassistant/components/xiaomi_ble/__init__.py | 147 | # BluetoothServiceInfoBleak is defined in HA, otherwise would just pass it |
| MEDIUM | homeassistant/components/caldav/coordinator.py | 28 | """Class to utilize the calendar dav client object to get next event.""" |
| LOW | homeassistant/components/rest/notify.py | 157 | # integrations, so just return the first target in the list. |
| MEDIUM | homeassistant/components/zha/entity.py | 197 | # provides a more generic hook to utilize HA to do this), we directly restore |
| LOW | homeassistant/components/zha/config_flow.py | 342 | # Allow onboarding for new users to just create a new network automatically |
| MEDIUM | homeassistant/helpers/intent.py | 520 | """Match entities based on constraints in order to handle an intent.""" |
| MEDIUM | tests/components/liebherr/conftest.py | 32 | # Complete multi-zone device for comprehensive testing |
| MEDIUM | tests/components/tod/test_binary_sensor.py | 635 | # Essentially, the ToD sensor never turns on that day. |
| LOW | tests/components/intellifire/test_config_flow.py | 40 | # For a single fireplace we just create it |
| LOW | tests/components/intellifire/test_config_flow.py | 74 | # For a single fireplace we just create it |
| LOW | tests/components/intellifire/test_config_flow.py | 110 | # For a single fireplace we just create it |
| LOW | tests/components/google/test_calendar.py | 846 | # just use the API response which this test is not exercising) |
| LOW | tests/components/schlage/test_lock.py | 360 | # Should not raise an error, just return silently |
| LOW | tests/components/schlage/test_lock.py | 381 | # Should not raise an error, just return silently |
| MEDIUM | tests/components/homekit_controller/common.py | 45 | # Root device in test harness always has an accessory id of this |
| LOW | tests/components/music_assistant/conftest.py | 77 | # simply return a mock config for each player |
| MEDIUM | tests/components/generic_thermostat/test_climate.py | 1345 | # this test harness). Update the entity to OFF so the thermostat sees the |
| LOW | tests/components/chacon_dio/test_cover.py | 145 | # Define a method to simply call it |
| LOW | tests/components/chacon_dio/test_switch.py | 102 | # Define a method to simply call it |
| LOW | tests/components/balboa/test_fan.py | 63 | # just call turn on, pump should be at full speed |
| MEDIUM | tests/components/application_credentials/test_init.py | 123 | """Fixture to facilitate testing an OAuth flow.""" |
| LOW | …ts/components/eurotronic_cometblue/test_config_flow.py | 220 | # If for some reason no name can be derived, just return the default name |
| LOW | …ts/components/eurotronic_cometblue/test_config_flow.py | 223 | # If the name is the same as the address, just return |
| MEDIUM | tests/components/conversation/test_chat_log.py | 866 | """Test comprehensive chat log subscription functionality.""" |
| MEDIUM | tests/components/owntracks/test_device_tracker.py | 920 | # message. None is the state the test harness set for |
| MEDIUM | …affold/templates/config_flow_oauth2/integration/api.py | 11 | # TODO the following two API examples are based on our suggested best practices |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/components/control4/config_flow.py | 63 | # Step 1: Authenticate with Control4 cloud API |
| LOW | homeassistant/components/control4/config_flow.py | 88 | # Step 2: Connect to local Control4 Director |
| LOW | homeassistant/components/home_connect/common.py | 91 | when they are turned off, so we need to check if the entities have been added |
| LOW | homeassistant/components/onewire/sensor.py | 441 | # We need to check if there is TAI8570 plugged in |
| LOW | tests/components/omie/test_sensor.py | 62 | # Step 1: 1 PM CET (before 13:30 CET publication) |
| LOW | tests/components/omie/test_sensor.py | 69 | # Step 2: 3 PM CET - verify listeners update with existing data, no new API calls |
| LOW | tests/components/omie/test_sensor.py | 129 | # Step 1: 1 PM CET (before 13:30 CET publication) - only Jan 15 data available |
| LOW | tests/components/omie/test_sensor.py | 135 | # Step 2: 2 PM CET (after 13:30 CET publication) - Jan 16 data now available |
| LOW | tests/components/omie/test_sensor.py | 144 | # Step 3: 3 PM CET - verify listeners update with existing data, no new API calls |
| LOW | tests/components/improv_ble/test_config_flow.py | 237 | # Step 1: Inject provisioned device advertisement (triggers discovery, aborts) |
| LOW | tests/components/improv_ble/test_config_flow.py | 245 | # Step 2: Inject same provisioned advertisement again |
| LOW | tests/components/generic_thermostat/test_climate.py | 1929 | # Step 2: The heater should have been turned on |
| LOW | tests/components/generic_thermostat/test_climate.py | 1939 | # Step 4: The climate entity should keep the parent (user) context, |
| LOW | tests/components/growatt_server/test_sensor.py | 240 | # Step 1: Midnight reset — API returns 0 (legitimate reset) |
| LOW | tests/components/growatt_server/test_sensor.py | 254 | # Step 2: Stale bounce — API returns yesterday's value (12.5) after reset |
| LOW | tests/components/growatt_server/test_sensor.py | 269 | # Step 3: Another reset arrives — still 0 (no double-counting) |
| LOW | tests/components/growatt_server/test_sensor.py | 283 | # Step 4: Genuine new production — small value passes through |
| LOW | tests/components/unifiprotect/test_binary_sensor.py | 781 | # Step 1: Initial event with only VEHICLE detection (car arriving) |
| LOW | tests/components/unifiprotect/test_binary_sensor.py | 819 | # Step 2: Same event gets updated to include PERSON detection |
| LOW | tests/components/unifiprotect/test_binary_sensor.py | 881 | # Step 3: Event ends - both sensors should turn OFF |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/core_config.py | 451 | # Init whitelist external URL list – make sure to add / to every URL that doesn't |
| LOW | homeassistant/components/soundtouch/media_player.py | 313 | # make sure to not try to remove the master (aka current device) |
| MEDIUM | homeassistant/components/motionblinds_ble/strings.json | 72 | "description": "The default disconnect time is 15 seconds, adjustable using the slider below. You may want to ad |
| LOW | homeassistant/components/sftp_storage/__init__.py | 105 | # leftover files, make sure to log plain |
| LOW | homeassistant/components/matter/entity.py | 151 | # make sure to update the attributes once |
| LOW | tests/components/picnic/test_config_flow.py | 388 | # Create a mocked config entry and make sure to use the same |
| LOW | script/hassfest/docker.py | 12 | # Don't forget to update also Dockerfile.dev when updating this. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | homeassistant/components/slack/notify.py | 332 | Get the Slack channel ID from the channel name. This method retrieves the channel ID for a given Slack channel |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/components/transport_nsw/test_sensor.py | 15 | "api_key": "YOUR_API_KEY", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/components/elevenlabs/test_stt.py | 59 | |
| MEDIUM | tests/components/sonos/test_services.py | 121 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | homeassistant/components/blue_current/__init__.py | 175 | async def run_task(self) -> None: |
| LOW | tests/components/websocket_api/test_decorators.py | 16 | def handle_request(request, connection, msg): |