home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.05k stars 29.71k forks source link

Hundreds of mypy errors in freshly cloned codebase #109006

Closed Xiretza closed 4 months ago

Xiretza commented 7 months ago

The problem

Following the instructions on https://developers.home-assistant.io/docs/development_testing/, mypy reports hundreds of errors in freshly cloned files, which makes it impossible to find errors in your actual contribution:

$ python --version
Python 3.11.6
$ git rev-parse HEAD
f2100f80c4fa42db0accd6bb93e28d06d03cd052
$ python -m venv --prompt hassio .venv
$ source .venv/bin/activate.fish
$ script/setup
[...]
$ git switch -c some-feature-branch
$ pre-commit run --all-files
ruff.....................................................................Passed
ruff-format..............................................................Passed
codespell................................................................Passed
check json...............................................................Passed
don't commit to branch...................................................Passed
yamllint.................................................................Passed
prettier.................................................................Passed
mypy.....................................................................Failed
- hook id: mypy
- exit code: 2

mypy: can't read file '/home/lambda/dev/misc/home-assistant-core/.venv/lib/python3.11/site-packages//google': No such file or directory
homeassistant/components/owntracks/helper.py:5: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/ssdp/__init__.py:643: error: Class cannot subclass "UpnpServerDevice" (has type "Any")  [misc]
homeassistant/components/tedee/coordinator.py:92: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
homeassistant/components/tailscale/coordinator.py:37: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/switchbee/coordinator.py:100: error: Returning Any from function declared to return "Mapping[int, Any]"  [no-any-return]
homeassistant/components/switchbee/config_flow.py:50: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/surepetcare/__init__.py:133: error: Returning Any from function declared to return "dict[int, Any]"  [no-any-return]
homeassistant/components/steamist/discovery.py:29: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/sonarr/coordinator.py:110: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/snooz/config_flow.py:195: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/simplisafe/__init__.py:271: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/shelly/utils.py:111: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/shelly/utils.py:250: error: Returning Any from function declared to return "WebSocketResponse"  [no-any-return]
homeassistant/components/shelly/utils.py:310: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/senz/api.py:10: error: Class cannot subclass "AbstractSENZAuth" (has type "Any")  [misc]
homeassistant/components/samsungtv/bridge.py:414: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/samsungtv/bridge.py:425: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recollect_waste/__init__.py:42: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/rainforest_raven/coordinator.py:85: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/rainforest_raven/coordinator.py:92: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/rainforest_raven/coordinator.py:99: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/rainforest_raven/coordinator.py:106: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/rainforest_raven/coordinator.py:113: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/radarr/config_flow.py:117: error: Returning Any from function declared to return "tuple[str, str, str] | None"  [no-any-return]
homeassistant/components/qnap_qsw/coordinator.py:44: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/qnap_qsw/coordinator.py:68: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/purpleair/coordinator.py:78: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/overkiz/config_flow.py:414: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/oncue/entity.py:60: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/oncue/__init__.py:36: error: Need type annotation for "coordinator"  [var-annotated]
homeassistant/components/notion/__init__.py:195: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/nest/api.py:29: error: Class cannot subclass "AbstractAuth" (has type "Any")  [misc]
homeassistant/components/nest/api.py:72: error: Class cannot subclass "AbstractAuth" (has type "Any")  [misc]
homeassistant/components/linear_garage_door/coordinator.py:74: error: Item "None" of "list[dict[str, list[str] | str]] | None" has no attribute "__iter__" (not iterable)  [union-attr]
homeassistant/components/lidarr/coordinator.py:87: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/lidarr/config_flow.py:111: error: Returning Any from function declared to return "tuple[str, str, str] | None"  [no-any-return]
homeassistant/components/tolo/select.py:46: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/tolo/light.py:43: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tolo/fan.py:42: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tolo/button.py:47: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tolo/binary_sensor.py:50: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tolo/binary_sensor.py:72: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tile/device_tracker.py:125: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/tile/device_tracker.py:132: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/tailwind/diagnostics.py:18: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/snooz/fan.py:112: error: Returning Any from function declared to return "Callable[[], None]"  [no-any-return]
homeassistant/components/shelly/coordinator.py:125: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/recorder/pool.py:57: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/recorder/pool.py:98: error: Class cannot subclass "StaticPool" (has type "Any")  [misc]
homeassistant/components/radarr/coordinator.py:100: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/radarr/coordinator.py:108: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/radarr/coordinator.py:124: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/pvoutput/diagnostics.py:18: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/powerwall/__init__.py:254: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/openuv/__init__.py:56: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/openexchangerates/sensor.py:67: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/notion/sensor.py:90: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/notion/sensor.py:91: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/notion/binary_sensor.py:143: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/nanoleaf/light.py:85: error: Returning Any from function declared to return "list[str]"  [no-any-return]
homeassistant/components/nanoleaf/light.py:90: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/local_calendar/calendar.py:199: error: No overload variant of "__sub__" of "datetime" matches argument type "date"  [operator]
homeassistant/components/local_calendar/calendar.py:199: note: Possible overload variants:
homeassistant/components/local_calendar/calendar.py:199: note:     def __sub__(self, timedelta, /) -> datetime
homeassistant/components/local_calendar/calendar.py:199: note:     def __sub__(self, datetime, /) -> timedelta
homeassistant/components/local_calendar/calendar.py:199: note: Both left and right operands are unions
homeassistant/components/tplink_omada/update.py:120: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/tolo/climate.py:71: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/tolo/climate.py:76: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/tolo/climate.py:81: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/tolo/climate.py:86: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/tedee/lock.py:60: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tedee/lock.py:65: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tedee/lock.py:70: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tedee/lock.py:75: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/tailwind/cover.py:54: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/switchbee/climate.py:168: error: Dict entry 0 has incompatible type "Any": "str | None"; expected "str": "int | str"  [dict-item]
homeassistant/components/stream/core.py:484: error: Call to untyped function <lambda> in typed context  [no-untyped-call]
homeassistant/components/steamist/switch.py:40: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/skybell/light.py:55: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/skybell/light.py:65: error: Returning Any from function declared to return "tuple[int, int, int] | None"  [no-any-return]
homeassistant/components/shelly/entity.py:565: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/shelly/config_flow.py:353: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/sfr_box/diagnostics.py:31: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/sfr_box/diagnostics.py:37: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/sfr_box/diagnostics.py:43: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/sfr_box/diagnostics.py:49: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/senz/climate.py:74: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/senz/climate.py:79: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/senz/climate.py:84: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/sensibo/climate.py:219: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/sensibo/climate.py:280: error: Returning Any from function declared to return "list[str] | None"  [no-any-return]
homeassistant/components/sensibo/climate.py:293: error: Returning Any from function declared to return "list[str] | None"  [no-any-return]
homeassistant/components/ridwell/switch.py:56: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/ridwell/sensor.py:87: error: Returning Any from function declared to return "date"  [no-any-return]
homeassistant/components/reolink/host.py:444: error: Parameter 1 of Literal[...] cannot be of type "Any"  [valid-type]
homeassistant/components/radarr/__init__.py:99: error: Redundant cast to "StatusDataUpdateCoordinator"  [redundant-cast]
homeassistant/components/powerwall/sensor.py:52: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/powerwall/sensor.py:57: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/powerwall/sensor.py:62: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/powerwall/sensor.py:67: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/powerwall/sensor.py:257: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/powerwall/sensor.py:277: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/powerwall/config_flow.py:45: error: Returning Any from function declared to return "tuple[Any, str]"  [no-any-return]
homeassistant/components/powerwall/binary_sensor.py:60: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/powerwall/binary_sensor.py:77: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/powerwall/binary_sensor.py:141: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/plugwise/sensor.py:449: error: Returning Any from function declared to return "int | float"  [no-any-return]
homeassistant/components/plugwise/select.py:101: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/plugwise/binary_sensor.py:125: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/nest/climate.py:139: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/nest/climate.py:147: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/nest/climate.py:149: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/nest/climate.py:159: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/nest/climate.py:168: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/matter/entity.py:175: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/matter/light.py:119: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/matter/light.py:206: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/litterrobot/update.py:56: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/litterrobot/update.py:61: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/litterrobot/sensor.py:69: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/litterrobot/select.py:51: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/litterrobot/binary_sensor.py:51: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/litterrobot/binary_sensor.py:69: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/lidarr/sensor.py:163: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/skybell/camera.py:61: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
homeassistant/components/shelly/cover.py:107: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/shelly/cover.py:115: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/rtsp_to_webrtc/__init__.py:75: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/recorder/db_schema.py:66: error: Class cannot subclass "DeclarativeBase" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:138: error: Class cannot subclass "DateTime" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:142: error: Class cannot subclass "CHAR" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:146: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:147: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:153: error: Unused "type: ignore[no-untyped-call]" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:159: error: Class cannot subclass "DATETIME" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:167: error: Class cannot subclass "LargeBinary" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:178: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:183: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:187: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:192: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:193: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:197: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:212: error: Class cannot subclass "JSON" (has type "Any")  [misc]
homeassistant/components/recorder/db_schema.py:372: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/recorder/db_schema.py:532: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/db_schema.py:597: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/plugwise/switch.py:94: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/plugwise/number.py:117: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/plugwise/climate.py:100: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/plugwise/climate.py:109: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/plugwise/climate.py:117: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/plugwise/climate.py:125: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/plugwise/climate.py:185: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/hitachi_dhw.py:51: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/hitachi_dhw.py:61: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:79: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:85: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:104: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:113: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:122: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:128: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:138: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:146: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:182: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:187: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:198: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:204: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:208: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:219: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py:229: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/atlantic_pass_apc_dhw.py:80: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/atlantic_pass_apc_dhw.py:88: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/water_heater_entities/atlantic_pass_apc_dhw.py:96: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/siren.py:48: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/sensor.py:503: error: Returning Any from function declared to return "str | int | float | None"  [no-any-return]
homeassistant/components/overkiz/lock.py:47: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/light.py:61: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/overkiz/cover_entities/generic_cover.py:84: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/valve_heating_temperature_interface.py:93: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/somfy_heating_temperature_interface.py:158: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/somfy_heating_temperature_interface.py:165: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/hitachi_air_to_air_heat_pump_hlrrwifi.py:174: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/hitachi_air_to_air_heat_pump_hlrrwifi.py:182: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/hitachi_air_to_air_heat_pump_hlrrwifi.py:219: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py:135: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py:142: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/open_meteo/weather.py:74: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/open_meteo/weather.py:81: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/open_meteo/weather.py:88: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
homeassistant/components/nibe_heatpump/number.py:69: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/nest/camera.py:134: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/nest/camera.py:213: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/roku/select.py:37: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/recorder/filters.py:200: error: Unused "type: ignore[no-any-return, no-untyped-call]" comment  [unused-ignore]
homeassistant/components/recorder/filters.py:218: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/filters.py:228: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/filters.py:247: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/otbr/util.py:101: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
homeassistant/components/otbr/util.py:108: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/otbr/util.py:118: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
homeassistant/components/otbr/util.py:123: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
homeassistant/components/otbr/util.py:130: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/otbr/util.py:135: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/otbr/util.py:152: error: Returning Any from function declared to return "bytes"  [no-any-return]
homeassistant/components/nest/media_source.py:97: error: Class cannot subclass "EventMediaStore" (has type "Any")  [misc]
homeassistant/components/nest/diagnostics.py:39: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/nest/diagnostics.py:72: error: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
homeassistant/components/recorder/util.py:485: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/util.py:486: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/util.py:488: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/table_managers/statistics_meta.py:61: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/table_managers/statistics_meta.py:62: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/table_managers/statistics_meta.py:64: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/table_managers/statistics_meta.py:65: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/table_managers/statistics_meta.py:143: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/recorder/statistics.py:1153: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/auto_repairs/schema.py:106: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:537: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:544: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:547: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:571: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:1264: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/recorder/migration.py:1295: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/tibber/sensor.py:465: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/roku/browse_media.py:56: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/recorder/history/modern.py:578: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/roku/media_player.py:138: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/roku/media_player.py:183: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/roku/media_player.py:189: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/roku/media_player.py:197: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/roku/media_player.py:218: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/roku/media_player.py:226: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/roku/media_player.py:234: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/roku/media_player.py:242: error: Returning Any from function declared to return "datetime | None"  [no-any-return]
homeassistant/components/roku/media_player.py:250: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/otbr/silabs_multiprotocol.py:75: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/netatmo/api.py:28: error: Class cannot subclass "AbstractAsyncAuth" (has type "Any")  [misc]
Found 234 errors in 115 files (checked 2804 source files)
homeassistant/components/zeroconf/models.py:7: error: Class cannot subclass "Zeroconf" (has type "Any")  [misc]
homeassistant/components/zeroconf/models.py:16: error: Class cannot subclass "AsyncZeroconf" (has type "Any")  [misc]
homeassistant/helpers/network.py:312: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/zeroconf/usage.py:33: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/zeroconf/usage.py:34: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/vallox/__init__.py:133: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/vallox/__init__.py:138: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/transmission/coordinator.py:161: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/workday/binary_sensor.py:106: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/wemo/entity.py:91: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/unifiprotect/utils.py:118: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/unifiprotect/discovery.py:55: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/unifi/entity.py:97: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/entity.py:114: error: "UnifiDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/entity.py:118: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/entity.py:121: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/entity.py:128: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/zwave_js/update.py:259: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/zwave_js/discovery_data_template.py:573: error: Redundant cast to "Any | None"  [redundant-cast]
homeassistant/components/zwave_js/api.py:128: error: Parameter 1 of Literal[...] cannot be of type "Any"  [valid-type]
homeassistant/components/wemo/switch.py:100: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/wemo/light.py:91: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/wemo/light.py:101: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/wemo/light.py:117: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/wemo/light.py:122: error: Returning Any from function declared to return "tuple[float, float] | None"  [no-any-return]
homeassistant/components/wemo/light.py:127: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/wemo/light.py:160: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/wemo/binary_sensor.py:47: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/switch.py:37: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/select.py:48: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/velbus/light.py:59: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/light.py:116: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/cover.py:60: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/velbus/cover.py:65: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/cover.py:70: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/velbus/cover.py:81: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/velbus/climate.py:48: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/velbus/climate.py:65: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/velbus/binary_sensor.py:34: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/unifiprotect/data.py:77: error: Variable "homeassistant.components.unifiprotect.data.ProtectDeviceType" is not valid as a type  [valid-type]
homeassistant/components/unifiprotect/data.py:77: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
homeassistant/components/unifiprotect/data.py:230: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/unifiprotect/data.py:286: error: Variable "homeassistant.components.unifiprotect.data.ProtectDeviceType" is not valid as a type  [valid-type]
homeassistant/components/unifiprotect/data.py:286: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
homeassistant/components/unifiprotect/data.py:302: error: Variable "homeassistant.components.unifiprotect.data.ProtectDeviceType" is not valid as a type  [valid-type]
homeassistant/components/unifiprotect/data.py:302: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
homeassistant/components/unifiprotect/data.py:313: error: Variable "homeassistant.components.unifiprotect.data.ProtectDeviceType" is not valid as a type  [valid-type]
homeassistant/components/unifiprotect/data.py:313: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
homeassistant/components/unifiprotect/data.py:316: error: ProtectDeviceType? has no attribute "mac"  [attr-defined]
homeassistant/components/unifiprotect/data.py:319: error: ProtectDeviceType? has no attribute "name"  [attr-defined]
homeassistant/components/unifiprotect/data.py:319: error: ProtectDeviceType? has no attribute "mac"  [attr-defined]
homeassistant/components/unifiprotect/data.py:320: error: ProtectDeviceType? has no attribute "mac"  [attr-defined]
homeassistant/components/unifi/update.py:54: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/update.py:97: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/switch.py:184: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/switch.py:194: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/switch.py:195: error: "UnifiSwitchEntityDescriptionMixin" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/switch.py:204: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:225: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:244: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:262: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:282: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:303: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/switch.py:371: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/switch.py:374: error: "UnifiSwitchEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/sensor.py:74: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/unifi/sensor.py:75: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/unifi/sensor.py:82: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/unifi/sensor.py:83: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/unifi/sensor.py:127: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/unifi/sensor.py:151: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/sensor.py:166: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/sensor.py:167: error: "UnifiSensorEntityDescriptionMixin" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/sensor.py:175: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:197: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:219: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:239: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:258: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:276: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:295: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:315: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:335: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:353: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:372: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/sensor.py:405: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/sensor.py:408: error: "UnifiSensorEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/image.py:36: error: Returning Any from function declared to return "bytes"  [no-any-return]
homeassistant/components/unifi/image.py:40: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/image.py:50: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/image.py:51: error: "UnifiImageEntityDescriptionMixin" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/image.py:57: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/image.py:95: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/image.py:98: error: "UnifiImageEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/image.py:108: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/device_tracker.py:141: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/device_tracker.py:152: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/device_tracker.py:153: error: "UnifiEntityTrackerDescriptionMixin" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/device_tracker.py:159: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/device_tracker.py:183: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/device_tracker.py:241: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/button.py:61: error: Free type variable expected in Generic[...]  [misc]
homeassistant/components/unifi/button.py:70: error: "UnifiEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/button.py:71: error: "UnifiButtonEntityDescriptionMixin" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/button.py:77: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/button.py:95: error: Type application has too many types (1 expected)  [misc]
homeassistant/components/unifi/button.py:132: error: "UnifiEntity" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/unifi/button.py:135: error: "UnifiButtonEntityDescription" expects 1 type argument, but 2 given  [type-arg]
homeassistant/components/wled/switch.py:187: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/wled/select.py:94: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/wled/select.py:126: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/wled/select.py:170: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/wled/light.py:66: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/wled/light.py:148: error: Returning Any from function declared to return "tuple[int, int, int] | None"  [no-any-return]
homeassistant/components/wled/light.py:161: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/wled/light.py:175: error: Returning Any from function declared to return "int | None"  [no-any-return]
homeassistant/components/unifiprotect/text.py:35: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/unifiprotect/text.py:36: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/unifiprotect/sensor.py:86: error: Returning Any from function declared to return "datetime | None"  [no-any-return]
homeassistant/components/unifiprotect/sensor.py:100: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/unifiprotect/sensor.py:777: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/unifiprotect/select.py:139: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/unifiprotect/select.py:145: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/unifiprotect/lock.py:118: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/unifiprotect/lock.py:123: error: Returning Any from function declared to return "None"  [no-any-return]
homeassistant/components/unifiprotect/camera.py:118: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/tts/__init__.py:900: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/tts/__init__.py:904: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/tts/__init__.py:908: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/zwave_js/sensor.py:637: error: Returning Any from function declared to return "str | int | float | None"  [no-any-return]
homeassistant/components/zwave_js/sensor.py:967: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/zwave_js/lock.py:137: error: Returning Any from function declared to return "bool | None"  [no-any-return]
homeassistant/components/zwave_js/cover.py:132: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:138: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:236: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:242: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:393: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:398: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/cover.py:403: error: Returning Any from function declared to return "int"  [no-any-return]
homeassistant/components/zwave_js/climate.py:259: error: Returning Any from function declared to return "list[Any]"  [no-any-return]
homeassistant/components/withings/calendar.py:65: error: Returning Any from function declared to return "str"  [no-any-return]
Found 136 errors in 43 files (checked 1003 source files)

