Skip to content

Extend W0236 checker to detect return type mismatches in overridden methods #10449

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Julfried
Copy link
Contributor

@Julfried Julfried commented Jul 2, 2025

Type of Changes

Type
βœ“ πŸ› Bug fix
✨ New feature
πŸ”¨ Refactoring
πŸ“œ Docs

Description

Closes #10351

  • Enhanced the invalid-overridden-method (W0236) checker to detect return type mismatches in overridden methods
  • Introduced _are_return_types_compatible helper to check compatibility using the following conditions:
    1.) excat match
    2.) subclassing (covariance)
    3.) Special handling for return type Any
  • Added test cases covering both valid and invalid return type overrides
  • Updated expected test output to reflect new behavior

Had this branch open for while now, so I decided to finish the implementation. Let me know what you think :)

Copy link

codecov bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.88%. Comparing base (ed59632) to head (a76ccc5).
Report is 41 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #10449      +/-   ##
==========================================
- Coverage   95.90%   95.88%   -0.02%     
==========================================
  Files         176      176              
  Lines       19130    19159      +29     
==========================================
+ Hits        18347    18371      +24     
- Misses        783      788       +5     
Files with missing lines Coverage Ξ”
pylint/checkers/classes/class_checker.py 93.84% <100.00%> (+0.11%) ⬆️

... and 14 files with indirect coverage changes

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Jul 2, 2025

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

