Local support for Tuya devices in Home Assistant
This report summarizes scanner evidence for make-all/tuya-local, a Python project with 3,629 GitHub stars. SynthScan examined 379,174 lines of code across 1937 source files, recording 706 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 469 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 607 finding(s).
Which changes need focused human review? 706 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 706 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_config_flow.py | 909 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 911 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1018 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1020 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1074 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1076 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1356 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1358 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1466 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1468 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1561 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1563 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1619 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1621 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1652 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_config_flow.py | 1654 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_config_flow.py | 1158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_config_flow.py | 1160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 134 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 136 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 163 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 165 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 195 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 197 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 250 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 252 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 276 | # ========================================== | COMMENT |
| MEDIUM | …ts/tuya_local/devices/amicismart_1pjt_energymeter.yaml | 278 | # ========================================== | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 12 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 14 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 52 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 54 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 82 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 84 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 99 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 101 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 132 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/tuya_local/devices/smartmi_air_circulator_fan.yaml | 134 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | …nents/tuya_local/devices/inkbird_c236t_thermostat.yaml | 271 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …nents/tuya_local/devices/inkbird_c236t_thermostat.yaml | 273 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …nents/tuya_local/devices/inkbird_c236t_thermostat.yaml | 533 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …nents/tuya_local/devices/inkbird_c236t_thermostat.yaml | 535 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 8 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 10 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 31 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 33 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 79 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 81 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 125 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 127 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 161 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 163 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 199 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 201 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 238 | # ------------------------------------ | COMMENT |
| MEDIUM | …omponents/tuya_local/devices/nexsmart_air3_camera.yaml | 240 | # ------------------------------------ | COMMENT |
| MEDIUM | …ponents/tuya_local/devices/nexsmart_watch2_camera.yaml | 8 | # ------------------------------------ | COMMENT |
| MEDIUM | …ponents/tuya_local/devices/nexsmart_watch2_camera.yaml | 10 | # ------------------------------------ | COMMENT |
| MEDIUM⚡ | …ponents/tuya_local/devices/nexsmart_watch2_camera.yaml | 50 | # ------------------------------------ | COMMENT |
| MEDIUM⚡ | …ponents/tuya_local/devices/nexsmart_watch2_camera.yaml | 52 | # ------------------------------------ | COMMENT |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_diagnostics.py | 26 | async def test_config_entry_diagnostics(hass): | CODE |
| LOW | tests/test_diagnostics.py | 69 | async def test_diagnostic_redaction(hass): | CODE |
| LOW | tests/test_diagnostics.py | 120 | def _device_with_sensitive_dp(dp_name: str, dp_value: str): | CODE |
| LOW | tests/test_diagnostics.py | 141 | def test_sensitive_attribute_is_redacted(): | CODE |
| LOW | tests/test_diagnostics.py | 164 | def test_sensitive_primary_value_is_redacted(): | CODE |
| LOW | tests/test_diagnostics.py | 179 | def test_state_kept_when_sensitive_dp_is_not_the_state(): | CODE |
| LOW | tests/test_diagnostics.py | 194 | def test_unrelated_entity_state_is_untouched(): | CODE |
| LOW | tests/test_water_heater.py | 47 | async def test_init_entry_fails_if_device_has_no_water_heater(hass): | CODE |
| LOW | tests/test_water_heater.py | 75 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_button.py | 18 | async def test_init_entry_as_secondary(hass): | CODE |
| LOW | tests/test_button.py | 44 | async def test_init_entry_fails_if_device_has_no_button(hass): | CODE |
| LOW | tests/test_button.py | 72 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_camera.py | 41 | async def test_init_entry_fails_if_device_has_no_camera(hass): | CODE |
| LOW | tests/test_camera.py | 66 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW⚡ | tests/test_entity.py | 101 | def test_init_begin_sets_device_and_config(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 108 | def test_init_begin_returns_dps_dict(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 115 | def test_init_begin_with_translation_key(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 121 | def test_init_begin_with_translation_only_key(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 128 | def test_init_begin_with_placeholders(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 134 | def test_init_end_excludes_blacklisted(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 142 | def test_init_end_excludes_hidden(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 168 | def test_available_when_device_returned_state(self, entity): | CODE |
| LOW⚡ | tests/test_entity.py | 171 | def test_available_false_when_no_state(self, entity, mock_device): | CODE |
| LOW⚡ | tests/test_entity.py | 175 | def test_available_false_when_config_unavailable(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 182 | def test_name_returns_config_name(self, entity): | CODE |
| LOW⚡ | tests/test_entity.py | 185 | def test_name_falls_back_to_super(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 191 | def test_name_uses_device_name_when_no_own_name(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 197 | def test_use_device_name_false_with_name(self, entity): | CODE |
| LOW⚡ | tests/test_entity.py | 200 | def test_use_device_name_false_with_translation_key(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 211 | def test_entity_category_none(self, entity): | CODE |
| LOW⚡ | tests/test_entity.py | 214 | def test_entity_category_config(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 218 | def test_entity_category_diagnostic(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 226 | def test_icon_falls_back_to_super(self, entity, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 230 | def test_extra_state_attributes(self, entity): | CODE |
| LOW⚡ | tests/test_entity.py | 235 | def test_extra_state_attributes_skips_none_optional(self, mock_device, mock_config): | CODE |
| LOW⚡ | tests/test_entity.py | 284 | async def test_async_added_to_hass_logs_deprecation( | CODE |
| LOW⚡ | tests/test_entity.py | 294 | async def test_async_will_remove_from_hass(self, entity, mock_device): | CODE |
| LOW⚡ | tests/test_entity.py | 298 | def test_on_receive_does_nothing(self, entity): | CODE |
| LOW | tests/test_entity.py | 35 | def _default_to_device_class_name(self): | CODE |
| LOW | tests/test_entity.py | 154 | def test_init_end_includes_non_blacklisted_non_hidden( | CODE |
| LOW | tests/test_entity.py | 249 | def test_extra_state_attributes_includes_none_required( | CODE |
| LOW | tests/test_entity.py | 266 | def test_entity_registry_enabled_default(self, entity, mock_config): | CODE |
| LOW | tests/test_entity.py | 322 | def test_missing_json_does_not_raise(self, mock_device, mock_config): | CODE |
| LOW | tests/test_time.py | 41 | async def test_init_entry_fails_if_device_has_no_time(hass): | CODE |
| LOW | tests/test_time.py | 66 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_select.py | 41 | async def test_init_entry_fails_if_device_has_no_select(hass): | CODE |
| LOW | tests/test_select.py | 66 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_siren.py | 39 | async def test_init_entry_fails_if_device_has_no_siren(hass): | CODE |
| LOW | tests/test_siren.py | 62 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_valve.py | 68 | async def test_init_entry_fails_if_device_has_no_valve(hass): | CODE |
| LOW | tests/test_valve.py | 103 | def test_separate_current_position(mocker, position, expected_state): | CODE |
| LOW | tests/test_valve.py | 123 | async def test_set_position_writes_target_only(mocker): | CODE |
| LOW | tests/test_valve.py | 132 | async def test_set_zero_writes_target_only(mocker): | CODE |
| LOW | tests/test_valve.py | 158 | def test_frankever_product_match_is_preferred(): | CODE |
| LOW | tests/test_valve.py | 169 | def test_frankever_auxiliary_entity_values(mocker): | CODE |
| LOW | tests/test_valve.py | 182 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW | tests/test_lawn_mower.py | 46 | async def test_init_entry_fails_if_device_has_no_lawn_mower(hass): | CODE |
| LOW | tests/test_lawn_mower.py | 73 | async def test_init_entry_fails_if_config_is_missing(hass): | CODE |
| LOW⚡ | tests/test_device_config.py | 888 | def test_default_without_mapping(mocker): | CODE |
| LOW⚡ | tests/test_device_config.py | 896 | def test_matching_with_product_id(): | CODE |
| 311 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_water_heater.py | 69 | except ValueError: | CODE |
| HIGH | tests/test_water_heater.py | 97 | except ValueError: | CODE |
| HIGH | tests/test_button.py | 66 | except ValueError: | CODE |
| HIGH | tests/test_button.py | 94 | except ValueError: | CODE |
| HIGH | tests/test_camera.py | 60 | except ValueError: | CODE |
| HIGH | tests/test_camera.py | 85 | except ValueError: | CODE |
| HIGH | tests/test_time.py | 60 | except ValueError: | CODE |
| HIGH | tests/test_time.py | 85 | except ValueError: | CODE |
| HIGH | tests/test_select.py | 60 | except ValueError: | CODE |
| HIGH | tests/test_select.py | 85 | except ValueError: | CODE |
| HIGH | tests/test_siren.py | 56 | except ValueError: | CODE |
| HIGH | tests/test_siren.py | 79 | except ValueError: | CODE |
| HIGH | tests/test_valve.py | 90 | except ValueError: | CODE |
| HIGH | tests/test_valve.py | 204 | except ValueError: | CODE |
| HIGH | tests/test_lawn_mower.py | 67 | except ValueError: | CODE |
| HIGH | tests/test_lawn_mower.py | 95 | except ValueError: | CODE |
| HIGH | tests/test_alarm_control_panel.py | 86 | except ValueError: | CODE |
| HIGH | tests/test_alarm_control_panel.py | 109 | except ValueError: | CODE |
| HIGH | tests/test_fan.py | 92 | except ValueError: | CODE |
| HIGH | tests/test_fan.py | 120 | except ValueError: | CODE |
| HIGH | tests/test_media_player.py | 70 | except ValueError: | CODE |
| HIGH | tests/test_media_player.py | 96 | except ValueError: | CODE |
| HIGH | tests/test_humidifier.py | 73 | except ValueError: | CODE |
| HIGH | tests/test_humidifier.py | 101 | except ValueError: | CODE |
| HIGH | tests/test_binary_sensor.py | 66 | except ValueError: | CODE |
| HIGH | tests/test_binary_sensor.py | 91 | except ValueError: | CODE |
| HIGH | tests/test_event.py | 63 | except ValueError: | CODE |
| HIGH | tests/test_event.py | 88 | except ValueError: | CODE |
| HIGH | tests/test_datetime.py | 63 | except ValueError: | CODE |
| HIGH | tests/test_datetime.py | 88 | except ValueError: | CODE |
| HIGH | tests/test_cover.py | 64 | except ValueError: | CODE |
| HIGH | tests/test_cover.py | 92 | except ValueError: | CODE |
| HIGH | tests/test_sensor.py | 61 | except ValueError: | CODE |
| HIGH | tests/test_sensor.py | 86 | except ValueError: | CODE |
| HIGH | tests/test_lock.py | 66 | except ValueError: | CODE |
| HIGH | tests/test_lock.py | 94 | except ValueError: | CODE |
| HIGH | tests/test_text.py | 61 | except ValueError: | CODE |
| HIGH | tests/test_text.py | 86 | except ValueError: | CODE |
| HIGH | tests/test_config_flow.py | 409 | except vol.MultipleInvalid: | CODE |
| HIGH | tests/test_config_flow.py | 611 | except vol.MultipleInvalid: | CODE |
| HIGH | tests/test_config_flow.py | 677 | except vol.MultipleInvalid: | CODE |
| HIGH | tests/test_infrared.py | 68 | except ValueError: | CODE |
| HIGH | tests/test_infrared.py | 96 | except ValueError: | CODE |
| HIGH | tests/test_light.py | 67 | except ValueError: | CODE |
| HIGH | tests/test_light.py | 95 | except ValueError: | CODE |
| HIGH | tests/test_device.py | 681 | except StopAsyncIteration: | CODE |
| HIGH | tests/test_remote.py | 74 | except ValueError: | CODE |
| HIGH | tests/test_remote.py | 102 | except ValueError: | CODE |
| HIGH | tests/test_number.py | 61 | except ValueError: | CODE |
| HIGH | tests/test_number.py | 86 | except ValueError: | CODE |
| HIGH | tests/test_climate.py | 95 | except ValueError: | CODE |
| HIGH | tests/test_climate.py | 123 | except ValueError: | CODE |
| HIGH | tests/test_vacuum.py | 64 | except ValueError: | CODE |
| HIGH | tests/test_vacuum.py | 92 | except ValueError: | CODE |
| HIGH | tests/test_switch.py | 92 | except ValueError: | CODE |
| HIGH | tests/test_switch.py | 120 | except ValueError: | CODE |
| HIGH | custom_components/tuya_local/device.py | 258 | except CancelledError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_water_heater.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_button.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_camera.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_time.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_select.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_valve.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_lawn_mower.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_alarm_control_panel.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_fan.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_media_player.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_humidifier.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_binary_sensor.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_event.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_datetime.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_cover.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_sensor.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_lock.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_text.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_infrared.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_light.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_remote.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_number.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_climate.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_vacuum.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | tests/test_switch.py | 0 | test initialisation when device has no matching entity | STRING |
| HIGH | custom_components/tuya_local/time.py | 0 | initialise the datetime entity. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the c | STRING |
| HIGH | custom_components/tuya_local/text.py | 0 | initialise the datetime entity. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the c | STRING |
| HIGH | custom_components/tuya_local/datetime.py | 0 | initialise the datetime entity. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the c | STRING |
| HIGH | custom_components/tuya_local/event.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/sensor.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/vacuum.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/binary_sensor.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/number.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/camera.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/select.py | 0 | initialise the select. args: device (tuyalocaldevice): the device api instance config (tuyaentityconfig): the configurat | STRING |
| HIGH | custom_components/tuya_local/fan.py | 0 | initialise the climate device. args: device (tuyalocaldevice): the device api instance. config (tuyaentityconfig): the e | STRING |
| HIGH | custom_components/tuya_local/remote.py | 0 | initialise the climate device. args: device (tuyalocaldevice): the device api instance. config (tuyaentityconfig): the e | STRING |
| HIGH | custom_components/tuya_local/humidifier.py | 0 | initialise the climate device. args: device (tuyalocaldevice): the device api instance. config (tuyaentityconfig): the e | STRING |
| HIGH | custom_components/tuya_local/climate.py | 0 | initialise the climate device. args: device (tuyalocaldevice): the device api instance. config (tuyaentityconfig): the e | STRING |
| HIGH | custom_components/tuya_local/fan.py | 0 | return the features supported by this climate device. | STRING |
| HIGH | custom_components/tuya_local/humidifier.py | 0 | return the features supported by this climate device. | STRING |
| HIGH | custom_components/tuya_local/water_heater.py | 0 | return the features supported by this climate device. | STRING |
| HIGH | custom_components/tuya_local/fan.py | 0 | return the list of presets that this device supports. | STRING |
| HIGH | custom_components/tuya_local/humidifier.py | 0 | return the list of presets that this device supports. | STRING |
| HIGH | custom_components/tuya_local/climate.py | 0 | return the list of presets that this device supports. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_translations.py | 61 | raise AssertionError(f"Inconsistent translations in {', '.join(unmatched)}") | COMMENT |
| LOW | tests/test_discovery.py | 221 | # mocker.patch( | COMMENT |
| LOW | tests/test_device.py | 421 | COMMENT | |
| LOW | tests/test_climate.py | 41 | m_add_entities.assert_called_once() | COMMENT |
| LOW | custom_components/tuya_local/lock.py | 21 | # eavesdropping cloud unlock messages. | COMMENT |
| LOW | custom_components/tuya_local/config_flow.py | 521 | ) | COMMENT |
| LOW | …m_components/tuya_local/devices/rgb48_lightstring.yaml | 1 | # Smart Light RGB48 - RGBIC outdoor string lights | COMMENT |
| LOW | …mponents/tuya_local/devices/wifi_m604_quad_switch.yaml | 121 | # - Payload is a sequence of records; each record is 10 bytes: | COMMENT |
| LOW | …mponents/tuya_local/devices/wifi_m604_quad_switch.yaml | 141 | dps: | COMMENT |
| LOW | …components/tuya_local/devices/etop_fcu_thermostat.yaml | 41 | # min: 41 | COMMENT |
| LOW | …nts/tuya_local/devices/elegrp_dtr10_dimmer_switch.yaml | 121 | range: | COMMENT |
| LOW | …nts/tuya_local/devices/elegrp_dtr10_dimmer_switch.yaml | 141 | # name: Maximum brightness | COMMENT |
| LOW | …nents/tuya_local/devices/dekala_lumos_alarm_clock.yaml | 1 | # `tuya-local` configuration for the Dekala Lumos sunrise alarm | COMMENT |
| LOW | …nents/tuya_local/devices/eta_2625solesmart_heater.yaml | 1 | name: Panel heater | COMMENT |
| LOW | …nents/tuya_local/devices/moes_motionsensor_switch.yaml | 1 | # Example DPS Status | COMMENT |
| LOW | …nents/tuya_local/devices/inkbird_c236t_thermostat.yaml | 501 | # Hex value FF acts as a "not used" placeholder. | COMMENT |
| LOW | …ts/tuya_local/devices/inkbird_int12bw_thermometer.yaml | 201 | # Probe2 | COMMENT |
| LOW | …om_components/tuya_local/devices/voldt_ev_charger.yaml | 201 | # unit: kWh | COMMENT |
| LOW | …omponents/tuya_local/devices/space_dog_music_lamp.yaml | 61 | # value: Fast | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 61 | range: | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 161 | # [Bluetooth Unlock] is used to trigger the device to perform Bluetooth | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 181 | # 6=timeout failure to close the door | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 301 | - dps_val: high | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 321 | # can also be used as a normally open mode. Only when the door lock hardware | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 341 | # name: Door status | COMMENT |
| LOW | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 361 | # dps: | COMMENT |
| LOW | …nts/tuya_local/devices/pv28-cw_airquality_monitor.yaml | 21 | dps: | COMMENT |
| LOW | …nts/tuya_local/devices/pv28-cw_airquality_monitor.yaml | 41 | # - dps_val: middle | COMMENT |
| LOW | …nts/tuya_local/devices/pv28-cw_airquality_monitor.yaml | 61 | # value: "ringtone_3" | COMMENT |
| LOW | …nts/tuya_local/devices/pv28-cw_airquality_monitor.yaml | 221 | # type: string | COMMENT |
| LOW | …tuya_local/devices/henden_essential_pool_heatpump.yaml | 141 | # DPS 113 value is False, but | COMMENT |
| LOW | …/tuya_local/devices/fisher_summer_air_conditioner.yaml | 101 | # and et horizontal mode basic options) | COMMENT |
| LOW | …/tuya_local/devices/fisher_summer_air_conditioner.yaml | 121 | # horizontal direction to filter "wide" options) | COMMENT |
| LOW | …m_components/tuya_local/devices/junsun_ev_charger.yaml | 61 | name: value | COMMENT |
| LOW | …m_components/tuya_local/devices/junsun_ev_charger.yaml | 201 | value: true | COMMENT |
| LOW | …nts/tuya_local/devices/feyree_ev_portable_charger.yaml | 241 | # - id: 125 | COMMENT |
| LOW | …/tuya_local/devices/aygrochy_inline_wifi_air_vent.yaml | 301 | # "1":"Switch", | COMMENT |
| LOW | …/tuya_local/devices/aygrochy_inline_wifi_air_vent.yaml | 321 | # "117":"Auto-High humid switch", | COMMENT |
| LOW | …ents/tuya_local/devices/elechico_ccib001_heatpump.yaml | 1 | # Elechico / Guangdong Chico CCIB001-CC1177D — pool / ice-bath heat pump chiller | COMMENT |
| LOW | …nts/tuya_local/devices/nutromo_sh014_space_heater.yaml | 1 | name: Space heater | COMMENT |
| LOW | …onents/tuya_local/devices/catit_pixi_smart_feeder.yaml | 121 | # {% set s = states("sensor.your_last_meal_details") %} | COMMENT |
| LOW | …nts/tuya_local/devices/breville_airrounder_heater.yaml | 1 | # Loosly based on the Airrounder Plus config | COMMENT |
| LOW | …ya_local/devices/zemismart_spm01_d2tw_energymeter.yaml | 1 | name: Energy meter | COMMENT |
| LOW | …ponents/tuya_local/devices/intelbras_IFR7000_lock.yaml | 161 | # 48 = remote_no_pd_setkey (rw), 49 = remote_no_dp_key (rw), | COMMENT |
| LOW | …om_components/tuya_local/devices/asakuki_diffuser.yaml | 61 | value: lime | COMMENT |
| LOW | …om_components/tuya_local/devices/asakuki_diffuser.yaml | 81 | # max: 255 | COMMENT |
| LOW | …components/tuya_local/devices/proscenic_m9_vacuum.yaml | 361 | min: 0 | COMMENT |
| LOW | …components/tuya_local/devices/proscenic_m9_vacuum.yaml | 381 | # - dps_val: russian | COMMENT |
| LOW | …ts/tuya_local/devices/amantii_trdlumina_fireplace.yaml | 261 | type: string | COMMENT |
| LOW | …ponents/tuya_local/devices/aimiler_11kW_evcharger.yaml | 321 | # name: Last charge | COMMENT |
| LOW | …ponents/tuya_local/devices/aimiler_11kW_evcharger.yaml | 341 | # mapping: | COMMENT |
| LOW | …ponents/tuya_local/devices/aimiler_11kW_evcharger.yaml | 361 | # dps: | COMMENT |
| LOW | …ponents/tuya_local/devices/aimiler_11kW_evcharger.yaml | 381 | # mapping: | COMMENT |
| LOW | …ponents/tuya_local/devices/aimiler_11kW_evcharger.yaml | 401 | # value: "Three phase" | COMMENT |
| LOW | …ponents/tuya_local/devices/diivoo_wt05_watervalve.yaml | 1 | # "11": 100, battery | COMMENT |
| LOW | …m_components/tuya_local/devices/cecotec_fan_light.yaml | 41 | # I comment this features because that are reported by device but | COMMENT |
| LOW | …m_components/tuya_local/devices/cecotec_fan_light.yaml | 61 | # range: | COMMENT |
| LOW | …ya_local/devices/qlima_ms_ac_5002_air_conditioner.yaml | 1 | name: Air conditioner | COMMENT |
| LOW | …ya_local/devices/qlima_ms_ac_5002_air_conditioner.yaml | 21 | # COOL | COMMENT |
| LOW | …_components/tuya_local/devices/ultenic_t10_vacuum.yaml | 121 | - value: true | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | util/untranslated_select.py | 14 | CODE | |
| LOW | util/translation_candidates.py | 15 | CODE | |
| LOW | util/products.py | 11 | CODE | |
| LOW | util/best_match.py | 11 | CODE | |
| LOW | util/match_against.py | 11 | CODE | |
| LOW | util/untranslated_entities.py | 18 | CODE | |
| LOW | tests/test_device_config.py | 357 | CODE | |
| LOW | tests/test_device_config.py | 398 | CODE | |
| LOW | tests/test_device_config.py | 422 | CODE | |
| LOW | tests/test_device_config.py | 444 | CODE | |
| LOW | tests/test_device_config.py | 547 | CODE | |
| LOW | tests/test_device_config.py | 597 | CODE | |
| LOW | tests/test_remote.py | 382 | CODE | |
| LOW | custom_components/tuya_local/time.py | 61 | CODE | |
| LOW | custom_components/tuya_local/cover.py | 133 | CODE | |
| LOW | custom_components/tuya_local/light.py | 120 | CODE | |
| LOW | custom_components/tuya_local/light.py | 212 | CODE | |
| LOW | custom_components/tuya_local/light.py | 319 | CODE | |
| LOW | custom_components/tuya_local/remote.py | 144 | CODE | |
| LOW | custom_components/tuya_local/device.py | 51 | CODE | |
| LOW | custom_components/tuya_local/device.py | 261 | CODE | |
| LOW | custom_components/tuya_local/device.py | 329 | CODE | |
| LOW | custom_components/tuya_local/device.py | 564 | CODE | |
| LOW | custom_components/tuya_local/device.py | 669 | CODE | |
| LOW | custom_components/tuya_local/media_player.py | 96 | CODE | |
| LOW | custom_components/tuya_local/__init__.py | 39 | CODE | |
| LOW | custom_components/tuya_local/__init__.py | 91 | CODE | |
| LOW | custom_components/tuya_local/vacuum.py | 100 | CODE | |
| LOW | custom_components/tuya_local/lock.py | 102 | CODE | |
| LOW | custom_components/tuya_local/lock.py | 184 | CODE | |
| LOW | custom_components/tuya_local/lock.py | 214 | CODE | |
| LOW | custom_components/tuya_local/config_flow.py | 683 | CODE | |
| LOW | custom_components/tuya_local/config_flow.py | 97 | CODE | |
| LOW | custom_components/tuya_local/config_flow.py | 236 | CODE | |
| LOW | custom_components/tuya_local/config_flow.py | 384 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | custom_components/tuya_local/device.py | 128 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/device.py | 280 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/device.py | 303 | except Exception as t: | CODE |
| LOW | custom_components/tuya_local/device.py | 451 | except Exception as t: | CODE |
| LOW | custom_components/tuya_local/device.py | 708 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/__init__.py | 1133 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/config_flow.py | 117 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/config_flow.py | 709 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/config_flow.py | 724 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/helpers/config.py | 33 | except Exception as e: | CODE |
| LOW | custom_components/tuya_local/helpers/device_config.py | 862 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 230 | # switching, you can use this DP to switch the local doorbell ringtone of | COMMENT |
| MEDIUM | …ponents/tuya_local/devices/hornbill_y4_smart_lock.yaml | 429 | # [Modify unlocking method] After the device is online, you can modify | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | custom_components/tuya_local/cloud.py | 289 | def update_token(self, token_info: dict[str, Any]) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | custom_components/tuya_local/diagnostics.py | 3 | CODE |