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 9 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

Attention: Patch coverage is 77.77778% with 6 lines in your changes missing coverage. Please review.

Project coverage is 95.83%. Comparing base (ed59632) to head (bd2bd28).
Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
pylint/checkers/classes/class_checker.py 77.77% 6 Missing ⚠️

❌ Your patch check has failed because the patch coverage (77.77%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #10449      +/-   ##
==========================================
- Coverage   95.90%   95.83%   -0.07%     
==========================================
  Files         176      176              
  Lines       19130    19182      +52     
==========================================
+ Hits        18347    18384      +37     
- Misses        783      798      +15     
Files with missing lines Coverage Ξ”
pylint/checkers/classes/class_checker.py 93.32% <77.77%> (-0.41%) ⬇️

... and 17 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.

This comment has been minimized.

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.

Copy link
Contributor

πŸ€– 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/bases.py#L552
  2. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L341
  3. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L2173
  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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L2438
  5. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L3092
  6. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L3410
  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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L3612
  8. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L4117
  9. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L4170
  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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/node_classes.py#L4214
  11. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/scoped_nodes/scoped_nodes.py#L960
  12. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/scoped_nodes/scoped_nodes.py#L1276
  13. 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/2059ba0b592ecd8ae18c073f471b0f179da7a915/astroid/nodes/scoped_nodes/mixin.py#L49

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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/config_entries.py#L3474
  8. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/auth/__init__.py#L125
  9. invalid-overridden-method:
    Method 'get_source' was expected to be "return type 'Tuple'", found it instead as "return type 'tuple'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/helpers/template.py#L3076
  10. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/helpers/schema_config_entry_flow.py#L477
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/slide_local/coordinator.py#L72
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/rachio/coordinator.py#L64
  13. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/rachio/coordinator.py#L97
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nexia/coordinator.py#L42
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/esphome/coordinator.py#L39
  16. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/livisi/coordinator.py#L58
  17. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/upcloud/coordinator.py#L51
  18. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/google_tasks/coordinator.py#L47
  19. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MinecraftServerData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/minecraft_server/coordinator.py#L67
  20. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/mcp/coordinator.py#L120
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/islamic_prayer_times/coordinator.py#L114
  22. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/accuweather/coordinator.py#L72
  23. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/accuweather/coordinator.py#L120
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/google_photos/coordinator.py#L54
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/poolsense/coordinator.py#L47
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/lastfm/coordinator.py#L55
  27. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/repairs/issue_handler.py#L82
  28. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/point/coordinator.py#L38
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/speedtestdotnet/coordinator.py#L78
  30. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'BluesoundData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/bluesound/coordinator.py#L113
  31. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/history_stats/coordinator.py#L103
  32. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/auth/mfa_setup_flow.py#L59
  33. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/spotify/coordinator.py#L84
  34. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/emoncms/coordinator.py#L38
  35. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/imeon_inverter/coordinator.py#L68
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/airly/coordinator.py#L93
  37. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/template/number.py#L239
  38. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/template/number.py#L246
  39. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/touchline_sl/coordinator.py#L52
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/lg_thinq/coordinator.py#L95
  41. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/iometer/coordinator.py#L59
  42. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'CameraData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/trafikverket_camera/coordinator.py#L62
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/wallbox/coordinator.py#L211
  44. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fully_kiosk/coordinator.py#L44
  45. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/twinkly/coordinator.py#L69
  46. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/openweathermap/coordinator.py#L274
  47. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aosmith/coordinator.py#L57
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aosmith/coordinator.py#L102
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/luftdaten/coordinator.py#L46
  50. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fitbit/coordinator.py#L44
  51. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nextbus/coordinator.py#L59
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/laundrify/coordinator.py#L43
  53. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'PeblarVersionInformation'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/peblar/coordinator.py#L130
  54. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'PeblarData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/peblar/coordinator.py#L157
  55. invalid-overridden-method:
    Method 'as_dict' was expected to be "return type 'ReadOnlyDict'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/recorder/models/state.py#L122
  56. invalid-overridden-method:
    Method 'as_dict' was expected to be "return type 'ReadOnlyDict'", found it instead as "return type 'dict'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/recorder/models/legacy.py#L117
  57. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/glances/coordinator.py#L43
  58. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/hassio/coordinator.py#L314
  59. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/swiss_public_transport/coordinator.py#L87
  60. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ping/coordinator.py#L53
  61. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/webmin/coordinator.py#L63
  62. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/radiotherm/coordinator.py#L44
  63. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/homekit_controller/humidifier.py#L85
  64. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/homekit_controller/humidifier.py#L90
  65. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/upnp/coordinator.py#L70
  66. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'SchlageData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/schlage/coordinator.py#L65
  67. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/radarr/coordinator.py#L84
  68. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/radarr/coordinator.py#L135
  69. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/radarr/coordinator.py#L143
  70. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nina/coordinator.py#L76
  71. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fyta/coordinator.py#L52
  72. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aemet/coordinator.py#L65
  73. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/switchbee/coordinator.py#L62
  74. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/backup/coordinator.py#L69
  75. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/goodwe/coordinator.py#L54
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/blink/coordinator.py#L41
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/eafm/coordinator.py#L47
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tessie/coordinator.py#L71
  79. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tessie/coordinator.py#L127
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tessie/coordinator.py#L163
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tomorrowio/coordinator.py#L197
  82. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/sonarr/coordinator.py#L67
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/evil_genius_labs/coordinator.py#L60
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/twentemilieu/coordinator.py#L47
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/jellyfin/coordinator.py#L51
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fivem/coordinator.py#L63
  87. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fritzbox/coordinator.py#L168
  88. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/teslemetry/coordinator.py#L70
  89. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/teslemetry/coordinator.py#L112
  90. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/teslemetry/coordinator.py#L153
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/teslemetry/coordinator.py#L188
  92. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tado/coordinator.py#L83
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tado/coordinator.py#L390
  94. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'AutarcoData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/autarco/coordinator.py#L60
  95. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L374
  96. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L426
  97. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L493
  98. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L588
  99. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L638
  100. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L697
  101. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L749
  102. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L950
  103. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1030
  104. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1085
  105. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1155
  106. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1279
  107. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1329
  108. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1427
  109. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L1766
  110. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L2110
  111. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L2249
  112. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L2319
  113. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa/capabilities.py#L2407
  114. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/vodafone_station/coordinator.py#L117
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/synology_dsm/coordinator.py#L117
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/synology_dsm/coordinator.py#L161
  117. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/systemmonitor/coordinator.py#L131
  118. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/gardena_bluetooth/coordinator.py#L65
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/opengarage/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/pterodactyl/coordinator.py#L64
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/kostal_plenticore/coordinator.py#L215
  122. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/kostal_plenticore/coordinator.py#L239
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/kostal_plenticore/coordinator.py#L304
  124. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/moehlenhoff_alpha2/coordinator.py#L39
  125. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/flux_led/number.py#L178
  126. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/flux_led/number.py#L204
  127. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/flux_led/number.py#L238
  128. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/flux_led/number.py#L266
  129. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/proximity/coordinator.py#L234
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/huisbaasje/coordinator.py#L55
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/adax/coordinator.py#L42
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/adax/coordinator.py#L90
  133. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/econet/climate.py#L218
  134. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/econet/climate.py#L223
  135. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/streamlabswater/coordinator.py#L47
  136. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/sharkiq/coordinator.py#L68
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/meteoclimatic/coordinator.py#L35
  138. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/here_travel_time/coordinator.py#L83
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/knocki/coordinator.py#L34
  140. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tilt_pi/coordinator.py#L46
  141. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/traccar_server/coordinator.py#L81
  142. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tedee/coordinator.py#L75
  143. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'IottyData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/iotty/coordinator.py#L81
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/amberelectric/coordinator.py#L154
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/twitch/coordinator.py#L83
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aquacell/coordinator.py#L60
  147. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/hydrawise/coordinator.py#L72
  148. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/hydrawise/coordinator.py#L115
  149. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/easyenergy/coordinator.py#L52
  150. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/surepetcare/coordinator.py#L61
  151. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/rympro/coordinator.py#L40
  152. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/eheimdigital/coordinator.py#L93
  153. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/monarch_money/coordinator.py#L68
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/sabnzbd/coordinator.py#L40
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/verisure/coordinator.py#L68
  156. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/alexa_devices/coordinator.py#L50
  157. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/filesize/coordinator.py#L64
  158. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/smhi/coordinator.py#L49
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/airq/coordinator.py#L55
  160. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/lidarr/coordinator.py#L61
  161. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/lidarr/coordinator.py#L102
  162. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/lidarr/coordinator.py#L121
  163. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ridwell/coordinator.py#L48
  164. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/srp_energy/coordinator.py#L46
  165. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/cookidoo/coordinator.py#L79
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/airzone/coordinator.py#L48
  167. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'CoordinatorData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/myuplink/coordinator.py#L48
  168. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/bsblan/coordinator.py#L56
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/uptime_kuma/coordinator.py#L56
  170. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/openuv/coordinator.py#L55
  171. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/renson/coordinator.py#L44
  172. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/tailscale/coordinator.py#L39
  173. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/immich/coordinator.py#L67
  174. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/airgradient/coordinator.py#L65
  175. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/suez_water/coordinator.py#L89
  176. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MetEireannWeatherData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/met_eireann/coordinator.py#L71
  177. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/qnap_qsw/coordinator.py#L44
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/qnap_qsw/coordinator.py#L73
  179. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/london_underground/coordinator.py#L33
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/husqvarna_automower_ble/coordinator.py#L70
  181. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/apcupsd/coordinator.py#L105
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/foscam/coordinator.py#L37
  183. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/opower/coordinator.py#L84
  184. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nyt_games/coordinator.py#L50
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nzbget/coordinator.py#L81
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/garages_amsterdam/coordinator.py#L37
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aseko_pool_live/coordinator.py#L40
  188. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/fritz/coordinator.py#L257
  189. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/awair/coordinator.py#L85
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/awair/coordinator.py#L120
  191. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/seventeentrack/coordinator.py#L57
  192. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/habitica/coordinator.py#L115
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/hko/coordinator.py#L97
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ondilo_ico/coordinator.py#L64
  195. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'OndiloIcoMeasurementData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ondilo_ico/coordinator.py#L165
  196. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'MonzoData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/monzo/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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/iqvia/coordinator.py#L44
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/trafikverket_ferry/coordinator.py#L72
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ituran/coordinator.py#L47
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/aussie_broadband/coordinator.py#L57
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/nibe_heatpump/coordinator.py#L180
  202. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/bring/coordinator.py#L86
  203. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/bring/coordinator.py#L206
  204. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/altruist/coordinator.py#L57
  205. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/yale_smart_alarm/coordinator.py#L55
  206. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/airzone_cloud/coordinator.py#L49
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/gree/coordinator.py#L76
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/homeassistant_alerts/coordinator.py#L53
  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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/ezviz/coordinator.py#L52
  210. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/azure_devops/coordinator.py#L163
  211. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/xbox/coordinator.py#L89
  212. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/apsystems/coordinator.py#L74
  213. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/roborock/coordinator.py#L502
  214. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/israel_rail/coordinator.py#L69
  215. 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/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/components/rainbird/coordinator.py#L114
  216. invalid-overridden-method:
    Method '_async_update_data' was expected to be "return type '_DataT'", found it instead as "return type 'StarlinkData'"
    https://github.com/home-assistant/core/blob/c476500c494882bf2a63fd72c4a79b1a467f43b9/homeassistant/compon...

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

This comment was generated for commit bd2bd28

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