pylint...................................................................^C

(I had to kill it at that point because it spawned hundreds of pylint processes that ate all my RAM)

What version of Home Assistant Core has the issue?

f2100f80c4fa42db0accd6bb93e28d06d03cd052

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

mib1185 commented 7 months ago

you might want to install all test dependencies first

pip3 install -r requirements_test_all
Xiretza commented 7 months ago

I did pip3 install -r requirements_test_all.txt, and it helps some, but there are still errors:

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

homeassistant/components/evohome/__init__.py:454: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/evohome/__init__.py:465: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/evohome/__init__.py:469: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/evohome/__init__.py:498: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/evohome/__init__.py:664: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/evohome/climate.py:223: error: Returning Any from function declared to return "str | None"  [no-any-return]
homeassistant/components/evohome/climate.py:239: error: Returning Any from function declared to return "float | None"  [no-any-return]
homeassistant/components/evohome/climate.py:258: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/evohome/climate.py:268: error: Returning Any from function declared to return "float"  [no-any-return]
homeassistant/components/evohome/climate.py:402: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/amcrest/camera.py:209: error: Returning Any from function declared to return "bytes | None"  [no-any-return]
homeassistant/components/amcrest/camera.py:492: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/amcrest/camera.py:494: error: Unused "type: ignore" comment  [unused-ignore]
homeassistant/components/amcrest/camera.py:529: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/amcrest/camera.py:550: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/amcrest/camera.py:569: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/amcrest/camera.py:582: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/amcrest/camera.py:619: error: Returning Any from function declared to return "bool"  [no-any-return]
homeassistant/components/amcrest/camera.py:640: error: Returning Any from function declared to return "str"  [no-any-return]
homeassistant/components/amcrest/__init__.py:131: error: Class cannot subclass "ApiWrapper" (has type "Any")  [misc]
homeassistant/components/amcrest/__init__.py:206: error: Returning Any from function declared to return "Response"  [no-any-return]
homeassistant/components/google_cloud/tts.py:6: error: Module "google.cloud" has no attribute "texttospeech"  [attr-defined]
Found 22 errors in 5 files (checked 2776 source files)
Success: no issues found in 2804 source files
Success: no issues found in 1003 source files
codyc1515 commented 7 months ago

https://github.com/home-assistant/core/pull/109089 Merely changes a comment at the top of a file and that is failing on the same error too. Something is very broken with CI.

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.