Effect on astroid:
The following messages are now emitted:

  1. invalid-overridden-method:
    Method 'is_bound' was expected to be "return type 'bool'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/bases.py#L552
  2. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/bases.py#L732
  3. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/objects.py#L39
  4. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L347
  5. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L2179
  6. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L2365
  7. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L2444
  8. invalid-overridden-method:
    Method 'op_left_associative' was expected to be "return type 'bool'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L3098
  9. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L3311
  10. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L3416
  11. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L3520
  12. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L3618
  13. invalid-overridden-method:
    Method 'pytype' was expected to be "return type 'str'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L4064
  14. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L4123
  15. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L4176
  16. invalid-overridden-method:
    Method '_infer' was expected to be "return type 'Generator'", found it instead as "return type 'Iterator'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/node_classes.py#L4220
  17. invalid-overridden-method:
    Method 'scope' was expected to be "return type 'LocalsDictNodeNG'", found it instead as "return type '_T'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/scoped_nodes/mixin.py#L49
  18. invalid-overridden-method:
    Method 'callable' was expected to be "return type 'bool'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/scoped_nodes/scoped_nodes.py#L960
  19. invalid-overridden-method:
    Method 'callable' was expected to be "return type 'bool'", found it instead as "return type 'Literal'"
    https://github.com/pylint-dev/astroid/blob/0ce05c41453a3ac6d9c06bf0a7f4f762e8aaaeb8/astroid/nodes/scoped_nodes/scoped_nodes.py#L1276

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

  1. invalid-overridden-method:
    Method 'async_init' was expected to be "return type '_FlowResultT'", found it instead as "return type 'ConfigFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L1387
  2. invalid-overridden-method:
    Method 'async_finish_flow' was expected to be "return type '_FlowResultT'", found it instead as "return type 'ConfigFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L1529
  3. invalid-overridden-method:
    Method 'async_create_entry' was expected to be "return type '_FlowResultT'", found it instead as "return type 'ConfigFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L3124
  4. invalid-overridden-method:
    Method 'async_show_form' was expected to be "return type '_FlowResultT'", found it instead as "return type 'ConfigFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L3205
  5. invalid-overridden-method:
    Method 'async_finish_flow' was expected to be "return type '_FlowResultT'", found it instead as "return type 'SubentryFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L3313
  6. invalid-overridden-method:
    Method 'async_create_entry' was expected to be "return type '_FlowResultT'", found it instead as "return type 'SubentryFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L3363
  7. invalid-overridden-method:
    Method 'async_finish_flow' was expected to be "return type '_FlowResultT'", found it instead as "return type 'ConfigFlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/config_entries.py#L3474
  8. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/mcp/coordinator.py#L120
  9. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/guardian/coordinator.py#L60
  10. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rainforest_raven/coordinator.py#L113
  11. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/bring/coordinator.py#L86
  12. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/bring/coordinator.py#L206
  13. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/eheimdigital/coordinator.py#L93
  14. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rympro/coordinator.py#L40
  15. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/jvc_projector/coordinator.py#L52
  16. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'TwinklyData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/twinkly/coordinator.py#L69
  17. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'PyLoadData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/pyload/coordinator.py#L60
  18. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'ProximityData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/proximity/coordinator.py#L234
  19. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fyta/coordinator.py#L52
  20. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/slide_local/coordinator.py#L72
  21. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/webmin/coordinator.py#L63
  22. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'BackupCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/backup/coordinator.py#L69
  23. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'HabiticaData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/habitica/coordinator.py#L115
  24. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tesla_fleet/coordinator.py#L89
  25. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tesla_fleet/coordinator.py#L166
  26. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tesla_fleet/coordinator.py#L230
  27. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tesla_fleet/coordinator.py#L284
  28. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'T'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/renault/coordinator.py#L65
  29. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/luftdaten/coordinator.py#L46
  30. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/nice_go/coordinator.py#L144
  31. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/london_underground/coordinator.py#L33
  32. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'AzureDevOpsData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/azure_devops/coordinator.py#L163
  33. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'BSBLanCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/bsblan/coordinator.py#L56
  34. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ruckus_unleashed/coordinator.py#L44
  35. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/aurora/coordinator.py#L47
  36. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/lastfm/coordinator.py#L55
  37. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/verisure/coordinator.py#L68
  38. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/nexia/coordinator.py#L42
  39. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tomorrowio/coordinator.py#L197
  40. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/filesize/coordinator.py#L64
  41. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'bool'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/sharkiq/coordinator.py#L68
  42. invalid-overridden-method:
    Method 'extra_state_attributes' was expected to be "return type 'Mapping'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/switchbot/switch.py#L64
  43. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/airzone/coordinator.py#L48
  44. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'UpdateCoordinatorDataType'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fritz/coordinator.py#L257
  45. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/foscam/coordinator.py#L37
  46. invalid-overridden-method:
    Method 'min_humidity' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/econet/climate.py#L218
  47. invalid-overridden-method:
    Method 'max_humidity' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/econet/climate.py#L223
  48. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/amberelectric/coordinator.py#L154
  49. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/brunt/coordinator.py#L62
  50. invalid-overridden-method:
    Method 'async_finish_flow' was expected to be "return type '_FlowResultT'", found it instead as "return type 'FlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/auth/mfa_setup_flow.py#L59
  51. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'WatergateAgregatedRequests'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/watergate/coordinator.py#L52
  52. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fitbit/coordinator.py#L44
  53. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'float'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fastdotcom/coordinator.py#L31
  54. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/huisbaasje/coordinator.py#L55
  55. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SystemBridgeData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/system_bridge/coordinator.py#L171
  56. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L374
  57. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L426
  58. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L493
  59. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L588
  60. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L638
  61. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L697
  62. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L749
  63. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L950
  64. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1030
  65. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1085
  66. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1155
  67. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1279
  68. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1329
  69. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1427
  70. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L1766
  71. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L2110
  72. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L2249
  73. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L2319
  74. invalid-overridden-method:
    Method 'get_property' was expected to be "return type 'dict'", found it instead as "return type 'Any'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa/capabilities.py#L2407
  75. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'UpdateCoordinatorDataType'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/vodafone_station/coordinator.py#L117
  76. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/home_connect/coordinator.py#L315
  77. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/meater/coordinator.py#L64
  78. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/homeassistant_alerts/coordinator.py#L53
  79. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'XboxData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/xbox/coordinator.py#L89
  80. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tessie/coordinator.py#L71
  81. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tessie/coordinator.py#L127
  82. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tessie/coordinator.py#L163
  83. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/qnap/coordinator.py#L86
  84. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ourgroceries/coordinator.py#L49
  85. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fully_kiosk/coordinator.py#L44
  86. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/gree/coordinator.py#L76
  87. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/airly/coordinator.py#L93
  88. invalid-overridden-method:
    Method 'min_humidity' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/homekit_controller/humidifier.py#L85
  89. invalid-overridden-method:
    Method 'max_humidity' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/homekit_controller/humidifier.py#L90
  90. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'ApSystemsSensorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/apsystems/coordinator.py#L74
  91. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/hko/coordinator.py#L97
  92. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/vizio/coordinator.py#L50
  93. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/yale_smart_alarm/coordinator.py#L55
  94. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'IOmeterData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/iometer/coordinator.py#L59
  95. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'HERETravelTimeData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/here_travel_time/coordinator.py#L83
  96. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/adax/coordinator.py#L42
  97. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/adax/coordinator.py#L90
  98. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/trafikverket_ferry/coordinator.py#L72
  99. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SuezWaterData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/suez_water/coordinator.py#L89
  100. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'NYTGamesData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/nyt_games/coordinator.py#L50
  101. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MyPermobilData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/permobil/coordinator.py#L44
  102. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fivem/coordinator.py#L63
  103. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'AirGradientData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/airgradient/coordinator.py#L65
  104. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/poolsense/coordinator.py#L47
  105. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/opensky/coordinator.py#L62
  106. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/laundrify/coordinator.py#L43
  107. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SpotifyCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/spotify/coordinator.py#L84
  108. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'RadioThermUpdate'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/radiotherm/coordinator.py#L44
  109. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/qnap_qsw/coordinator.py#L44
  110. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/qnap_qsw/coordinator.py#L73
  111. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'EasyEnergyData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/easyenergy/coordinator.py#L52
  112. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rachio/coordinator.py#L64
  113. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rachio/coordinator.py#L97
  114. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'CanaryData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/canary/coordinator.py#L65
  115. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/eafm/coordinator.py#L47
  116. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/surepetcare/coordinator.py#L61
  117. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tedee/coordinator.py#L75
  118. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'HistoryStatsState'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/history_stats/coordinator.py#L101
  119. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/glances/coordinator.py#L43
  120. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/airzone_cloud/coordinator.py#L49
  121. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tado/coordinator.py#L83
  122. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tado/coordinator.py#L390
  123. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/jellyfin/coordinator.py#L51
  124. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'NotionData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/notion/coordinator.py#L127
  125. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/opower/coordinator.py#L84
  126. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/goodwe/coordinator.py#L54
  127. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/speedtestdotnet/coordinator.py#L78
  128. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/openweathermap/coordinator.py#L274
  129. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/sensorpush_cloud/coordinator.py#L40
  130. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/roborock/coordinator.py#L502
  131. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/flipr/coordinator.py#L59
  132. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/flipr/coordinator.py#L74
  133. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/aurora_abb_powerone/coordinator.py#L110
  134. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/livisi/coordinator.py#L58
  135. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'RainbirdDeviceState'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rainbird/coordinator.py#L114
  136. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/upnp/coordinator.py#L70
  137. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/gardena_bluetooth/coordinator.py#L65
  138. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/imeon_inverter/coordinator.py#L68
  139. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/streamlabswater/coordinator.py#L47
  140. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SonarrDataT'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/sonarr/coordinator.py#L67
  141. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SeventeenTrackData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/seventeentrack/coordinator.py#L57
  142. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/google_tasks/coordinator.py#L47
  143. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MicroBeesCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/microbees/coordinator.py#L47
  144. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/aquacell/coordinator.py#L60
  145. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/deluge/coordinator.py#L42
  146. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/renson/coordinator.py#L44
  147. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/aemet/coordinator.py#L65
  148. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/garages_amsterdam/coordinator.py#L37
  149. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/airnow/coordinator.py#L72
  150. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'T'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/radarr/coordinator.py#L84
  151. invalid-overridden-method:
    Method '_fetch_data' was expected to be "return type 'T'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/radarr/coordinator.py#L135
  152. invalid-overridden-method:
    Method '_fetch_data' was expected to be "return type 'T'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/radarr/coordinator.py#L143
  153. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/overkiz/coordinator.py#L78
  154. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/wallbox/coordinator.py#L205
  155. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ukraine_alarm/coordinator.py#L48
  156. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'FritzboxCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/fritzbox/coordinator.py#L168
  157. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'P1MonitorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/p1_monitor/coordinator.py#L71
  158. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tankerkoenig/coordinator.py#L117
  159. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/esphome/coordinator.py#L39
  160. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'ImmichData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/immich/coordinator.py#L67
  161. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SMHIForecastData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/smhi/coordinator.py#L49
  162. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/rova/coordinator.py#L35
  163. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'HydrawiseData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/hydrawise/coordinator.py#L72
  164. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'HydrawiseData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/hydrawise/coordinator.py#L115
  165. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'APCUPSdData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/apcupsd/coordinator.py#L105
  166. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/twentemilieu/coordinator.py#L47
  167. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/pterodactyl/coordinator.py#L64
  168. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/google_photos/coordinator.py#L54
  169. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/epion/coordinator.py#L36
  170. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'StatusMessage'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/loqed/coordinator.py#L91
  171. invalid-overridden-method:
    Method 'native_min_value' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/template/number.py#L239
  172. invalid-overridden-method:
    Method 'native_max_value' was expected to be "return type 'float'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/template/number.py#L246
  173. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'PingResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ping/coordinator.py#L53
  174. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'TrainData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/trafikverket_train/coordinator.py#L115
  175. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/alexa_devices/coordinator.py#L50
  176. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'TouchlineSLModuleData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/touchline_sl/coordinator.py#L52
  177. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'FlattenedWaterQuality'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tami4/coordinator.py#L55
  178. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ridwell/coordinator.py#L48
  179. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'CookidooData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/cookidoo/coordinator.py#L79
  180. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/kostal_plenticore/coordinator.py#L215
  181. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'Mapping'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/kostal_plenticore/coordinator.py#L239
  182. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/kostal_plenticore/coordinator.py#L304
  183. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MieleCoordinatorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/miele/coordinator.py#L56
  184. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'PowerviewShadeData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/hunterdouglas_powerview/coordinator.py#L46
  185. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/aussie_broadband/coordinator.py#L57
  186. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/knocki/coordinator.py#L34
  187. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/yolink/coordinator.py#L52
  188. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/accuweather/coordinator.py#L72
  189. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'list'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/accuweather/coordinator.py#L120
  190. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/lektrico/coordinator.py#L50
  191. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MonarchData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/monarch_money/coordinator.py#L68
  192. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/upcloud/coordinator.py#L51
  193. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/youtube/coordinator.py#L51
  194. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/linear_garage_door/coordinator.py#L50
  195. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/enphase_envoy/coordinator.py#L259
  196. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'ToloSaunaData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tolo/coordinator.py#L48
  197. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/point/coordinator.py#L38
  198. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/epic_games_store/coordinator.py#L47
  199. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/ezviz/coordinator.py#L52
  200. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/synology_dsm/coordinator.py#L117
  201. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/synology_dsm/coordinator.py#L161
  202. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SensorData'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/systemmonitor/coordinator.py#L131
  203. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'T'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/lidarr/coordinator.py#L61
  204. invalid-overridden-method:
    Method '_fetch_data' was expected to be "return type 'T'", found it instead as "return type 'str'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/lidarr/coordinator.py#L102
  205. invalid-overridden-method:
    Method '_fetch_data' was expected to be "return type 'T'", found it instead as "return type 'int'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/lidarr/coordinator.py#L121
  206. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'float'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/srp_energy/coordinator.py#L46
  207. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/traccar_server/coordinator.py#L79
  208. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/tailscale/coordinator.py#L39
  209. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/coolmaster/coordinator.py#L47
  210. invalid-overridden-method:
    Method 'async_finish_flow' was expected to be "return type '_FlowResultT'", found it instead as "return type 'FlowResult'"
    https://github.com/home-assistant/core/blob/23c304fc75b3da89e3e2f98a8af89399a4c646d6/homeassistant/components/repairs/issue_handler.py#L82
  211. invalid-overridden-method:
    *Method '_async_update_data' was expected to be "return type '_DataT'", found it ins...

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

This comment was generated for commit a76ccc5

Copy link
Collaborator

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

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

I think the primer is showing a lot of false positives. Wouldn't this be a check that is (nowadays) more relevant in a type checker?

@Pierre-Sassoulas Pierre-Sassoulas added Work in progress False Negative πŸ¦‹ No message is emitted but something is wrong with the code labels Jul 13, 2025
@Pierre-Sassoulas Pierre-Sassoulas added this to the 4.0.0 milestone Jul 13, 2025
@Pierre-Sassoulas Pierre-Sassoulas added Needs decision πŸ”’ Needs a decision before implemention or rejection and removed Work in progress labels Jul 13, 2025
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.

Agree with @DanielNoord this is the kind of check that is hard to do in pylint. If it's easy to fix the false positives do then let's do it but maybe it's better to let a type checker handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Negative πŸ¦‹ No message is emitted but something is wrong with the code Needs decision πŸ”’ Needs a decision before implemention or rejection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

W0236: Invalid-overridden-method checker doesn't detect return type mismatches
3 participants