Skip to content

Remove typing._TypedDict - #14960

Draft
srittau wants to merge 12 commits into
python:mainfrom
srittau:rm-typing-typeddict
Draft

srittau wants to merge 12 commits into
python:mainfrom
srittau:rm-typing-typeddict

Conversation

@srittau

@srittau srittau commented Nov 1, 2025

Copy link
Copy Markdown
Collaborator

Part of #7580

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

rotki (https://github.com/rotki/rotki)
+ rotkehlchen/history/events/structures/auto_notes.py:211: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.4.0
+ rotkehlchen/history/events/structures/auto_notes.py:211: note: use --pdb to drop into pdb
+ error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.4.0
+ note: use --pdb to drop into pdb
- rotkehlchen/chain/evm/decoding/aave/v3/decoder.py:594: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/tests/unit/accounting/evm/test_aave.py:88: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/tests/unit/accounting/evm/test_aave.py:216: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/tests/unit/accounting/evm/test_thegraph.py:91: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/tests/exchanges/test_coinbase.py:142: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/tests/unit/accounting/evm/test_cowswap.py:77: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/accounting/history_base_entries.py:107: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/api/asgi.py:278: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/avalanche/manager.py:66: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/ethereum/abi.py:74: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/ethereum/abi.py:87: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/ethereum/node_inquirer.py:309: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/ethereum/oracles/uniswap.py:328: error: Argument 1 to "reduce" has incompatible type overloaded function; expected "Callable[[int, FVal], int]"  [arg-type]
- rotkehlchen/chain/evm/node_inquirer.py:677: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/evm/node_inquirer.py:894: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/evm/node_inquirer.py:959: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/evm/node_inquirer.py:1030: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/chain/mixins/rpc_nodes.py:397: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:584: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:590: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:601: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:620: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:630: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:809: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:820: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:831: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:832: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:833: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/db/accounting_rules.py:851: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/google_calendar.py:56: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/google_calendar.py:514: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/xratescom.py:50: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/xratescom.py:57: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/xratescom.py:61: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/externalapis/xratescom.py:73: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/inquirer.py:1278: error: No overload variant of "map" matches argument types overloaded function, "list[FVal]", "list[Price]", "bool"  [call-overload]
- rotkehlchen/inquirer.py:1278: note: Possible overload variants:
- rotkehlchen/inquirer.py:1278: note:     def [_S, _T1] map(Callable[[_T1], _S], Iterable[_T1], /) -> map[_S]
- rotkehlchen/inquirer.py:1278: note:     def [_S, _T1, _T2] map(Callable[[_T1, _T2], _S], Iterable[_T1], Iterable[_T2], /) -> map[_S]
- rotkehlchen/inquirer.py:1278: note:     def [_S, _T1, _T2, _T3] map(Callable[[_T1, _T2, _T3], _S], Iterable[_T1], Iterable[_T2], Iterable[_T3], /) -> map[_S]
- rotkehlchen/inquirer.py:1278: note:     def [_S, _T1, _T2, _T3, _T4] map(Callable[[_T1, _T2, _T3, _T4], _S], Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], /) -> map[_S]
- rotkehlchen/inquirer.py:1278: note:     def [_S, _T1, _T2, _T3, _T4, _T5] map(Callable[[_T1, _T2, _T3, _T4, _T5], _S], Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], Iterable[_T5], /) -> map[_S]
- rotkehlchen/inquirer.py:1278: note:     def [_S] map(Callable[..., _S], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], /, *iterables: Iterable[Any]) -> map[_S]
- rotkehlchen/serialization/serialize.py:202: error: Unused "type: ignore" comment  [unused-ignore]
- rotkehlchen/utils/network.py:85: error: Unused "type: ignore" comment  [unused-ignore]
+ Traceback (most recent call last):
+   File "<frozen runpy>", line 203, in _run_module_as_main
+   File "mypy/semanal.py", line 7812, in accept
+   File "mypy/nodes.py", line 1917, in accept
+   File "mypy/semanal.py", line 3409, in visit_assignment_stmt
+     self.analyze_rvalue_as_type_form(s)
+   File "mypy/semanal.py", line 3801, in analyze_rvalue_as_type_form
+     self.try_parse_as_type_expression(s.rvalue)
+   File "mypy/semanal.py", line 8205, in try_parse_as_type_expression
+     t = self.expr_to_analyzed_type(maybe_type_expr)
+   File "mypy/semanal.py", line 7850, in expr_to_analyzed_type
+     return self.anal_type(
+   File "mypy/semanal.py", line 7977, in anal_type
+     typ = typ.accept(a)
+   File "mypy/types.py", line 3524, in accept
+   File "mypy/typeanal.py", line 1483, in visit_union_type
+   File "mypy/typeanal.py", line 1974, in anal_array
+     self.anal_type(
+   File "mypy/typeanal.py", line 2002, in anal_type
+     analyzed = t.accept(self)
+   File "mypy/types.py", line 3084, in accept
+     return visitor.visit_typeddict_type(self)
+   File "mypy/typeanal.py", line 1420, in visit_typeddict_type
+     fallback = self.named_type("typing._TypedDict")
+   File "mypy/typeanal.py", line 2054, in named_type
+     node = self.lookup_fully_qualified(fullname)
+   File "mypy/typeanal.py", line 292, in lookup_fully_qualified
+     return self.api.lookup_fully_qualified(fullname)
+   File "mypy/semanal.py", line 7007, in lookup_fully_qualified
+     assert ret is not None, fullname
+ AssertionError: typing._TypedDict
+ 
+ Traceback (most recent call last):
+   File "mypy/build.py", line 1378, in receive_worker_message
+     return receive(self.workers[idx].conn)
+   File "mypy/ipc.py", line 496, in receive
+ OSError: No data received
+ 
+ During handling of the above exception, another exception occurred:
+ 
+ Traceback (most recent call last):
+   File "/__main__.py", line 16, in console_entry
+     main()
+     ~~~~^^
+   File "mypy/main.py", line 167, in main
+   File "mypy/main.py", line 257, in run_build
+     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+   File "mypy/build.py", line 425, in build
+   File "mypy/build.py", line 540, in build_inner
+     graph = dispatch(sources, manager, stdout, connect_threads)
+   File "mypy/build.py", line 4199, in dispatch
+     process_graph(graph, manager)
+   File "mypy/build.py", line 4667, in process_graph
+     done, still_working, results = manager.wait_for_done(graph)
+   File "mypy/build.py", line 1474, in wait_for_done
+     return self.wait_for_done_workers(graph)
+   File "mypy/build.py", line 1493, in wait_for_done_workers
+     buf = self.receive_worker_message(idx)
+   File "mypy/build.py", line 1386, in receive_worker_message
+     raise OSError(
+ OSError: Worker 2 disconnected before sending data (exit code 2)
+ 

xarray-dataclasses (https://github.com/astropenguin/xarray-dataclasses)
- xarray_dataclasses/typing.py:334: error: Return value expected  [return-value]
- xarray_dataclasses/typing.py:339: error: Unused "type: ignore" comment  [unused-ignore]
- xarray_dataclasses/datamodel.py:219: error: Missing return statement  [return]
- xarray_dataclasses/dataarray.py:54: error: Argument 1 to "DataOptions" has incompatible type "type[DataArray]"; expected "Callable[..., TDataArray]"  [arg-type]
- xarray_dataclasses/dataarray.py:91: error: Incompatible types in assignment (expression has type "AttrEntry", variable has type "DataEntry")  [assignment]
- xarray_dataclasses/dataarray.py:137: error: Unused "type: ignore" comment  [unused-ignore]
- xarray_dataclasses/dataset.py:54: error: Argument 1 to "DataOptions" has incompatible type "type[Dataset]"; expected "Callable[..., TDataset]"  [arg-type]
- xarray_dataclasses/dataset.py:94: error: Incompatible types in assignment (expression has type "AttrEntry", variable has type "DataEntry")  [assignment]
- xarray_dataclasses/dataset.py:137: error: Unused "type: ignore" comment  [unused-ignore]
+ .../projects/_xarray-dataclasses_venv/lib/python3.13/site-packages/xarray/backends/file_manager.py:427: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.4.0
+ .../projects/_xarray-dataclasses_venv/lib/python3.13/site-packages/xarray/backends/file_manager.py:427: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/semanal.py", line 7812, in accept
+   File "mypy/nodes.py", line 1917, in accept
+   File "mypy/semanal.py", line 3409, in visit_assignment_stmt
+     self.analyze_rvalue_as_type_form(s)
+   File "mypy/semanal.py", line 3801, in analyze_rvalue_as_type_form
+     self.try_parse_as_type_expression(s.rvalue)
+   File "mypy/semanal.py", line 8205, in try_parse_as_type_expression
+     t = self.expr_to_analyzed_type(maybe_type_expr)
+   File "mypy/semanal.py", line 7850, in expr_to_analyzed_type
+     return self.anal_type(
+   File "mypy/semanal.py", line 7977, in anal_type
+     typ = typ.accept(a)
+   File "mypy/types.py", line 3524, in accept
+   File "mypy/typeanal.py", line 1483, in visit_union_type
+   File "mypy/typeanal.py", line 1974, in anal_array
+     self.anal_type(
+   File "mypy/typeanal.py", line 2002, in anal_type
+     analyzed = t.accept(self)
+   File "mypy/types.py", line 3084, in accept
+     return visitor.visit_typeddict_type(self)
+   File "mypy/typeanal.py", line 1420, in visit_typeddict_type
+     fallback = self.named_type("typing._TypedDict")
+   File "mypy/typeanal.py", line 2054, in named_type
+     node = self.lookup_fully_qualified(fullname)
+   File "mypy/typeanal.py", line 292, in lookup_fully_qualified
+     return self.api.lookup_fully_qualified(fullname)
+   File "mypy/semanal.py", line 7007, in lookup_fully_qualified
+     assert ret is not None, fullname
+ AssertionError: typing._TypedDict
+ 

core (https://github.com/home-assistant/core)
+ homeassistant/helpers/discovery_flow.py:55: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.4.0
+ homeassistant/helpers/discovery_flow.py:55: note: use --pdb to drop into pdb
+ error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.4.0
+ note: use --pdb to drop into pdb
- homeassistant/components/airos/config_flow.py:103: error: Variable "homeassistant.components.airos.config_flow.AirOSDeviceDetect" is not valid as a type  [valid-type]
- homeassistant/components/airos/config_flow.py:103: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/components/alexa_devices/coordinator.py:249: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/apple_tv/config_flow.py:146: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:239: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:332: error: Returning Any from function declared to return "tuple[float | None, float | None]"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:337: error: Returning Any from function declared to return "tuple[float, float]"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:342: error: Returning Any from function declared to return "list[float]"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:347: error: Returning Any from function declared to return "dict[str, float]"  [no-any-return]
- homeassistant/components/asuswrt/bridge.py:389: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/cloud/tts.py:332: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/cloud/tts.py:490: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/data_grand_lyon/config_flow.py:305: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/data_grand_lyon/config_flow.py:403: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/intent/timers.py:323: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/lifx/coordinator.py:97: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/lifx/coordinator.py:119: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/lifx/coordinator.py:130: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/matrix/__init__.py:131: error: Returning Any from function declared to return "tuple[int, int]"  [no-any-return]
- homeassistant/components/midea/config_flow.py:65: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/midea/config_flow.py:500: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/modbus/connection.py:157: error: overload def [_P, _T_co] (func: def (*_P.args, **_P.kwargs) -> typing.AsyncIterator[_T_co]) -> def (*_P.args, **_P.kwargs) -> contextlib._AsyncGeneratorContextManager[_T_co, None] of function contextlib.asynccontextmanager is deprecated: Annotating the return type as `-> AsyncIterator[Foo]` with `@asynccontextmanager` is deprecated. Use `-> AsyncGenerator[Foo]` instead.  [deprecated]
- homeassistant/components/opower/coordinator.py:570: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/opower/coordinator.py:599: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/opower/coordinator.py:625: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/powerwall/__init__.py:364: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/powerwall/__init__.py:372: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/powerwall/__init__.py:380: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/prometheus/__init__.py:565: error: Returning Any from function declared to return "_MetricBaseT"  [no-any-return]
- homeassistant/components/samsungtv/bridge.py:446: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/samsungtv/bridge.py:457: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/simplisafe/__init__.py:128: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/specialized_turbo/config_flow.py:359: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/specialized_turbo/config_flow.py:422: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/victron_gx/config_flow.py:108: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/vistapool/coordinator.py:58: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/xiaomi_ble/config_flow.py:48: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/auth/__init__.py:609: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/auth/jwt_wrapper.py:45: error: Returning Any from function declared to return "tuple[bytes, bytes, dict[Any, Any], bytes]"  [no-any-return]
- homeassistant/auth/jwt_wrapper.py:108: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/assist_pipeline/pipeline.py:370: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/automation/config.py:107: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/backup/util.py:444: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/blueprint/models.py:118: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/bluetooth/api.py:75: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/bluetooth/api.py:91: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:99: error: Returning Any from function declared to return "Iterable[Any]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:123: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/bluetooth/api.py:131: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:139: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/bluetooth/api.py:218: error: Returning Any from function declared to return "Callable[[], None]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:232: error: Returning Any from function declared to return "Callable[[], None]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:300: error: Returning Any from function declared to return "Callable[[Any], None]"  [no-any-return]
- homeassistant/components/bluetooth/api.py:308: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/bluetooth/api.py:316: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/bluetooth/manager.py:101: error: Trying to assign name "_debug" that is not in "__slots__" of type "homeassistant.components.bluetooth.manager.HomeAssistantBluetoothManager"  [misc]
- homeassistant/components/bluetooth/manager.py:192: error: Trying to assign name "_all_history" that is not in "__slots__" of type "homeassistant.components.bluetooth.manager.HomeAssistantBluetoothManager"  [misc]
- homeassistant/components/bluetooth/manager.py:192: error: Trying to assign name "_connectable_history" that is not in "__slots__" of type "homeassistant.components.bluetooth.manager.HomeAssistantBluetoothManager"  [misc]
- homeassistant/components/bluetooth/update_coordinator.py:72: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/bluetooth/update_coordinator.py:83: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/cloud/account_link.py:148: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/cloud/backup.py:208: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/cloud/google_config.py:329: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/cloud/google_config.py:388: error: Returning Any from function declared to return "HTTPStatus | int"  [no-any-return]
- homeassistant/components/frontend/__init__.py:459: error: Returning Any from function declared to return "Path"  [no-any-return]
- homeassistant/components/frontend/__init__.py:800: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/http/config.py:62: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/http/cors.py:40: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/http/cors.py:70: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/http/cors.py:76: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/light/services.py:35: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/matter/entity.py:379: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/matter/update.py:135: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/matter/update.py:143: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/recorder/db_schema.py:381: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/recorder/db_schema.py:604: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/recorder/history/__init__.py:133: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/history/__init__.py:134: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/history/__init__.py:135: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/history/__init__.py:138: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/history/__init__.py:140: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/history/__init__.py:143: error: Item "CompoundSelect[*tuple[Any, ...]]" of "Subquery[ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]] | CompoundSelect[*tuple[Any, ...]]" has no attribute "c"  [union-attr]
- homeassistant/components/recorder/migration.py:2575: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
- homeassistant/components/recorder/migration.py:2582: error: Returning Any from function declared to return "bytes"  [no-any-return]
- homeassistant/components/recorder/purge.py:598: error: List comprehension has incompatible type List[int]; expected List[str]  [misc]
- homeassistant/components/recorder/purge.py:602: error: Argument 1 has incompatible type "str | None"; expected "str"  [arg-type]
- homeassistant/components/recorder/purge.py:731: error: List comprehension has incompatible type List[int]; expected List[str]  [misc]
- homeassistant/components/recorder/purge.py:735: error: Argument 1 has incompatible type "str | None"; expected "str"  [arg-type]
- homeassistant/components/recorder/table_managers/__init__.py:34: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/script/config.py:123: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/stream/recorder.py:150: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/stream/recorder.py:151: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/tts/__init__.py:1224: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/tts/__init__.py:1225: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/tts/__init__.py:1226: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/update/__init__.py:116: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/usb/serial_proxy_stub.py:86: error: Unpack item in ** parameter must be a TypedDict  [misc]
- homeassistant/components/usb/serial_proxy_stub.py:94: error: Cannot determine type of "_closing"  [has-type]
- homeassistant/components/websocket_api/decorators.py:149: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/config.py:583: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/helpers/config_entry_oauth2_flow.py:913: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/helpers/config_entry_oauth2_flow.py:925: error: Returning Any from function declared to return "dict[str, Any] | None"  [no-any-return]
- homeassistant/helpers/config_validation.py:660: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/helpers/config_validation.py:886: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/helpers/config_validation.py:973: error: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
- homeassistant/helpers/httpx_client.py:128: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/helpers/network.py:377: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/helpers/script.py:1196: error: Returning Any from function declared to return "timedelta"  [no-any-return]
- homeassistant/helpers/service.py:556: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/helpers/template/__init__.py:709: error: Returning Any from function declared to return "type[Any]"  [no-any-return]
- homeassistant/helpers/template/__init__.py:732: error: Class cannot subclass "Undefined" (has type "Any")  [misc]
- homeassistant/helpers/template/__init__.py:750: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/helpers/template/__init__.py:762: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/helpers/template/__init__.py:938: error: Unused "type: ignore[call-overload]" comment  [unused-ignore]
- homeassistant/helpers/template/__init__.py:949: error: Returning Any from function declared to return "CodeType | str"  [no-any-return]
- homeassistant/helpers/template/extensions/functional.py:240: error: Untyped decorator makes function "_random_every_time" untyped  [untyped-decorator]
- homeassistant/helpers/template/extensions/math.py:299: error: Untyped decorator makes function "wrapper" untyped  [untyped-decorator]
- homeassistant/helpers/template/states.py:76: error: Returning Any from function declared to return "TemplateState"  [no-any-return]
- homeassistant/helpers/template/states.py:85: error: Returning Any from function declared to return "TemplateState"  [no-any-return]
- homeassistant/util/yaml/loader.py:63: error: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
- homeassistant/components/bosch_alarm/entity.py:39: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/devolo_home_network/coordinator.py:154: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/devolo_home_network/coordinator.py:210: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/devolo_home_network/coordinator.py:303: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/google_drive/api.py:74: error: Class cannot subclass "AbstractAuth" (has type "Any")  [misc]
- homeassistant/components/google_drive/api.py:121: error: Class cannot subclass "AbstractAuth" (has type "Any")  [misc]
- homeassistant/components/google_drive/api.py:291: error: Returning Any from function declared to return "StreamReader"  [no-any-return]
- homeassistant/components/greeneye_monitor/sensor.py:183: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/greeneye_monitor/sensor.py:227: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/greeneye_monitor/sensor.py:275: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/greeneye_monitor/sensor.py:295: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/heos/coordinator.py:81: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/heos/coordinator.py:288: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/heos/coordinator.py:295: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/heos/coordinator.py:304: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/home_connect/coordinator.py:318: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/homekit/__init__.py:819: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/jvc_projector/coordinator.py:216: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/jvc_projector/coordinator.py:238: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/dpt.py:58: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/dpt.py:84: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/motionmount/config_flow.py:268: error: Returning Any from function declared to return "bool | int"  [no-any-return]
- homeassistant/components/motionmount/config_flow.py:274: error: Returning Any from function declared to return "bool | int"  [no-any-return]
- homeassistant/components/motionmount/config_flow.py:276: error: Returning Any from function declared to return "bool | int"  [no-any-return]
- homeassistant/components/peblar/services.py:141: error: overload def [_P, _T_co] (func: def (*_P.args, **_P.kwargs) -> typing.AsyncIterator[_T_co]) -> def (*_P.args, **_P.kwargs) -> contextlib._AsyncGeneratorContextManager[_T_co, None] of function contextlib.asynccontextmanager is deprecated: Annotating the return type as `-> AsyncIterator[Foo]` with `@asynccontextmanager` is deprecated. Use `-> AsyncGenerator[Foo]` instead.  [deprecated]
- homeassistant/components/solarlog/coordinator.py:120: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/solarlog/coordinator.py:172: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
- homeassistant/components/tibber/sensor.py:873: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/transmission/coordinator.py:258: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/uvc/camera.py:206: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
- homeassistant/components/xbox/coordinator.py:260: error: Returning Any from function declared to return "datetime | None"  [no-any-return]
- homeassistant/components/xbox/coordinator.py:262: error: Returning Any from function declared to return "datetime | None"  [no-any-return]
- homeassistant/components/airthings_ble/config_flow.py:53: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/alexa_devices/config_flow.py:83: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/analytics_insights/coordinator.py:104: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/analytics_insights/coordinator.py:113: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/bring/coordinator.py:44: error: Class cannot subclass "DataClassORJSONMixin" (has type "Any")  [misc]
- homeassistant/components/bring/coordinator.py:52: error: Class cannot subclass "DataClassORJSONMixin" (has type "Any")  [misc]
- homeassistant/components/bthome/config_flow.py:33: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/cloud/ai_task.py:116: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/engie_be/sensor.py:166: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/evohome/coordinator.py:63: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/evohome/coordinator.py:228: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_assistant_sdk/helpers.py:87: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_sheets/services.py:76: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_sheets/services.py:100: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/hyperion/light.py:403: error: Returning Any from function declared to return "dict[str, Any] | None"  [no-any-return]
- homeassistant/components/indevolt/coordinator.py:113: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/iron_os/coordinator.py:125: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/expose.py:135: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/schema.py:174: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/storage/entity_store_validation.py:41: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/storage/entity_store_validation.py:41: error: Returning Any from function declared to return "_ErrorDescription"  [no-any-return]
- homeassistant/components/knx/storage/entity_store_validation.py:41: note: Error code "no-any-return" not covered by "type: ignore[return-value]" comment
- homeassistant/components/knx/storage/expose_controller.py:108: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/storage/knx_selector.py:21: error: Class cannot subclass "All" (has type "Any")  [misc]
- homeassistant/components/knx/telegrams.py:526: error: Returning Any from function declared to return "bool | str | int | float | dict[str, str | int | float | bool]"  [no-any-return]
- homeassistant/components/knx/telegrams.py:528: error: Returning Any from function declared to return "bool | str | int | float | dict[str, str | int | float | bool]"  [no-any-return]
- homeassistant/components/knx/validation.py:62: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/validation.py:63: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/mcp_server/server.py:97: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
- homeassistant/components/mcp_server/server.py:107: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
- homeassistant/components/mcp_server/server.py:128: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
- homeassistant/components/mcp_server/server.py:147: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
- homeassistant/components/mcp_server/server.py:169: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
- homeassistant/components/media_extractor/services.py:98: error: Argument 1 to "YoutubeDL" has incompatible type "dict[str, object]"; expected "_YoutubeDLOptions | None"  [arg-type]
- homeassistant/components/media_extractor/services.py:108: error: Argument 1 to "list" has incompatible type "Iterable[_InfoDict] | PagedList"; expected "Iterable[_InfoDict]"  [arg-type]
- homeassistant/components/media_extractor/services.py:127: error: TypedDict "_InfoDict" has no key "extractor"  [typeddict-item]
- homeassistant/components/media_extractor/services.py:128: error: Argument 1 to "get_best_stream_youtube" has incompatible type "list[dict[str, Any]] | None"; expected "list[dict[str, Any]]"  [arg-type]
- homeassistant/components/media_extractor/services.py:129: error: Argument 1 to "get_best_stream" has incompatible type "list[dict[str, Any]] | None"; expected "list[dict[str, Any]]"  [arg-type]
- homeassistant/components/media_extractor/services.py:189: error: Argument 1 to "YoutubeDL" has incompatible type "dict[str, Any]"; expected "_YoutubeDLOptions | None"  [arg-type]
- homeassistant/components/minecraft_server/api.py:95: error: Item "None" of "Any | None" has no attribute "timeout"  [union-attr]
- homeassistant/components/portainer/services.py:96: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/radarr/coordinator.py:120: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/radarr/coordinator.py:132: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/radarr/coordinator.py:151: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/shelly/utils.py:233: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/shelly/utils.py:283: error: Returning Any from function declared to return "WebSocketResponse[Literal[True]]"  [no-any-return]
- homeassistant/components/shelly/utils.py:339: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/telegram_bot/webhooks.py:108: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/zonneplan/coordinator.py:161: error: Returning Any from function declared to return "tuple[Any | None, Any | None]"  [no-any-return]
- homeassistant/components/zonneplan/coordinator.py:174: error: Returning Any from function declared to return "tuple[Any | None, Any | None]"  [no-any-return]
- homeassistant/components/airgradient/config_flow.py:54: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/evohome/entity.py:43: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/evohome/entity.py:57: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/evohome/entity.py:135: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/evohome/entity.py:167: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/evohome/storage.py:34: error: Class cannot subclass "AbstractTokenManager" (has type "Any")  [misc]
- homeassistant/components/evohome/storage.py:34: error: Class cannot subclass "AbstractSessionManager" (has type "Any")  [misc]
- homeassistant/components/evohome/storage.py:59: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/evohome/storage.py:71: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/evohome/storage.py:90: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/evohome/storage.py:94: error: TypedDict key must be a string literal; expected one of ("session_id", "session_id_expires")  [literal-required]
- homeassistant/components/evohome/storage.py:100: error: Argument 1 to "fromisoformat" of "date" has incompatible type "object"; expected "str"  [arg-type]
- homeassistant/components/ghost/config_flow.py:164: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/home_connect/entity.py:121: error: Returning Any from function declared to return "str | int | float | bool | None"  [no-any-return]
- homeassistant/components/knx/binary_sensor.py:113: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/climate.py:406: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/climate.py:412: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/climate.py:542: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/knx/climate.py:572: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/knx/climate.py:628: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/cover.py:153: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/cover.py:163: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/knx/cover.py:169: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/cover.py:175: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/cover.py:203: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/fan.py:173: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/fan.py:187: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/knx/fan.py:214: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/knx/light.py:343: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/light.py:345: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/light.py:349: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/light.py:351: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/light.py:352: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/light.py:368: error: Returning Any from function declared to return "tuple[int, int, int] | None"  [no-any-return]
- homeassistant/components/knx/light.py:395: error: Returning Any from function declared to return "tuple[float, float] | None"  [no-any-return]
- homeassistant/components/knx/light.py:402: error: Returning Any from function declared to return "tuple[float, float] | None"  [no-any-return]
- homeassistant/components/knx/trigger.py:111: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/knx/weather.py:82: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/weather.py:88: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/weather.py:94: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/knx/weather.py:100: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/weather.py:106: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/knx/weather.py:112: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/logbook/models.py:84: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/logbook/models.py:94: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/ouman_eh_800/coordinator.py:115: error: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
- homeassistant/components/tedee/coordinator.py:94: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
- homeassistant/components/teslemetry/coordinator.py:117: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/uptime_kuma/coordinator.py:88: error: Returning Any from function declared to return "dict[str | int, Any]"  [no-any-return]
- homeassistant/components/usage_prediction/common_control.py:158: error: Incompatible types in assignment (expression has type "bytes | None", variable has type "bytes")  [assignment]
- homeassistant/components/usage_prediction/common_control.py:158: error: Incompatible types in assignment (expression has type "float | None", variable has type "float")  [assignment]
- homeassistant/components/xbox/remote.py:125: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/anthropic/coordinator.py:103: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/aranet/config_flow.py:23: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/energyzero/coordinator.py:51: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/energyzero/coordinator.py:83: error: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
- homeassistant/components/evohome/climate.py:213: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/evohome/climate.py:231: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/evohome/climate.py:248: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/evohome/climate.py:257: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/freshr/coordinator.py:128: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/fyta/coordinator.py:74: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
- homeassistant/components/google_cloud/helpers.py:8: error: Module "google.cloud" has no attribute "texttospeech"  [attr-defined]
- homeassistant/components/google_cloud/helpers.py:74: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_cloud/helpers.py:98: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_cloud/helpers.py:184: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_cloud/stt.py:9: error: Module "google.cloud" has no attribute "speech_v1"  [attr-defined]
- homeassistant/components/knx/datetime.py:97: error: Returning Any from function declared to return "datetime | None"  [no-any-return]
- homeassistant/components/knx/switch.py:89: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/knx/text.py:106: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/lacrosse_view/config_flow.py:43: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/lunatone/light.py:161: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/lunatone/sensor.py:182: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/madvr/config_flow.py:126: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/music_assistant/media_player.py:162: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/music_assistant/media_player.py:169: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/music_assistant/media_player.py:935: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/music_assistant/media_player.py:1125: error: Returning Any from function declared to return "tuple[bytes | None, str | None]"  [no-any-return]
- homeassistant/components/netatmo/entity.py:118: error: Returning Any from function declared to return "tuple[str, str]"  [no-any-return]
- homeassistant/components/nobo_hub/config_flow.py:327: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/paperless_ngx/config_flow.py:134: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/rainforest_raven/coordinator.py:86: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/shelly/entity.py:634: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/sonarr/coordinator.py:132: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/steamist/discovery.py:28: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/anthropic/entity.py:323: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:351: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:370: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:378: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:399: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:405: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:424: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:432: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:601: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:807: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:1099: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:1285: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/anthropic/entity.py:1296: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/energyzero/sensor.py:190: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/google_cloud/config_flow.py:7: error: Module "google.cloud" has no attribute "texttospeech"  [attr-defined]
- homeassistant/components/google_cloud/tts.py:9: error: Module "google.cloud" has no attribute "texttospeech"  [attr-defined]
- homeassistant/components/google_cloud/tts.py:179: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/google_cloud/tts.py:182: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/hdfury/config_flow.py:135: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/home_connect/climate.py:197: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/home_connect/climate.py:207: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/home_connect/climate.py:217: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/knx/date.py:92: error: Returning Any from function declared to return "date | None"  [no-any-return]
- homeassistant/components/knx/time.py:92: error: Returning Any from function declared to return "time | None"  [no-any-return]
- homeassistant/components/lamarzocco/switch.py:244: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/lamarzocco/update.py:86: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/lamarzocco/update.py:97: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/lamarzocco/update.py:112: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/shelly/camera.py:109: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/shelly/camera.py:149: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
- homeassistant/components/shelly/climate.py:147: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/shelly/cover.py:174: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/shelly/cover.py:183: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/shelly/update.py:480: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/tankerkoenig/config_flow.py:47: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
- homeassistant/components/elgato/coordinator.py:114: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
- homeassistant/components/jvc_projector/config_flow.py:125: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/peco/coordinator.py:109: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/radarr/config_flow.py:119: error: Returning Any from function declared to return "tuple[str, str, str] | None"  [no-any-return]
- homeassistant/components/surepetcare/coordinator.py:65: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
- homeassistant/components/victron_gx/entity.py:112: error: Returning Any from function declared to return "str | None"  [no-any-return]
- homeassistant/components/vitesy/coordinator.py:27: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/vitesy/coordinator.py:30: error: overload def [_P, _T_co] (func: def (*_P.args, **_P.kwargs) -> typing.Iterator[_T_co]) -> def (*_P.args, **_P.kwargs) -> contextlib._GeneratorContextManager[_T_co, None, None] of function contextlib.contextmanager is deprecated: Annotating the return type as `-> Iterator[Foo]` with `@contextmanager` is deprecated. Use `-> Generator[Foo]` instead.  [deprecated]
- homeassistant/components/vitesy/coordinator.py:89: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/droplet/coordinator.py:83: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/google_photos/coordinator.py:83: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/google_sheets/config_flow.py:61: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/notion/binary_sensor.py:142: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/openuv/__init__.py:54: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
- homeassistant/components/paperless_ngx/__init__.py:70: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/switchbee/config_flow.py:48: error: Returning Any from function declared to return "str"  [no-any-return]
- homeassistant/components/switchbee/coordinator.py:107: error: Returning Any from function declared to return "Mapping[int, Any]"  [no-any-return]
- homeassistant/components/actron_air/climate.py:112: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:118: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:146: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:152: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:158: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:221: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:227: error: Returning Any from function declared to return "float"  [no-any-return]
- homeassistant/components/actron_air/climate.py:242: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/actron_air/climate.py:248: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/actron_air/climate.py:254: error: Returning Any from function declared to return "float | None"  [no-any-return]
- homeassistant/components/apple_tv/__init__.py:131: error: Class cannot subclass "DeviceListener" (has type "Any")  [misc]
- homeassistant/components/apple_tv/__init__.py:320: error: Unused "type: ignore" comment  [unused-ignore]
- homeassistant/components/lifx/light.py:245: error: Returning Any from function declared to return "int"  [no-any-return]
- homeassistant/components/lifx/light.py:251: error: Returning Any from function declared to return "int | None"  [no-any-return]
- homeassistant/components/lifx/light.py:257: error: Returning Any from function declared to return "bool"  [no-any-return]
- homeassistant/components/miele/sensor.py:1074: error: Returning Any from function declared to return "str | int | float | None"  [no-any-return]
- homeassistant/components/miele/sensor.py:1084: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1192: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1200: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1206: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1207: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1208: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1239: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1245: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1246: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1247: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1281: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1282: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1283: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1284: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1285: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1286: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1297: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1305: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/sensor.py:1313: error: "int" has no attribute "name"  [attr-defined]
- homeassistant/components/miele/switch.py:59: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/switch.py:60: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/switch.py:75: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/switch.py:76: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/switch.py:190: error: Returning Any from function declared to return "bool | None"  [no-any-return]
- homeassistant/components/miele/vacuum.py:66: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object"  [call-arg]
- homeassistant/components/miele/vacuum.py:66: error: Class cannot subclass "MieleEnum" (has type "Any")  [misc]
- homeassistant/components/miele/vacuum.py:141: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:142: error: "tuple[int, int]" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:143: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:144: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:145: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:146: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:147: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:148: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:149: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:150: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:151: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:152: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:153: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacuum.py:154: error: "int" has no attribute "value"  [attr-defined]
- homeassistant/components/miele/vacu

... (truncated 3194 lines) ...

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant