Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined-variable for Python 3.12 generic type syntax #10135

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

marzukr
Copy link
Contributor

@marzukr marzukr commented Dec 12, 2024

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #9335

@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Dec 12, 2024
@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.3.3 milestone Dec 12, 2024
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work on this, don't mind the 3.13.1 collections.abc error, it's going to be fixed on main at some point.

Copy link
Contributor

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on home-assistant:
The following messages are now emitted:

  1. locally-disabled:
    Locally disabling broad-exception-caught (W0718)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L812
  2. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L818
  3. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L822
  4. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L825
  5. line-too-long:
    Line too long (109/100)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L455
  6. line-too-long:
    Line too long (108/100)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2604
  7. too-many-lines:
    Too many lines in module (3635/1000)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1
  8. too-complex:
    '__async_setup_with_context' is too complex. The McCabe rating is 23
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L644
  9. too-complex:
    'async_unload' is too complex. The McCabe rating is 17
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L891
  10. too-complex:
    'async_migrate' is too complex. The McCabe rating is 11
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1037
  11. too-complex:
    'async_finish_flow' is too complex. The McCabe rating is 15
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1462
  12. too-complex:
    '_async_migrate_func' is too complex. The McCabe rating is 12
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1845
  13. too-complex:
    '_async_update_entry' is too complex. The McCabe rating is 12
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2288
  14. too-complex:
    'async_update_issues' is too complex. The McCabe rating is 11
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2625
  15. import-error:
    Unable to import 'async_interrupt'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L28
  16. import-error:
    Unable to import 'propcache'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L29
  17. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L31
  18. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L303
  19. too-many-arguments:
    Too many arguments (18/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L406
  20. too-many-locals:
    Too many local variables (23/15)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L406
  21. magic-value-comparison:
    Consider using a named constant or an enum instead of ''subentry_id''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L453
  22. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L644
  23. too-many-try-statements:
    try clause contains 5 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L725
  24. too-many-branches:
    Too many branches (22/12)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L644
  25. too-many-statements:
    Too many statements (84/50)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L644
  26. consider-using-assignment-expr:
    Use 'if not (supports_unload := hasattr(component, 'async_unload_entry')):' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L936
  27. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L956
  28. too-many-try-statements:
    try clause contains 7 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L943
  29. too-many-return-statements:
    Too many return statements (8/6)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L891
  30. too-many-branches:
    Too many branches (14/12)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L891
  31. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L999
  32. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1009
  33. too-many-positional-arguments:
    Too many positional arguments (6/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1009
  34. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1050
  35. consider-using-assignment-expr:
    Use 'if not (supports_migrate := hasattr(component, 'async_migrate_entry')):' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1061
  36. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1080
  37. too-many-try-statements:
    try clause contains 6 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1071
  38. protected-access:
    Access to a protected member _async_schedule_save of a client class
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1079
  39. too-many-return-statements:
    Too many return statements (7/6)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1037
  40. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1128
  41. too-many-public-methods:
    Too many public methods (21/20)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L367
  42. consider-using-any-or-all:
    for loop could be any(flow.flow_id != flow_id and flow.context['source'] in DISCOVERY_SOURCES for flow in self._progress.values())
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1341
  43. magic-value-comparison:
    Consider using a named constant or an enum instead of ''source''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1354
  44. magic-value-comparison:
    Consider using a named constant or an enum instead of ''entry_id''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1361
  45. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1399
  46. consider-using-assignment-expr:
    Use 'if not (flow := await self.async_create_flow(handler, context=context, data=data)):' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1431
  47. protected-access:
    Access to a protected member _async_remove of a client class
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1605
  48. protected-access:
    Access to a protected member _async_clean_up of a client class
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1611
  49. too-many-branches:
    Too many branches (14/12)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1462
  50. magic-value-comparison:
    Consider using a named constant or an enum instead of ''source''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1630
  51. consider-using-any-or-all:
    for loop could be any(match_items <= progress.context.items() and progress.init_data == data for progress in flows)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1689
  52. consider-using-any-or-all:
    for loop could be any(other_flow is not flow and flow.is_matching(other_flow) for other_flow in set(flows))
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1699
  53. consider-using-assignment-expr:
    Use 'if not (entries := self._domain_unique_id_index.get(domain, {}).get(unique_id)):' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1828
  54. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1854
  55. magic-value-comparison:
    Consider using a named constant or an enum instead of ''system_options''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1860
  56. magic-value-comparison:
    Consider using a named constant or an enum instead of '3'.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1876
  57. magic-value-comparison:
    Consider using a named constant or an enum instead of '4'.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1882
  58. magic-value-comparison:
    Consider using a named constant or an enum instead of '5'.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1887
  59. consider-using-any-or-all:
    for loop could be any((include_ignore or entry.source != SOURCE_IGNORE) and (include_disabled or not entry.disabled_by) for entry in entries)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1956
  60. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2035
  61. magic-value-comparison:
    Consider using a named constant or an enum instead of ''flow_id''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2065
  62. unused-argument:
    Unused argument 'event'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2073
  63. too-many-arguments:
    Too many arguments (11/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2251
  64. too-many-arguments:
    Too many arguments (12/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2288
  65. too-many-locals:
    Too many local variables (18/15)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2288
  66. magic-value-comparison:
    Consider using a named constant or an enum instead of ''flipr''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2326
  67. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2414
  68. protected-access:
    Access to a protected member _domain_unique_id_index of a client class
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2639
  69. magic-value-comparison:
    Consider using a named constant or an enum instead of ''flipr''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2644
  70. redefined-loop-name:
    Redefining 'entries' from loop (line 2646)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2649
  71. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2658
  72. too-many-public-methods:
    Too many public methods (25/20)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L1897
  73. unused-argument:
    Unused argument 'config_entry'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2756
  74. unused-argument:
    Unused argument 'config_entry'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2770
  75. unused-argument:
    Unused argument 'user_input'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2953
  76. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2993
  77. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3022
  78. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3028
  79. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3034
  80. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3040
  81. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3046
  82. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3052
  83. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3058
  84. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3063
  85. unused-argument:
    Unused argument 'discovery_info'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3068
  86. too-many-arguments:
    Too many arguments (7/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3074
  87. too-many-arguments:
    Too many arguments (9/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3108
  88. missing-param-doc:
    "entry" missing in parameter documentation
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3108
  89. too-many-arguments:
    Too many arguments (7/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3155
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of ''entry_id''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3169
  91. too-many-public-methods:
    Too many public methods (23/20)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L2731
  92. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3217
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''source''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3246
  94. consider-using-assignment-expr:
    Use 'if (entry := self.hass.config_entries.async_get_entry(entry_id)) is None:' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3278
  95. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3307
  96. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3481
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3571
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of ''disabled_by''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L3572
  99. suppressed-message:
    Suppressed 'broad-exception-caught' (from line 812)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/config_entries.py#L812
  100. line-too-long:
    Line too long (104/100)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/backup_restore.py#L112
  101. import-error:
    Unable to import 'collections.abc'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/backup_restore.py#L5
  102. import-error:
    Unable to import 'awesomeversion'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/backup_restore.py#L15
  103. import-error:
    Unable to import 'securetar'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/backup_restore.py#L16
  104. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/backup_restore.py#L56
  105. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'HusqvarnaAutomowerBleConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/husqvarna_automower_ble/config_flow.py#L42
  106. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'AgentFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/agent_dvr/config_flow.py#L20
  107. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'OSOEnergyFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/osoenergy/config_flow.py#L20
  108. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'BalboaSpaClientFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/balboa/config_flow.py#L53
  109. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'AqualinkFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/iaqualink/config_flow.py#L21
  110. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'HERETravelTimeConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/here_travel_time/config_flow.py#L101
  111. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'PushBulletConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/pushbullet/config_flow.py#L24
  112. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'SolarLogConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/solarlog/config_flow.py#L21
  113. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'IqviaConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/iqvia/config_flow.py#L17
  114. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'PingConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/ping/config_flow.py#L36
  115. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'IPPFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/ipp/config_flow.py#L57
  116. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'ScreenlogicConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/screenlogic/config_flow.py#L68
  117. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'AsusWrtFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/asuswrt/config_flow.py#L132
  118. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'WyomingConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/wyoming/config_flow.py#L29
  119. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'OAuth2FlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/fitbit/config_flow.py#L18
  120. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'SimpleConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/local_ip/config_flow.py#L12
  121. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'PlayStation4FlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/ps4/config_flow.py#L43
  122. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'EightSleepConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/eight_sleep/config_flow.py#L8
  123. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'SubaruConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/subaru/config_flow.py#L42
  124. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'BluetoothConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/bluetooth/config_flow.py#L50
  125. invalid-overridden-method:
    Method 'state_attributes' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/remote/__init__.py#L185
  126. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'AmberElectricConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/amberelectric/config_flow.py#L50
  127. import-error:
    Unable to import 'pydrawise'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/hydrawise/config_flow.py#L9
  128. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'HydrawiseConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/hydrawise/config_flow.py#L19
  129. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/hydrawise/config_flow.py#L41
  130. unused-argument:
    Unused argument 'entry_data'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/hydrawise/config_flow.py#L91
  131. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'ElectricKiwiOauth2FlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/electric_kiwi/config_flow.py#L15
  132. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'LGSoundbarConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/lg_soundbar/config_flow.py#L70
  133. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'KmtronicConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/kmtronic/config_flow.py#L58
  134. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'SteamistConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/steamist/config_flow.py#L31
  135. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'AirZoneConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/airzone/config_flow.py#L42
  136. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'ForkedDaapdFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/forked_daapd/config_flow.py#L106
  137. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'SharkIqConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/sharkiq/config_flow.py#L79
  138. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'IsraelRailConfigFlow'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/israel_rail/config_flow.py#L27
  139. abstract-method:
    Method 'async_get_subentry_flow' is abstract in class 'ConfigFlow' but is not overridden in child class 'InsteonFlowHandler'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/insteon/config_flow.py#L51
  140. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L38
  141. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L38
  142. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L43
  143. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L43
  144. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L48
  145. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L48
  146. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L53
  147. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L53
  148. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L58
  149. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L58
  150. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L63
  151. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L63
  152. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L68
  153. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L68
  154. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L73
  155. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L73
  156. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L78
  157. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L78
  158. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L87
  159. invalid-overridden-method:
    Method 'is_on' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L133
  160. invalid-overridden-method:
    Method 'extra_state_attributes' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L138
  161. magic-value-comparison:
    Consider using a named constant or an enum instead of ''plugwise_notification''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L140
  162. redefined-loop-name:
    Redefining 'msg_type' from loop (line 146)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L147
  163. consider-using-assignment-expr:
    Use 'if (msg_type := msg_type.lower()) not in SEVERITIES:' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L148
  164. redefined-loop-name:
    Redefining 'msg_type' from loop (line 146)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/binary_sensor.py#L149
  165. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L35
  166. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L35
  167. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L40
  168. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L40
  169. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L45
  170. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L45
  171. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L50
  172. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L50
  173. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L59
  174. abstract-method:
    Method 'turn_off' is abstract in class 'ToggleEntity' but is not overridden in child class 'PlugwiseSwitchEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L84
  175. abstract-method:
    Method 'turn_on' is abstract in class 'ToggleEntity' but is not overridden in child class 'PlugwiseSwitchEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L84
  176. invalid-overridden-method:
    Method 'is_on' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/switch.py#L101
  177. too-many-try-statements:
    try clause contains 3 statements, expected at most 1
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/coordinator.py#L71
  178. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L34
  179. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L34
  180. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L34
  181. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L34
  182. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L41
  183. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L41
  184. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L41
  185. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L41
  186. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L48
  187. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L48
  188. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L48
  189. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L48
  190. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L59
  191. abstract-method:
    Method 'set_native_value' is abstract in class 'NumberEntity' but is not overridden in child class 'PlugwiseNumberEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L83
  192. abstract-method:
    Method 'set_value' is abstract in class 'NumberEntity' but is not overridden in child class 'PlugwiseNumberEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L83
  193. magic-value-comparison:
    Consider using a named constant or an enum instead of ''temperature_offset''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L104
  194. invalid-overridden-method:
    Method 'native_value' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/number.py#L109
  195. invalid-name:
    Variable name "_P" doesn't conform to snake_case naming style
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/util.py#L14
  196. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L30
  197. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L35
  198. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L35
  199. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L41
  200. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L41
  201. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L47
  202. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L47
  203. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L57
  204. abstract-method:
    Method 'select_option' is abstract in class 'SelectEntity' but is not overridden in child class 'PlugwiseSelectEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L81
  205. invalid-overridden-method:
    Method 'current_option' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L102
  206. invalid-overridden-method:
    Method 'options' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/select.py#L107
  207. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Adam''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L44
  208. magic-value-comparison:
    Consider using a named constant or an enum instead of ''climate''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L48
  209. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L31
  210. abstract-method:
    Method 'set_fan_mode' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  211. abstract-method:
    Method 'set_humidity' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  212. abstract-method:
    Method 'set_hvac_mode' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  213. abstract-method:
    Method 'set_preset_mode' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  214. abstract-method:
    Method 'set_swing_horizontal_mode' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  215. abstract-method:
    Method 'set_swing_mode' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  216. abstract-method:
    Method 'set_temperature' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  217. abstract-method:
    Method 'toggle' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  218. abstract-method:
    Method 'turn_aux_heat_off' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  219. abstract-method:
    Method 'turn_aux_heat_on' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  220. abstract-method:
    Method 'turn_off' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  221. abstract-method:
    Method 'turn_on' is abstract in class 'ClimateEntity' but is not overridden in child class 'PlugwiseClimateEntity'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  222. too-many-instance-attributes:
    Too many instance attributes (11/7)
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L62
  223. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Adam''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L91
  224. redefined-variable-type:
    Redefinition of self._attr_supported_features type from homeassistant.components.climate.const.ClimateEntityFeature.TARGET_TEMPERATURE to homeassistant.components.climate.const.ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L92
  225. magic-value-comparison:
    Consider using a named constant or an enum instead of ''regulation_modes''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L117
  226. magic-value-comparison:
    Consider using a named constant or an enum instead of ''cooling''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L118
  227. consider-using-assignment-expr:
    Use 'if (mode := self._gateway_data['select_regulation_mode']) in ('cooling', 'heating'):' instead
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L121
  228. use-set-for-membership:
    Consider using set for membership test
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L121
  229. unused-argument:
    Unused argument 'coordinator'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L110
  230. invalid-overridden-method:
    Method 'current_temperature' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L125
  231. invalid-overridden-method:
    Method 'target_temperature' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L130
  232. invalid-overridden-method:
    Method 'target_temperature_high' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L139
  233. invalid-overridden-method:
    Method 'target_temperature_low' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L147
  234. invalid-overridden-method:
    Method 'hvac_mode' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L155
  235. invalid-overridden-method:
    Method 'hvac_modes' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L164
  236. magic-value-comparison:
    Consider using a named constant or an enum instead of ''regulation_modes''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L167
  237. magic-value-comparison:
    Consider using a named constant or an enum instead of ''available_schedules''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L170
  238. magic-value-comparison:
    Consider using a named constant or an enum instead of ''regulation_modes''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L174
  239. magic-value-comparison:
    Consider using a named constant or an enum instead of ''cooling''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L175
  240. magic-value-comparison:
    Consider using a named constant or an enum instead of ''heating''.
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L177
  241. invalid-overridden-method:
    Method 'hvac_action' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L187
  242. invalid-overridden-method:
    Method 'preset_mode' was expected to be 'method', found it instead as 'property'
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/climate.py#L207
  243. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L46
  244. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L46
  245. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L46
  246. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L46
  247. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L46
  248. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L54
  249. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L54
  250. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L54
  251. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L54
  252. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L54
  253. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L62
  254. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L62
  255. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L62
  256. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L62
  257. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L62
  258. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L70
  259. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L70
  260. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L70
  261. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L70
  262. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L77
  263. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L77
  264. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L77
  265. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L77
  266. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L77
  267. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L85
  268. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L85
  269. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L85
  270. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L85
  271. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L85
  272. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L93
  273. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L93
  274. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L93
  275. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L93
  276. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L100
  277. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L100
  278. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L100
  279. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L100
  280. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L100
  281. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L108
  282. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L108
  283. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L108
  284. unexpected-keyword-arg:
    Unexpected keyword argument 'entity_category' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L108
  285. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/bf9788b9c4724b46a0289342d6122477df2d883e/homeassistant/components/plugwise/sensor.py#L108
  286. unexpected-keyword-arg:
    *Unexpected keyword argument 'transl...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit e76c5e7

Copy link
Member

@jacobtylerwalls jacobtylerwalls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks for fixing this important false positive.

@marzukr
Copy link
Contributor Author

marzukr commented Dec 15, 2024

Perfect, thanks for fixing this important false positive.

Great! Happy to help.

@jacobtylerwalls jacobtylerwalls merged commit be1968e into pylint-dev:main Dec 21, 2024
39 of 42 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 21, 2024
jacobtylerwalls pushed a commit that referenced this pull request Dec 21, 2024
(cherry picked from commit be1968e)

Co-authored-by: Marzuk Rashid <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.3.x False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined variable T using generic on Class (PEP695)
3 participants