Created
April 15, 2021 19:37
-
-
Save KapJI/f4eb10fb122834400e7120d94ddac9c7 to your computer and use it in GitHub Desktop.
All mypy errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found 3258 errors in 599 files (checked 3869 source files) | |
homeassistant/components/adguard/config_flow.py:104: error: Signature of "async_step_hassio" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/adguard/config_flow.py:122: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:141: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:155: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:156: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:167: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:168: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:170: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:171: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:36: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:55: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:57: error: Value of type "None" is not indexable [index] | |
homeassistant/components/adguard/config_flow.py:62: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/adguard/config_flow.py:67: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/config_flow.py:92: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/adguard/sensor.py:144: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/adguard/sensor.py:217: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/adguard/sensor.py:49: error: Argument 1 has incompatible type "List[AdGuardHomeSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/adguard/sensor.py:49: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/adguard/sensor.py:49: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/adguard/switch.py:48: error: Argument 1 has incompatible type "List[AdGuardHomeSwitch]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/adguard/switch.py:48: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/adguard/switch.py:48: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/aemet/weather_update_coordinator.py:103: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/aemet/weather_update_coordinator.py:111: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/airly/air_quality.py:79: error: Decorated property not supported [misc] | |
homeassistant/components/airly/air_quality.py:85: error: Decorated property not supported [misc] | |
homeassistant/components/airly/air_quality.py:91: error: Decorated property not supported [misc] | |
homeassistant/components/alarmdecoder/alarm_control_panel.py:61: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/alarmdecoder/alarm_control_panel.py:69: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/alarmdecoder/const.py:35: error: Need type annotation for 'DEFAULT_ZONE_OPTIONS' (hint: "DEFAULT_ZONE_OPTIONS: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/alexa/capabilities.py:103: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/alexa/errors.py:105: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:106: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:112: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:113: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:119: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:120: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:38: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:39: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:51: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:52: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:58: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:59: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:65: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:66: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:84: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:85: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:91: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:92: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:98: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/errors.py:99: error: Incompatible types in assignment (expression has type "str", base class "AlexaError" defined the type as "None") [assignment] | |
homeassistant/components/alexa/handlers.py:1009: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1043: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1077: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:115: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1168: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1283: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1335: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1366: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1408: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1433: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1434: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1435: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1446: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1469: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:1492: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:149: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:186: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:203: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:230: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:251: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:268: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:287: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:306: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:330: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:354: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:373: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:396: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:415: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:439: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:457: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:501: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:529: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:561: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:562: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:579: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:592: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:605: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:618: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:631: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:663: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:723: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:760: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:76: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:823: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:829: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:848: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:871: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:912: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:947: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:95: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/alexa/handlers.py:996: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/almond/__init__.py:176: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload] | |
homeassistant/components/almond/__init__.py:176: note: def __getitem__(self, int) -> Any | |
homeassistant/components/almond/__init__.py:176: note: def __getitem__(self, slice) -> List[Any] | |
homeassistant/components/almond/__init__.py:176: note: Possible overload variants: | |
homeassistant/components/almond/__init__.py:180: error: No overload variant of "__setitem__" of "list" matches argument types "str", "str" [call-overload] | |
homeassistant/components/almond/__init__.py:180: note: def __setitem__(self, int, Any) -> None | |
homeassistant/components/almond/__init__.py:180: note: def __setitem__(self, slice, Iterable[Any]) -> None | |
homeassistant/components/almond/__init__.py:180: note: Possible overload variants: | |
homeassistant/components/almond/__init__.py:209: error: Incompatible types in assignment (expression has type "ClientError", variable has type "str") [assignment] | |
homeassistant/components/almond/config_flow.py:67: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/almond/config_flow.py:76: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/almond/config_flow.py:82: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/almond/config_flow.py:84: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/almond/config_flow.py:88: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/almond/config_flow.py:92: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/almond/config_flow.py:94: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/amcrest/binary_sensor.py:66: error: Value expression in dictionary comprehension has incompatible type "Dict[str, Optional[str]]"; expected type "Tuple[str, str, Optional[str]]" [misc] | |
homeassistant/components/analytics/__init__.py:37: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, None]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/analytics/__init__.py:37: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/analytics/__init__.py:53: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, None]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/analytics/__init__.py:53: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/analytics/analytics.py:103: error: Unsupported target for indexed assignment ("object") [index] | |
homeassistant/components/analytics/analytics.py:108: error: "object" has no attribute "update" [attr-defined] | |
homeassistant/components/analytics/analytics.py:65: error: "object" has no attribute "get" [attr-defined] | |
homeassistant/components/analytics/analytics.py:66: error: "object" has no attribute "get" [attr-defined] | |
homeassistant/components/analytics/analytics.py:67: error: "object" has no attribute "get" [attr-defined] | |
homeassistant/components/analytics/analytics.py:68: error: "object" has no attribute "get" [attr-defined] | |
homeassistant/components/analytics/analytics.py:74: error: Incompatible return value type (got "object", expected "bool") [return-value] | |
homeassistant/components/analytics/analytics.py:79: error: Incompatible return value type (got "object", expected "bool") [return-value] | |
homeassistant/components/analytics/analytics.py:90: error: Incompatible types in assignment (expression has type "Union[Dict[Any, Any], List[Any]]", variable has type "Dict[str, object]") [assignment] | |
homeassistant/components/analytics/analytics.py:99: error: Unsupported target for indexed assignment ("object") [index] | |
homeassistant/components/asuswrt/device_tracker.py:102: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/asuswrt/device_tracker.py:102: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/asuswrt/device_tracker.py:23: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/asuswrt/device_tracker.py:82: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/asuswrt/device_tracker.py:82: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/asuswrt/router.py:203: error: Incompatible types in assignment (expression has type "None", variable has type "AsusWrtSensorDataHandler") [assignment] | |
homeassistant/components/asuswrt/router.py:206: error: Need type annotation for '_on_close' (hint: "_on_close: List[<type>] = ...") [var-annotated] | |
homeassistant/components/asuswrt/router.py:217: error: Argument 1 to "get_api" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/asuswrt/sensor.py:109: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/asuswrt/sensor.py:109: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/asuswrt/sensor.py:131: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/asuswrt/sensor.py:133: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/asuswrt/sensor.py:135: error: Incompatible return value type (got "float", expected "str") [return-value] | |
homeassistant/components/asuswrt/sensor.py:135: error: Unsupported left operand type for / ("Number") [operator] | |
homeassistant/components/asuswrt/sensor.py:164: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/asuswrt/sensor.py:164: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/asuswrt/sensor.py:169: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/asuswrt/sensor.py:169: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/atag/__init__.py:91: error: Item "None" of "Optional[Any]" has no attribute "id" [union-attr] | |
homeassistant/components/atag/__init__.py:92: error: Item "None" of "Optional[Any]" has no attribute "apiversion" [union-attr] | |
homeassistant/components/atag/climate.py:101: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:46: error: Return type "Optional[str]" of "hvac_mode" incompatible with return type "str" in supertype "ClimateEntity" [override] | |
homeassistant/components/atag/climate.py:48: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:49: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:60: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:64: error: Return type "Optional[str]" of "temperature_unit" incompatible with return type "str" in supertype "ClimateEntity" [override] | |
homeassistant/components/atag/climate.py:66: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:71: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:76: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:81: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:91: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/atag/climate.py:96: error: Item "None" of "Optional[Any]" has no attribute "climate" [union-attr] | |
homeassistant/components/aurora/__init__.py:147: error: "DataUpdateCoordinator[Any]" has no attribute "latitude" [attr-defined] | |
homeassistant/components/aurora/__init__.py:147: error: "DataUpdateCoordinator[Any]" has no attribute "longitude" [attr-defined] | |
homeassistant/components/awair/config_flow.py:73: error: Argument 1 to "async_update_entry" of "ConfigEntries" has incompatible type "Optional[ConfigEntry]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/awair/sensor.py:104: error: Value of type "object" is not indexable [index] | |
homeassistant/components/awair/sensor.py:113: error: Value of type "object" is not indexable [index] | |
homeassistant/components/awair/sensor.py:119: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:119: error: Item "None" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:130: error: "AwairResult" has no attribute "sensors" [attr-defined] | |
homeassistant/components/awair/sensor.py:135: error: "AwairResult" has no attribute "sensors" [attr-defined] | |
homeassistant/components/awair/sensor.py:153: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "score" [union-attr] | |
homeassistant/components/awair/sensor.py:153: error: Item "None" of "Optional[AwairResult]" has no attribute "score" [union-attr] | |
homeassistant/components/awair/sensor.py:154: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:154: error: Item "None" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:155: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:155: error: Item "None" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:157: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:157: error: Item "None" of "Optional[AwairResult]" has no attribute "sensors" [union-attr] | |
homeassistant/components/awair/sensor.py:170: error: Value of type "object" is not indexable [index] | |
homeassistant/components/awair/sensor.py:175: error: Value of type "object" is not indexable [index] | |
homeassistant/components/awair/sensor.py:180: error: Value of type "object" is not indexable [index] | |
homeassistant/components/awair/sensor.py:205: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:205: error: Item "None" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:206: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:206: error: Item "None" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:207: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:207: error: Item "None" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:208: error: Item "AwairResult" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:208: error: Item "None" of "Optional[AwairResult]" has no attribute "indices" [union-attr] | |
homeassistant/components/awair/sensor.py:234: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/awair/sensor.py:236: error: Incompatible return value type (got "Dict[Any, Any]", expected "Optional[AwairResult]") [return-value] | |
homeassistant/components/awair/sensor.py:62: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/awair/sensor.py:69: error: "Dict[Any, Any]" has no attribute "sensors" [attr-defined] | |
homeassistant/components/awair/sensor.py:84: error: Argument 1 has incompatible type "List[AwairSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/awair/sensor.py:84: error: Too few arguments [call-arg] | |
homeassistant/components/awair/sensor.py:84: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/awair/sensor.py:84: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/axis/config_flow.py:155: error: Signature of "async_step_dhcp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/axis/config_flow.py:160: error: Argument 1 to "format_mac" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/axis/config_flow.py:166: error: Signature of "async_step_ssdp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/axis/config_flow.py:178: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/azure_devops/__init__.py:54: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/azure_devops/__init__.py:56: error: Argument 1 to "async_forward_entry_unload" of "ConfigEntries" has incompatible type "Dict[str, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/azure_devops/sensor.py:124: error: Return type "Coroutine[Any, Any, bool]" of "_azure_devops_update" incompatible with return type "Coroutine[Any, Any, None]" in supertype "AzureDevOpsEntity" [override] | |
homeassistant/components/azure_devops/sensor.py:135: error: Incompatible types in assignment (expression has type "Dict[str, Any]", variable has type "None") [assignment] | |
homeassistant/components/azure_devops/sensor.py:94: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/azure_devops/sensor.py:97: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/azure_event_hub/__init__.py:108: error: Need type annotation for 'queue' [var-annotated] | |
homeassistant/components/blueprint/importer.py:125: error: Argument 1 to "Blueprint" has incompatible type "Union[List[Any], Dict[Any, Any], str]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/blueprint/importer.py:134: error: Argument 2 to "ImportedBlueprint" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/blueprint/importer.py:166: error: Argument 1 to "Blueprint" has incompatible type "Union[List[Any], Dict[Any, Any], str]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/blueprint/importer.py:207: error: Argument 1 to "Blueprint" has incompatible type "Union[List[Any], Dict[Any, Any], str]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/blueprint/importer.py:216: error: Argument 2 to "ImportedBlueprint" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/blueprint/importer.py:229: error: Item "None" of "Optional[ImportedBlueprint]" has no attribute "blueprint" [union-attr] | |
homeassistant/components/blueprint/importer.py:230: error: Incompatible return value type (got "Optional[ImportedBlueprint]", expected "ImportedBlueprint") [return-value] | |
homeassistant/components/blueprint/models.py:191: error: Need type annotation for '_blueprints' (hint: "_blueprints: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/blueprint/models.py:220: error: Argument 1 to "Blueprint" has incompatible type "Union[List[Any], Dict[Any, Any], str]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/blueprint/models.py:231: error: Incompatible types in assignment (expression has type "str", variable has type "Path") [assignment] | |
homeassistant/components/blueprint/models.py:244: error: Incompatible return value type (got "Dict[Path, BlueprintException]", expected "Dict[str, Union[Blueprint, BlueprintException]]") [return-value] | |
homeassistant/components/blueprint/models.py:61: error: Argument 1 to "InvalidBlueprint" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/blueprint/models.py:61: error: Argument 2 to "InvalidBlueprint" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/blueprint/websocket_api.py:138: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/blueprint/websocket_api.py:27: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/blueprint/websocket_api.py:58: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/blueprint/websocket_api.py:89: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/bluetooth_tracker/device_tracker.py:91: error: Argument 3 to "async_load_config" has incompatible type "int"; expected "timedelta" [arg-type] | |
homeassistant/components/bmw_connected_drive/__init__.py:279: error: Need type annotation for '_update_listeners' (hint: "_update_listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/bmw_connected_drive/sensor.py:130: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/bmw_connected_drive/sensor.py:134: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/bsblan/climate.py:226: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/bsblan/climate.py:229: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/bsblan/config_flow.py:26: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/bsblan/config_flow.py:48: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/bsblan/config_flow.py:62: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/camera/__init__.py:357: error: Incompatible return value type (got "None", expected "Stream") [return-value] | |
homeassistant/components/camera/__init__.py:476: error: "Entity" has no attribute "access_tokens" [attr-defined] | |
homeassistant/components/camera/__init__.py:482: error: "Entity" has no attribute "is_on" [attr-defined] | |
homeassistant/components/camera/__init__.py:525: error: Argument 1 to "float" has incompatible type "Optional[str]"; expected "Union[SupportsFloat, _SupportsIndex, str]" [arg-type] | |
homeassistant/components/camera/__init__.py:525: error: Incompatible types in assignment (expression has type "float", variable has type "Optional[str]") [assignment] | |
homeassistant/components/camera/__init__.py:526: error: Unsupported operand types for < ("str" and "float") [operator] | |
homeassistant/components/camera/__init__.py:557: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/camera/__init__.py:585: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/camera/__init__.py:595: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/canary/__init__.py:7: error: Module 'requests' has no attribute 'ConnectTimeout' [attr-defined] | |
homeassistant/components/canary/alarm_control_panel.py:40: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/canary/alarm_control_panel.py:43: error: Argument 1 has incompatible type "List[CanaryAlarm]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/canary/alarm_control_panel.py:43: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/canary/alarm_control_panel.py:43: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/canary/camera.py:60: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/canary/camera.py:74: error: Argument 1 has incompatible type "List[CanaryCamera]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/canary/camera.py:74: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/canary/camera.py:74: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/canary/config_flow.py:38: error: Incompatible return value type (got "bool", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/canary/config_flow.py:59: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/canary/config_flow.py:64: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/canary/config_flow.py:83: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/canary/config_flow.py:85: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/canary/config_flow.py:8: error: Module 'requests' has no attribute 'ConnectTimeout' [attr-defined] | |
homeassistant/components/canary/config_flow.py:95: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/canary/coordinator.py:7: error: Module 'requests' has no attribute 'ConnectTimeout' [attr-defined] | |
homeassistant/components/canary/sensor.py:68: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/canary/sensor.py:73: error: Unsupported right operand type for in ("Union[List[str], str, None]") [operator] | |
homeassistant/components/canary/sensor.py:78: error: Argument 1 has incompatible type "List[CanarySensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/canary/sensor.py:78: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/canary/sensor.py:78: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/cast/helpers.py:51: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/cast/home_assistant_cast.py:85: error: Argument 1 to "async_remove_user" of "AuthManager" has incompatible type "Optional[User]"; expected "User" [arg-type] | |
homeassistant/components/cast/media_player.py:173: error: Need type annotation for 'mz_media_status' (hint: "mz_media_status: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/cast/media_player.py:174: error: Need type annotation for 'mz_media_status_received' (hint: "mz_media_status_received: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/cast/media_player.py:782: error: Item "None" of "Optional[Any]" has no attribute "register_handler" [union-attr] | |
homeassistant/components/cert_expiry/config_flow.py:29: error: Need type annotation for '_errors' (hint: "_errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/climacell/__init__.py:219: error: Need type annotation for 'data' [var-annotated] | |
homeassistant/components/climacell/config_flow.py:105: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/climacell/config_flow.py:124: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/climacell/config_flow.py:149: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/climacell/config_flow.py:162: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/climacell/config_flow.py:96: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/climacell/weather.py:112: error: Argument 1 has incompatible type "List[BaseClimaCellWeatherEntity]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/climacell/weather.py:112: error: Too few arguments [call-arg] | |
homeassistant/components/climacell/weather.py:112: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/climacell/weather.py:112: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/climacell/weather.py:140: error: Argument 1 to "_translate_condition" of "BaseClimaCellWeatherEntity" has incompatible type "str"; expected "Optional[int]" [arg-type] | |
homeassistant/components/climacell/weather.py:143: error: Argument 1 to "_translate_condition" of "BaseClimaCellWeatherEntity" has incompatible type "str"; expected "Optional[int]" [arg-type] | |
homeassistant/components/climacell/weather.py:222: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/climacell/weather.py:369: error: Argument 1 of "_translate_condition" is incompatible with supertype "BaseClimaCellWeatherEntity"; supertype defines the argument type as "Optional[int]" [override] | |
homeassistant/components/climacell/weather.py:369: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides | |
homeassistant/components/climacell/weather.py:369: note: This violates the Liskov substitution principle | |
homeassistant/components/climate/__init__.py:260: error: Incompatible types in assignment (expression has type "Optional[str]", target has type "Optional[float]") [assignment] | |
homeassistant/components/climate/__init__.py:263: error: Incompatible types in assignment (expression has type "str", target has type "Optional[float]") [assignment] | |
homeassistant/components/climate/__init__.py:266: error: Incompatible types in assignment (expression has type "Optional[str]", target has type "Optional[float]") [assignment] | |
homeassistant/components/climate/__init__.py:269: error: Incompatible types in assignment (expression has type "Optional[str]", target has type "Optional[float]") [assignment] | |
homeassistant/components/climate/__init__.py:272: error: Incompatible types in assignment (expression has type "str", target has type "Optional[float]") [assignment] | |
homeassistant/components/climate/__init__.py:472: error: "ClimateEntity" has no attribute "turn_on" [attr-defined] | |
homeassistant/components/climate/__init__.py:486: error: "ClimateEntity" has no attribute "turn_off" [attr-defined] | |
homeassistant/components/climate/__init__.py:527: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/climate/__init__.py:540: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/climate/device_condition.py:100: error: Incompatible return value type (got "Union[State, None, Any]", expected "bool") [return-value] | |
homeassistant/components/cloud/account_link.py:48: error: List comprehension has incompatible type List[int]; expected List[str] [misc] | |
homeassistant/components/cloud/account_link.py:67: error: Unsupported operand types for <= ("List[str]" and "List[int]") [operator] | |
homeassistant/components/cloud/client.py:104: error: Incompatible types in assignment (expression has type "CloudGoogleConfig", variable has type "None") [assignment] | |
homeassistant/components/cloud/client.py:107: error: "None" has no attribute "async_initialize" [attr-defined] | |
homeassistant/components/cloud/client.py:109: error: Incompatible return value type (got "None", expected "CloudGoogleConfig") [return-value] | |
homeassistant/components/cloud/client.py:51: error: Argument 1 to "Path" has incompatible type "Optional[str]"; expected "Union[str, _PathLike[str]]" [arg-type] | |
homeassistant/components/cloud/client.py:61: error: Incompatible return value type (got "AbstractEventLoop", expected "BaseEventLoop") [return-value] | |
homeassistant/components/cloud/client.py:90: error: Incompatible types in assignment (expression has type "AlexaConfig", variable has type "None") [assignment] | |
homeassistant/components/cloud/client.py:93: error: "None" has no attribute "async_initialize" [attr-defined] | |
homeassistant/components/cloud/client.py:95: error: Incompatible return value type (got "None", expected "AlexaConfig") [return-value] | |
homeassistant/components/cloud/http_api.py:379: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/cloud/http_api.py:610: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/cloud/http_api.py:636: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/cloud/prefs.py:305: error: Item "None" of "Optional[User]" has no attribute "id" [union-attr] | |
homeassistant/components/cloud/prefs.py:306: error: Item "None" of "Optional[User]" has no attribute "id" [union-attr] | |
homeassistant/components/cloud/utils.py:19: error: Incompatible types in assignment (expression has type "str", variable has type "Union[bytes, Payload, None]") [assignment] | |
homeassistant/components/cloudflare/config_flow.py:138: error: Need type annotation for 'errors' (hint: "errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/config/auth.py:64: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/auth.py:82: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/config_entries.py:234: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/config_entries.py:263: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/config_entries.py:287: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/config_entries.py:307: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/config_entries.py:338: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/core.py:36: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/core.py:64: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/entity_registry.py:143: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/entity_registry.py:25: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/entity_registry.py:40: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/config/entity_registry.py:66: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/control4/__init__.py:187: error: Incompatible return value type (got "int", expected "str") [return-value] | |
homeassistant/components/control4/light.py:104: error: Unsupported right operand type for in ("Optional[Any]") [operator] | |
homeassistant/components/control4/light.py:107: error: Unsupported right operand type for in ("Optional[Any]") [operator] | |
homeassistant/components/control4/light.py:127: error: Argument 6 to "Control4Light" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/control4/light.py:128: error: Argument 7 to "Control4Light" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/control4/light.py:129: error: Argument 8 to "Control4Light" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/conversation/__init__.py:108: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/conversation/__init__.py:79: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/conversation/__init__.py:93: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/conversation/default_agent.py:115: error: Missing return statement [return] | |
homeassistant/components/deconz/fan.py:113: error: Argument 1 to "ordered_list_item_to_percentage" has incompatible type "List[int]"; expected "List[str]" [arg-type] | |
homeassistant/components/deconz/fan.py:113: error: Argument 2 to "ordered_list_item_to_percentage" has incompatible type "int"; expected "str" [arg-type] | |
homeassistant/components/deconz/fan.py:123: error: No overload variant of "get" of "Mapping" matches argument types "str", "str" [call-overload] | |
homeassistant/components/deconz/fan.py:123: note: <1 more non-matching overload not shown> | |
homeassistant/components/deconz/fan.py:123: note: def [_T] get(self, key: int, default: Union[str, _T]) -> Union[str, _T] | |
homeassistant/components/deconz/fan.py:123: note: Possible overload variant: | |
homeassistant/components/deconz/fan.py:124: error: Argument 1 to "percentage_to_ordered_list_item" has incompatible type "List[int]"; expected "List[str]" [arg-type] | |
homeassistant/components/deconz/fan.py:143: error: Argument 1 to "percentage_to_ordered_list_item" has incompatible type "List[int]"; expected "List[str]" [arg-type] | |
homeassistant/components/deconz/fan.py:167: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment] | |
homeassistant/components/deconz/fan.py:168: error: Argument 1 to "percentage_to_ordered_list_item" has incompatible type "List[int]"; expected "List[str]" [arg-type] | |
homeassistant/components/deconz/fan.py:85: error: Argument 1 to "ordered_list_item_to_percentage" has incompatible type "List[int]"; expected "List[str]" [arg-type] | |
homeassistant/components/deconz/gateway.py:149: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:155: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:157: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:158: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:159: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:160: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/deconz/gateway.py:188: error: "None" has no attribute "start" [attr-defined] | |
homeassistant/components/deconz/gateway.py:247: error: "None" has no attribute "close" [attr-defined] | |
homeassistant/components/deconz/gateway.py:53: error: Need type annotation for 'deconz_ids' (hint: "deconz_ids: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/deconz/gateway.py:54: error: Need type annotation for 'entities' (hint: "entities: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/deconz/gateway.py:55: error: Need type annotation for 'events' (hint: "events: List[<type>] = ...") [var-annotated] | |
homeassistant/components/deconz/gateway.py:56: error: Need type annotation for 'listeners' (hint: "listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/deconz/logbook.py:108: error: Incompatible types in assignment (expression has type "object", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/deconz/logbook.py:137: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/deconz/logbook.py:139: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/deconz/logbook.py:145: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/deconz/logbook.py:152: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/deconz/logbook.py:159: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/deconz/logbook.py:164: error: Item "None" of "Optional[DeconzEvent]" has no attribute "device" [union-attr] | |
homeassistant/components/demo/fan.py:151: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/demo/fan.py:156: error: Incompatible return value type (got "Optional[bool]", expected "bool") [return-value] | |
homeassistant/components/demo/fan.py:225: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/demo/fan.py:241: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/demo/fan.py:242: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/demo/fan.py:285: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/demo/fan.py:301: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/demo/fan.py:305: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/demo/light.py:138: error: Return type "Tuple[Any, ...]" of "hs_color" incompatible with return type "Optional[Tuple[float, float]]" in supertype "LightEntity" [override] | |
homeassistant/components/demo/light.py:142: error: Incompatible return value type (got "None", expected "Tuple[Any, ...]") [return-value] | |
homeassistant/components/demo/light.py:149: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/denonavr/config_flow.py:131: error: Need type annotation for 'errors' (hint: "errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/denonavr/config_flow.py:144: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:156: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:176: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:180: error: Item "None" of "Optional[Any]" has no attribute "serial_number" [union-attr] | |
homeassistant/components/denonavr/config_flow.py:182: error: Item "None" of "Optional[Any]" has no attribute "model_name" [union-attr] | |
homeassistant/components/denonavr/config_flow.py:196: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:198: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:199: error: Item "None" of "Optional[Any]" has no attribute "name" [union-attr] | |
homeassistant/components/denonavr/config_flow.py:202: error: Item "None" of "Optional[Any]" has no attribute "receiver_type" [union-attr] | |
homeassistant/components/denonavr/config_flow.py:204: error: Item "None" of "Optional[Any]" has no attribute "manufacturer" [union-attr] | |
homeassistant/components/denonavr/config_flow.py:209: error: Signature of "async_step_ssdp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/denonavr/config_flow.py:220: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:227: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/config_flow.py:234: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/denonavr/media_player.py:100: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/denonavr/media_player.py:106: error: entity_platform.EntityPlatform.async_add_entities? not callable [misc] | |
homeassistant/components/denonavr/media_player.py:129: error: Self argument missing for a non-static method (or an invalid type for self) [misc] | |
homeassistant/components/denonavr/media_player.py:139: error: Argument 1 to "wraps" has incompatible type "Coroutine[Any, Any, Any]"; expected "Callable[..., Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:190: error: Incompatible return value type (got "Callable[[Any, VarArg(Any), KwArg(Any)], Any]", expected "Coroutine[Any, Any, Any]") [return-value] | |
homeassistant/components/denonavr/media_player.py:192: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Coroutine[Any, Any, None]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:360: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:365: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:370: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:375: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:380: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:385: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice, str], Coroutine[Any, Any, Any]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:386: error: Signature of "async_select_source" incompatible with supertype "MediaPlayerEntity" [override] | |
homeassistant/components/denonavr/media_player.py:390: error: "Coroutine[Any, Any, Any]" not callable [operator] | |
homeassistant/components/denonavr/media_player.py:393: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice, str], Coroutine[Any, Any, Any]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:394: error: Signature of "async_select_sound_mode" incompatible with supertype "MediaPlayerEntity" [override] | |
homeassistant/components/denonavr/media_player.py:398: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:403: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:408: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:413: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice], Any]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:418: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice, int], Coroutine[Any, Any, Any]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:419: error: Signature of "async_set_volume_level" incompatible with supertype "MediaPlayerEntity" [override] | |
homeassistant/components/denonavr/media_player.py:428: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice, bool], Coroutine[Any, Any, Any]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:429: error: Signature of "async_mute_volume" incompatible with supertype "MediaPlayerEntity" [override] | |
homeassistant/components/denonavr/media_player.py:433: error: Argument 1 to "async_log_errors" of "DenonDevice" has incompatible type "Callable[[DenonDevice, str, KwArg(Any)], Coroutine[Any, Any, Any]]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/denonavr/media_player.py:439: error: Incompatible types in assignment (expression has type "staticmethod", variable has type "Callable[[Coroutine[Any, Any, Any]], Coroutine[Any, Any, Any]]") [assignment] | |
homeassistant/components/denonavr/media_player.py:82: error: Function "homeassistant.helpers.entity_platform.EntityPlatform.async_add_entities" is not valid as a type [valid-type] | |
homeassistant/components/denonavr/media_player.py:82: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/denonavr/receiver.py:33: error: Need type annotation for '_zones' (hint: "_zones: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/denonavr/receiver.py:49: error: "None" has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:50: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:51: error: "None" has no attribute "model_name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:52: error: "None" has no attribute "receiver_type" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:56: error: "None" has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:57: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:58: error: "None" has no attribute "model_name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:59: error: "None" has no attribute "receiver_type" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:65: error: "None" has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:66: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:67: error: "None" has no attribute "host" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:68: error: "None" has no attribute "model_name" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:69: error: "None" has no attribute "serial_number" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:70: error: "None" has no attribute "receiver_type" [attr-defined] | |
homeassistant/components/denonavr/receiver.py:75: error: Missing return statement [return] | |
homeassistant/components/device_tracker/config_entry.py:139: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/device_tracker/config_entry.py:144: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/device_tracker/config_entry.py:149: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/device_tracker/config_entry.py:87: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/device_tracker/config_entry.py:92: error: Incompatible return value type (got "Type[NotImplementedError]", expected "float") [return-value] | |
homeassistant/components/device_tracker/config_entry.py:97: error: Incompatible return value type (got "Type[NotImplementedError]", expected "float") [return-value] | |
homeassistant/components/device_tracker/legacy.py:373: error: Argument 1 to "async_device_tracker_scan" has incompatible type "None"; expected "datetime" [arg-type] | |
homeassistant/components/device_tracker/legacy.py:441: error: Argument 1 to "add_job" of "HomeAssistant" has incompatible type "Coroutine[Any, Any, Any]"; expected "Callable[..., Any]" [arg-type] | |
homeassistant/components/device_tracker/legacy.py:512: error: Argument 1 to "ensure_unique_string" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/device_tracker/legacy.py:518: error: Argument 5 to "Device" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/device_tracker/legacy.py:600: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/device_tracker/legacy.py:601: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/device_tracker/legacy.py:602: error: Incompatible types in assignment (expression has type "None", variable has type "Tuple[float, float]") [assignment] | |
homeassistant/components/device_tracker/legacy.py:604: error: Incompatible types in assignment (expression has type "None", variable has type "datetime") [assignment] | |
homeassistant/components/device_tracker/legacy.py:605: error: Incompatible types in assignment (expression has type "None", variable has type "timedelta") [assignment] | |
homeassistant/components/device_tracker/legacy.py:606: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment] | |
homeassistant/components/device_tracker/legacy.py:607: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/device_tracker/legacy.py:608: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/device_tracker/legacy.py:650: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str") [assignment] | |
homeassistant/components/device_tracker/legacy.py:654: error: Need type annotation for '_attributes' (hint: "_attributes: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/device_tracker/legacy.py:704: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/device_tracker/legacy.py:707: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str") [assignment] | |
homeassistant/components/device_tracker/legacy.py:715: error: Incompatible types in assignment (expression has type "None", variable has type "Tuple[float, float]") [assignment] | |
homeassistant/components/device_tracker/legacy.py:722: error: Incompatible types in assignment (expression has type "None", variable has type "Tuple[float, float]") [assignment] | |
homeassistant/components/device_tracker/legacy.py:797: error: Incompatible types in assignment (expression has type "None", variable has type "HomeAssistant") [assignment] | |
homeassistant/components/device_tracker/legacy.py:870: error: Incompatible types in assignment (expression has type "Dict[str, Dict[str, Any]]", variable has type "Device") [assignment] | |
homeassistant/components/device_tracker/legacy.py:880: error: Argument 1 to "dump" has incompatible type "Device"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/devolo_home_control/__init__.py:22: error: Argument 1 to "_mydevolo" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/devolo_home_control/__init__.py:34: error: Argument 1 to "match" of "Pattern" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/devolo_home_control/binary_sensor.py:48: error: Argument 1 to "append" of "list" has incompatible type "DevoloRemoteControl"; expected "DevoloBinaryDeviceEntity" [arg-type] | |
homeassistant/components/devolo_home_control/sensor.py:50: error: Argument 1 to "append" of "list" has incompatible type "DevoloConsumptionEntity"; expected "DevoloGenericMultiLevelDeviceEntity" [arg-type] | |
homeassistant/components/devolo_home_control/sensor.py:59: error: Argument 1 to "append" of "list" has incompatible type "DevoloBatteryEntity"; expected "DevoloGenericMultiLevelDeviceEntity" [arg-type] | |
homeassistant/components/dhcp/__init__.py:237: error: Argument 1 to "_async_process_device_state" of "DeviceTrackerWatcher" has incompatible type "Optional[Any]"; expected "State" [arg-type] | |
homeassistant/components/directv/config_flow.py:111: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:117: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:124: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:51: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/directv/config_flow.py:64: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:71: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:73: error: Signature of "async_step_ssdp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/directv/config_flow.py:92: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/config_flow.py:95: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/directv/media_player.py:66: error: Missing return statement [return] | |
homeassistant/components/directv/remote.py:22: error: Missing return statement [return] | |
homeassistant/components/doorbird/__init__.py:321: error: Invalid type comment or annotation [valid-type] | |
homeassistant/components/dsmr/sensor.py:365: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/dsmr/sensor.py:365: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/dynalite/__init__.py:267: error: Argument 2 to "DynaliteBridge" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/dynalite/bridge.py:30: error: Need type annotation for 'area' (hint: "area: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/dynalite/bridge.py:31: error: Need type annotation for 'async_add_devices' (hint: "async_add_devices: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/dynalite/bridge.py:32: error: Need type annotation for 'waiting_devices' (hint: "waiting_devices: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/dynalite/dynalitebase.py:45: error: Need type annotation for '_unsub_dispatchers' (hint: "_unsub_dispatchers: List[<type>] = ...") [var-annotated] | |
homeassistant/components/eafm/sensor.py:139: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/eafm/sensor.py:145: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/edl21/sensor.py:129: error: Need type annotation for '_registered_obis' (hint: "_registered_obis: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/elgato/config_flow.py:27: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/elgato/config_flow.py:44: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/elgato/config_flow.py:54: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/elgato/config_flow.py:57: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/elgato/config_flow.py:73: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/elgato/config_flow.py:86: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/elgato/light.py:129: error: Argument 1 to "light" of "Elgato" has incompatible type "**Dict[str, Union[bool, int]]"; expected "Optional[bool]" [arg-type] | |
homeassistant/components/elgato/light.py:138: error: Attribute '_state' already defined on line 59 [no-redef] | |
homeassistant/components/elkm1/__init__.py:212: error: Incompatible types in assignment (expression has type "Dict[str, object]", target has type "str") [assignment] | |
homeassistant/components/elkm1/__init__.py:214: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "str") [assignment] | |
homeassistant/components/elkm1/__init__.py:219: error: Invalid index type "str" for "str"; expected type "Union[int, slice]" [index] | |
homeassistant/components/elkm1/__init__.py:220: error: Invalid index type "str" for "str"; expected type "Union[int, slice]" [index] | |
homeassistant/components/emonitor/__init__.py:29: error: Need type annotation for 'coordinator' [var-annotated] | |
homeassistant/components/emonitor/sensor.py:107: error: Item "None" of "Optional[Any]" has no attribute "hardware" [union-attr] | |
homeassistant/components/emonitor/sensor.py:52: error: Item "None" of "Optional[Any]" has no attribute "channels" [union-attr] | |
homeassistant/components/emonitor/sensor.py:57: error: Item "None" of "Optional[Any]" has no attribute "channels" [union-attr] | |
homeassistant/components/emonitor/sensor.py:98: error: Item "None" of "Optional[Any]" has no attribute "network" [union-attr] | |
homeassistant/components/enphase_envoy/config_flow.py:132: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/enphase_envoy/config_flow.py:143: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/enphase_envoy/config_flow.py:164: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/enphase_envoy/config_flow.py:165: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/enphase_envoy/config_flow.py:172: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/enphase_envoy/config_flow.py:32: error: Missing return statement [return] | |
homeassistant/components/entur_public_transport/sensor.py:161: error: Need type annotation for '_attributes' (hint: "_attributes: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/entur_public_transport/sensor.py:171: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/entur_public_transport/sensor.py:201: error: "Dict[Any, Any]" has no attribute "latitude" [attr-defined] | |
homeassistant/components/entur_public_transport/sensor.py:201: error: "Dict[Any, Any]" has no attribute "longitude" [attr-defined] | |
homeassistant/components/entur_public_transport/sensor.py:202: error: "Dict[Any, Any]" has no attribute "latitude" [attr-defined] | |
homeassistant/components/entur_public_transport/sensor.py:203: error: "Dict[Any, Any]" has no attribute "longitude" [attr-defined] | |
homeassistant/components/entur_public_transport/sensor.py:205: error: "Dict[Any, Any]" has no attribute "estimated_calls" [attr-defined] | |
homeassistant/components/entur_public_transport/sensor.py:210: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/esphome/__init__.py:159: error: Item "None" of "Optional[State]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/__init__.py:462: error: Incompatible types in assignment (expression has type "DeviceEntry", variable has type "ConfigEntry") [assignment] | |
homeassistant/components/esphome/__init__.py:470: error: "ConfigEntry" has no attribute "id" [attr-defined] | |
homeassistant/components/esphome/__init__.py:476: error: Item "None" of "Optional[Any]" has no attribute "name" [union-attr] | |
homeassistant/components/esphome/__init__.py:544: error: Item "None" of "Optional[Any]" has no attribute "name" [union-attr] | |
homeassistant/components/esphome/__init__.py:575: error: Item "None" of "Optional[Any]" has no attribute "name" [union-attr] | |
homeassistant/components/esphome/__init__.py:771: error: No overload variant of "get" of "Mapping" matches argument type "int" [call-overload] | |
homeassistant/components/esphome/__init__.py:771: note: <1 more non-matching overload not shown> | |
homeassistant/components/esphome/__init__.py:771: note: def get(self, key: str) -> Optional[Any] | |
homeassistant/components/esphome/__init__.py:771: note: Possible overload variant: | |
homeassistant/components/esphome/__init__.py:776: error: No overload variant of "get" of "Mapping" matches argument type "int" [call-overload] | |
homeassistant/components/esphome/__init__.py:776: note: <1 more non-matching overload not shown> | |
homeassistant/components/esphome/__init__.py:776: note: def get(self, key: str) -> Optional[Any] | |
homeassistant/components/esphome/__init__.py:776: note: Possible overload variant: | |
homeassistant/components/esphome/__init__.py:789: error: Invalid index type "int" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/esphome/camera.py:80: error: Item "None" of "Optional[Any]" has no attribute "image" [union-attr] | |
homeassistant/components/esphome/camera.py:91: error: Item "None" of "Optional[Any]" has no attribute "image" [union-attr] | |
homeassistant/components/esphome/climate.py:222: error: Item "None" of "Optional[Any]" has no attribute "mode" [union-attr] | |
homeassistant/components/esphome/climate.py:230: error: Item "None" of "Optional[Any]" has no attribute "action" [union-attr] | |
homeassistant/components/esphome/climate.py:250: error: Item "None" of "Optional[Any]" has no attribute "current_temperature" [union-attr] | |
homeassistant/components/esphome/climate.py:255: error: Item "None" of "Optional[Any]" has no attribute "target_temperature" [union-attr] | |
homeassistant/components/esphome/climate.py:260: error: Item "None" of "Optional[Any]" has no attribute "target_temperature_low" [union-attr] | |
homeassistant/components/esphome/climate.py:265: error: Item "None" of "Optional[Any]" has no attribute "target_temperature_high" [union-attr] | |
homeassistant/components/esphome/config_flow.py:40: error: Incompatible types in assignment (expression has type "Type[int]", target has type "Type[str]") [assignment] | |
homeassistant/components/esphome/config_flow.py:86: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/esphome/cover.py:101: error: Item "None" of "Optional[Any]" has no attribute "tilt" [union-attr] | |
homeassistant/components/esphome/cover.py:77: error: Item "None" of "Optional[Any]" has no attribute "is_closed" [union-attr] | |
homeassistant/components/esphome/cover.py:82: error: Item "None" of "Optional[Any]" has no attribute "current_operation" [union-attr] | |
homeassistant/components/esphome/cover.py:87: error: Item "None" of "Optional[Any]" has no attribute "current_operation" [union-attr] | |
homeassistant/components/esphome/cover.py:94: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/esphome/entry_data.py:140: error: Argument 1 to "pop" of "list" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/esphome/entry_data.py:143: error: Item "List[Any]" of "Union[Dict[Any, Any], List[Any]]" has no attribute "items" [union-attr] | |
homeassistant/components/esphome/entry_data.py:150: error: Item "List[Any]" of "Union[Dict[Any, Any], List[Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/esphome/entry_data.py:159: error: List comprehension has incompatible type List[Dict[str, Any]]; expected List[str] [misc] | |
homeassistant/components/esphome/entry_data.py:161: error: "Collection[str]" has no attribute "append" [attr-defined] | |
homeassistant/components/esphome/fan.py:103: error: Argument 1 to "async_set_percentage" of "EsphomeFan" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/esphome/fan.py:127: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/fan.py:137: error: Item "None" of "Optional[Any]" has no attribute "speed" [union-attr] | |
homeassistant/components/esphome/fan.py:141: error: Item "None" of "Optional[Any]" has no attribute "speed_level" [union-attr] | |
homeassistant/components/esphome/fan.py:156: error: Item "None" of "Optional[Any]" has no attribute "oscillating" [union-attr] | |
homeassistant/components/esphome/fan.py:163: error: Item "None" of "Optional[Any]" has no attribute "direction" [union-attr] | |
homeassistant/components/esphome/light.py:101: error: Item "None" of "Optional[Any]" has no attribute "brightness" [union-attr] | |
homeassistant/components/esphome/light.py:107: error: Item "None" of "Optional[Any]" has no attribute "blue" [union-attr] | |
homeassistant/components/esphome/light.py:107: error: Item "None" of "Optional[Any]" has no attribute "green" [union-attr] | |
homeassistant/components/esphome/light.py:107: error: Item "None" of "Optional[Any]" has no attribute "red" [union-attr] | |
homeassistant/components/esphome/light.py:113: error: Item "None" of "Optional[Any]" has no attribute "color_temperature" [union-attr] | |
homeassistant/components/esphome/light.py:118: error: Item "None" of "Optional[Any]" has no attribute "white" [union-attr] | |
homeassistant/components/esphome/light.py:123: error: Item "None" of "Optional[Any]" has no attribute "effect" [union-attr] | |
homeassistant/components/esphome/light.py:148: error: Return type "float" of "min_mireds" incompatible with return type "int" in supertype "LightEntity" [override] | |
homeassistant/components/esphome/light.py:153: error: Return type "float" of "max_mireds" incompatible with return type "int" in supertype "LightEntity" [override] | |
homeassistant/components/esphome/light.py:66: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/sensor.py:111: error: Item "None" of "Optional[Any]" has no attribute "missing_state" [union-attr] | |
homeassistant/components/esphome/sensor.py:113: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/sensor.py:60: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/esphome/sensor.py:71: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/sensor.py:73: error: Item "None" of "Optional[Any]" has no attribute "missing_state" [union-attr] | |
homeassistant/components/esphome/sensor.py:75: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/esphome/sensor.py:81: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/esphome/sensor.py:88: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/esphome/switch.py:54: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/evohome/__init__.py:116: error: Argument 1 to "as_local" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/evohome/__init__.py:137: error: Missing return statement [return] | |
homeassistant/components/evohome/__init__.py:193: error: Argument 1 to "_dt_aware_to_naive" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/evohome/__init__.py:232: error: Unsupported target for indexed assignment ("object") [index] | |
homeassistant/components/evohome/__init__.py:233: error: Value of type "object" is not indexable [index] | |
homeassistant/components/evohome/__init__.py:402: error: Need type annotation for 'temps' (hint: "temps: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/evohome/__init__.py:457: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/evohome/__init__.py:469: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/evohome/__init__.py:523: error: Need type annotation for '_device_state_attrs' (hint: "_device_state_attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/evohome/__init__.py:558: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/evohome/__init__.py:576: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/evohome/__init__.py:581: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/evohome/__init__.py:590: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/evohome/__init__.py:607: error: Need type annotation for '_schedule' (hint: "_schedule: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/evohome/__init__.py:608: error: Need type annotation for '_setpoints' (hint: "_setpoints: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/evohome/__init__.py:611: error: Missing return statement [return] | |
homeassistant/components/evohome/__init__.py:663: error: Argument 1 to "_dt_evo_to_aware" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/evohome/__init__.py:693: error: Unsupported operand types for >= ("datetime" and "None") [operator] | |
homeassistant/components/evohome/__init__.py:693: note: Right operand is of type "Optional[datetime]" | |
homeassistant/components/evohome/climate.py:120: error: Unsupported operand types for + ("List[EvoController]" and "List[EvoZone]") [operator] | |
homeassistant/components/evohome/climate.py:152: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:157: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:160: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:164: error: Incompatible types in assignment (expression has type "List[str]", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:165: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:274: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/evohome/climate.py:319: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:321: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:324: error: Incompatible types in assignment (expression has type "List[str]", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:327: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/evohome/climate.py:347: error: Incompatible types in assignment (expression has type "None", variable has type "datetime") [assignment] | |
homeassistant/components/evohome/climate.py:385: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/evohome/climate.py:390: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/evohome/climate.py:398: error: Argument 1 to "_set_tcs_mode" of "EvoController" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/evohome/climate.py:402: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/evohome/water_heater.py:55: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/evohome/water_heater.py:56: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/evohome/water_heater.py:58: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/evohome/water_heater.py:59: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/fan/__init__.py:245: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/fan/__init__.py:374: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/fan/__init__.py:462: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/fan/__init__.py:465: error: Argument 1 to "speed_to_percentage" of "FanEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/fan/__init__.py:488: error: Argument 1 to "__iadd__" of "list" has incompatible type "Optional[List[str]]"; expected "Iterable[str]" [arg-type] | |
homeassistant/components/fan/__init__.py:604: error: Incompatible types in assignment (expression has type "Optional[int]", target has type "Optional[str]") [assignment] | |
homeassistant/components/fan/__init__.py:605: error: Incompatible types in assignment (expression has type "float", target has type "Optional[str]") [assignment] | |
homeassistant/components/fan/__init__.py:627: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/filter/sensor.py:408: error: Need type annotation for 'states' [var-annotated] | |
homeassistant/components/filter/sensor.py:479: error: Need type annotation for '_stats_internal' [var-annotated] | |
homeassistant/components/filter/sensor.py:525: error: Need type annotation for '_stats_internal' [var-annotated] | |
homeassistant/components/fints/sensor.py:168: error: Incompatible types in assignment (expression has type "None", variable has type "float") [assignment] | |
homeassistant/components/fints/sensor.py:169: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/fints/sensor.py:220: error: Need type annotation for '_holdings' (hint: "_holdings: List[<type>] = ...") [var-annotated] | |
homeassistant/components/fints/sensor.py:221: error: Incompatible types in assignment (expression has type "None", variable has type "float") [assignment] | |
homeassistant/components/fireservicerota/__init__.py:222: error: Return value expected [return-value] | |
homeassistant/components/fireservicerota/__init__.py:233: error: Return value expected [return-value] | |
homeassistant/components/fireservicerota/binary_sensor.py:62: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/fireservicerota/sensor.py:68: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/fireservicerota/sensor.py:70: error: Need type annotation for 'attr' (hint: "attr: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/fireservicerota/switch.py:138: error: Missing return statement [return] | |
homeassistant/components/fireservicerota/switch.py:143: error: Return value expected [return-value] | |
homeassistant/components/fireservicerota/switch.py:76: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/fireservicerota/switch.py:78: error: Need type annotation for 'attr' (hint: "attr: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/firmata/__init__.py:174: error: Argument 1 to "FirmataBoard" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/firmata/__init__.py:192: error: Argument "connections" to "async_get_or_create" of "DeviceRegistry" has incompatible type "Dict[<nothing>, <nothing>]"; expected "Optional[Set[Tuple[str, str]]]" [arg-type] | |
homeassistant/components/firmata/__init__.py:224: error: No return value expected [return-value] | |
homeassistant/components/firmata/binary_sensor.py:38: error: Argument 1 to "FirmataBinarySensor" has incompatible type "FirmataBinaryDigitalInput"; expected "Type[FirmataBoardPin]" [arg-type] | |
homeassistant/components/firmata/board.py:126: error: "None" has no attribute "first_analog_pin" [attr-defined] | |
homeassistant/components/firmata/board.py:46: error: Need type annotation for 'used_pins' (hint: "used_pins: List[<type>] = ...") [var-annotated] | |
homeassistant/components/firmata/board.py:78: error: "None" has no attribute "get_firmware_version" [attr-defined] | |
homeassistant/components/firmata/light.py:46: error: Argument 1 to "FirmataLight" has incompatible type "FirmataPWMOutput"; expected "Type[FirmataBoardPin]" [arg-type] | |
homeassistant/components/firmata/pin.py:118: error: "None" has no attribute "set_pin_mode_pwm_output" [attr-defined] | |
homeassistant/components/firmata/pin.py:121: error: "None" has no attribute "pwm_write" [attr-defined] | |
homeassistant/components/firmata/pin.py:122: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:127: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/firmata/pin.py:133: error: "None" has no attribute "pwm_write" [attr-defined] | |
homeassistant/components/firmata/pin.py:134: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:155: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:158: error: "None" has no attribute "set_pin_mode_digital_input" [attr-defined] | |
homeassistant/components/firmata/pin.py:160: error: "None" has no attribute "set_pin_mode_digital_input_pullup" [attr-defined] | |
homeassistant/components/firmata/pin.py:162: error: "None" has no attribute "digital_read" [attr-defined] | |
homeassistant/components/firmata/pin.py:165: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:167: error: "None" has no attribute "enable_digital_reporting" [attr-defined] | |
homeassistant/components/firmata/pin.py:168: error: "None" not callable [misc] | |
homeassistant/components/firmata/pin.py:178: error: "None" has no attribute "disable_digital_reporting" [attr-defined] | |
homeassistant/components/firmata/pin.py:183: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/firmata/pin.py:200: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:201: error: "None" not callable [misc] | |
homeassistant/components/firmata/pin.py:222: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:225: error: "None" has no attribute "set_pin_mode_analog_input" [attr-defined] | |
homeassistant/components/firmata/pin.py:229: error: "None" has no attribute "analog_read" [attr-defined] | |
homeassistant/components/firmata/pin.py:231: error: "None" not callable [misc] | |
homeassistant/components/firmata/pin.py:241: error: "None" has no attribute "disable_analog_reporting" [attr-defined] | |
homeassistant/components/firmata/pin.py:246: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/firmata/pin.py:263: error: "None" not callable [misc] | |
homeassistant/components/firmata/pin.py:28: error: Value of type "Union[int, str]" is not indexable [index] | |
homeassistant/components/firmata/pin.py:61: error: "None" has no attribute "set_pin_mode_digital_output" [attr-defined] | |
homeassistant/components/firmata/pin.py:67: error: "None" has no attribute "digital_pin_write" [attr-defined] | |
homeassistant/components/firmata/pin.py:68: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:73: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/firmata/pin.py:79: error: "None" has no attribute "digital_pin_write" [attr-defined] | |
homeassistant/components/firmata/pin.py:80: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/pin.py:86: error: "None" has no attribute "digital_pin_write" [attr-defined] | |
homeassistant/components/firmata/pin.py:87: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/firmata/sensor.py:38: error: Argument 1 to "FirmataSensor" has incompatible type "FirmataAnalogInput"; expected "Type[FirmataBoardPin]" [arg-type] | |
homeassistant/components/firmata/switch.py:39: error: Argument 1 to "FirmataSwitch" has incompatible type "FirmataBinaryDigitalOutput"; expected "Type[FirmataBoardPin]" [arg-type] | |
homeassistant/components/fitbit/sensor.py:32: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/flo/device.py:100: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:105: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:110: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:115: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:120: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:125: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:130: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:135: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:140: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:145: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:150: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:155: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:160: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:174: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:179: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:184: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:189: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:63: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/flo/device.py:75: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:80: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:85: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:90: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/flo/device.py:95: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/fortios/device_tracker.py:57: error: Need type annotation for '_clients' (hint: "_clients: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/fortios/device_tracker.py:58: error: Need type annotation for '_clients_json' (hint: "_clients_json: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/foscam/__init__.py:86: error: Incompatible types in assignment (expression has type "Dict[str, int]", variable has type "MappingProxyType[str, Any]") [assignment] | |
homeassistant/components/freebox/config_flow.py:109: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/freebox/device_tracker.py:109: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/device_tracker.py:109: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/device_tracker.py:114: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/device_tracker.py:114: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/device_tracker.py:23: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/freebox/device_tracker.py:56: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/device_tracker.py:56: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/device_tracker.py:59: error: any? has no attribute "strip" [attr-defined] | |
homeassistant/components/freebox/device_tracker.py:60: error: Value of type any? is not indexable [index] | |
homeassistant/components/freebox/device_tracker.py:64: error: Need type annotation for '_attrs' (hint: "_attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/freebox/router.py:104: error: Bracketed expression "[...]" is not valid as a type [misc] | |
homeassistant/components/freebox/router.py:104: note: Did you mean "List[...]"? | |
homeassistant/components/freebox/router.py:166: error: Bracketed expression "[...]" is not valid as a type [misc] | |
homeassistant/components/freebox/router.py:166: note: Did you mean "List[...]"? | |
homeassistant/components/freebox/router.py:179: error: "None" not callable [misc] | |
homeassistant/components/freebox/router.py:180: error: Incompatible types in assignment (expression has type "None", variable has type "Freepybox") [assignment] | |
homeassistant/components/freebox/router.py:59: error: Incompatible types in assignment (expression has type "None", variable has type "Freepybox") [assignment] | |
homeassistant/components/freebox/router.py:63: error: Need type annotation for '_attrs' (hint: "_attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/freebox/router.py:72: error: Need type annotation for 'listeners' (hint: "listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/freebox/router.py:82: error: No return value expected [return-value] | |
homeassistant/components/freebox/router.py:92: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/freebox/sensor.py:115: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/freebox/sensor.py:133: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:133: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:164: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:164: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:168: error: Need type annotation for '_call_list_for_type' (hint: "_call_list_for_type: List[<type>] = ...") [var-annotated] | |
homeassistant/components/freebox/sensor.py:181: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/freebox/sensor.py:184: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:184: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:198: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:198: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:199: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:199: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:201: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:201: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:211: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:211: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/sensor.py:227: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/freebox/sensor.py:228: error: Unsupported left operand type for * (any?) [operator] | |
homeassistant/components/freebox/sensor.py:81: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/sensor.py:81: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/freebox/switch.py:49: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/freebox/switch.py:52: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/freebox/switch.py:52: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/garmin_connect/sensor.py:66: error: Argument 8 to "GarminConnectSensor" has incompatible type "Union[bool, str, None]"; expected "bool" [arg-type] | |
homeassistant/components/geniushub/__init__.py:235: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/geniushub/__init__.py:251: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/__init__.py:275: error: Incompatible types in assignment (expression has type "datetime", variable has type "None") [assignment] | |
homeassistant/components/geniushub/__init__.py:288: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/__init__.py:350: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/geniushub/__init__.py:355: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/geniushub/__init__.py:365: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/geniushub/binary_sensor.py:38: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/binary_sensor.py:40: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/climate.py:55: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/geniushub/climate.py:56: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/geniushub/climate.py:57: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/geniushub/sensor.py:100: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/sensor.py:102: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/sensor.py:104: error: Need type annotation for '_issues' (hint: "_issues: List[<type>] = ...") [var-annotated] | |
homeassistant/components/geniushub/sensor.py:109: error: Incompatible return value type (got "int", expected "str") [return-value] | |
homeassistant/components/geniushub/sensor.py:39: error: Unsupported operand types for + ("List[GeniusBattery]" and "List[GeniusIssue]") [operator] | |
homeassistant/components/geniushub/sensor.py:51: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/geniushub/sensor.py:60: error: Unsupported operand types for > ("datetime" and "None") [operator] | |
homeassistant/components/geniushub/switch.py:48: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/geniushub/water_heater.py:59: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/geniushub/water_heater.py:60: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/geniushub/water_heater.py:61: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/geniushub/water_heater.py:71: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/gios/air_quality.py:101: error: Decorated property not supported [misc] | |
homeassistant/components/gios/air_quality.py:107: error: Decorated property not supported [misc] | |
homeassistant/components/gios/air_quality.py:77: error: Decorated property not supported [misc] | |
homeassistant/components/gios/air_quality.py:83: error: Decorated property not supported [misc] | |
homeassistant/components/gios/air_quality.py:89: error: Decorated property not supported [misc] | |
homeassistant/components/gios/air_quality.py:95: error: Decorated property not supported [misc] | |
homeassistant/components/glances/__init__.py:61: error: Unsupported right operand type for in ("Config") [operator] | |
homeassistant/components/glances/__init__.py:62: error: Value of type "Config" is not indexable [index] | |
homeassistant/components/gogogate2/common.py:114: error: Argument 1 to "get_api" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/gogogate2/cover.py:54: error: Too few arguments [call-arg] | |
homeassistant/components/gogogate2/sensor.py:49: error: Argument 1 has incompatible type "chain[GoGoGate2Entity]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/gogogate2/sensor.py:49: error: Too few arguments [call-arg] | |
homeassistant/components/google_assistant/helpers.py:58: error: Incompatible return value type (got "Tuple[None, None]", expected "Optional[Tuple[RegistryEntry, DeviceEntry]]") [return-value] | |
homeassistant/components/google_assistant/trait.py:1522: error: Need type annotation for 'SYNONYMS' (hint: "SYNONYMS: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/google_assistant/trait.py:163: error: Argument 1 to "index" of "list" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/google_assistant/trait.py:174: error: Need type annotation for 'commands' (hint: "commands: List[<type>] = ...") [var-annotated] | |
homeassistant/components/google_assistant/trait.py:2016: error: Need type annotation for 'commands' (hint: "commands: List[<type>] = ...") [var-annotated] | |
homeassistant/components/google_maps/device_tracker.py:56: error: Need type annotation for '_prev_seen' (hint: "_prev_seen: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/google_pubsub/__init__.py:49: error: Argument 1 to "join" has incompatible type "Optional[str]"; expected "Union[str, _PathLike[str]]" [arg-type] | |
homeassistant/components/gpmdp/media_player.py:31: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/gree/climate.py:150: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:166: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:202: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:205: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:205: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/gree/climate.py:219: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:220: error: "DataUpdateCoordinator[Any]" has no attribute "push_state_update" [attr-defined] | |
homeassistant/components/gree/climate.py:224: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:225: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:227: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:228: error: "DataUpdateCoordinator[Any]" has no attribute "push_state_update" [attr-defined] | |
homeassistant/components/gree/climate.py:235: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:236: error: "DataUpdateCoordinator[Any]" has no attribute "push_state_update" [attr-defined] | |
homeassistant/components/gree/climate.py:243: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:244: error: "DataUpdateCoordinator[Any]" has no attribute "push_state_update" [attr-defined] | |
homeassistant/components/gree/climate.py:257: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:259: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:261: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:263: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:303: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:304: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/gree/climate.py:323: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/climate.py:324: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/gree/config_flow.py:18: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Coroutine[Any, Any, bool]]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/gree/switch.py:71: error: "DataUpdateCoordinator[Any]" has no attribute "device" [attr-defined] | |
homeassistant/components/growatt_server/sensor.py:548: error: Argument 1 to "update" of "dict" has incompatible type "Dict[str, object]"; expected "Mapping[str, Tuple[str, str, str, object]]" [arg-type] | |
homeassistant/components/gtfs/sensor.py:545: error: Need type annotation for '_attributes' (hint: "_attributes: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/gtfs/sensor.py:548: error: Need type annotation for '_departure' (hint: "_departure: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/guardian/__init__.py:152: error: Need type annotation for '_listeners' (hint: "_listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/guardian/__init__.py:153: error: Need type annotation for '_paired_uids' (hint: "_paired_uids: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/guardian/__init__.py:291: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/__init__.py:293: error: Incompatible types in assignment (expression has type "Set[Tuple[str, Any]]", target has type "str") [assignment] | |
homeassistant/components/guardian/__init__.py:295: error: Incompatible types in assignment (expression has type "Tuple[str, Any]", target has type "str") [assignment] | |
homeassistant/components/guardian/__init__.py:329: error: Incompatible types in assignment (expression has type "Set[Tuple[str, Any]]", target has type "str") [assignment] | |
homeassistant/components/guardian/__init__.py:333: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/__init__.py:340: error: "str" has no attribute "last_update_success" [attr-defined] | |
homeassistant/components/guardian/__init__.py:383: error: "str" has no attribute "async_request_refresh" [attr-defined] | |
homeassistant/components/guardian/binary_sensor.py:105: error: Argument 1 to "append" of "list" has incompatible type "PairedSensorBinarySensor"; expected "ValveControllerBinarySensor" [arg-type] | |
homeassistant/components/guardian/binary_sensor.py:131: error: Argument 5 to "__init__" of "PairedSensorEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/binary_sensor.py:131: error: Argument 6 to "__init__" of "PairedSensorEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/binary_sensor.py:149: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/binary_sensor.py:151: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/binary_sensor.py:167: error: Argument 5 to "__init__" of "ValveControllerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/binary_sensor.py:167: error: Argument 6 to "__init__" of "ValveControllerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/binary_sensor.py:198: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/binary_sensor.py:201: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/guardian/binary_sensor.py:207: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/sensor.py:106: error: Argument 1 to "append" of "list" has incompatible type "PairedSensorSensor"; expected "ValveControllerSensor" [arg-type] | |
homeassistant/components/guardian/sensor.py:128: error: Argument 5 to "__init__" of "PairedSensorEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/sensor.py:128: error: Argument 6 to "__init__" of "PairedSensorEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/sensor.py:141: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/guardian/sensor.py:146: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/guardian/sensor.py:152: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/sensor.py:154: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/sensor.py:171: error: Argument 5 to "__init__" of "ValveControllerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/sensor.py:171: error: Argument 6 to "__init__" of "ValveControllerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/guardian/sensor.py:190: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/guardian/sensor.py:195: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/guardian/sensor.py:206: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/sensor.py:210: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:116: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:125: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:128: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:131: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:134: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/guardian/switch.py:69: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/guardian/switch.py:93: error: Argument 5 to "__init__" of "ValveControllerEntity" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/habitica/sensor.py:21: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:22: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:23: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:24: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:25: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:26: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:27: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:28: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:29: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:30: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:34: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:35: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:36: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/habitica/sensor.py:37: error: Too many arguments for "tuple" [call-arg] | |
homeassistant/components/harmony/__init__.py:36: error: Argument 4 to "HarmonyData" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/harmony/data.py:112: error: "None" has no attribute "connect" [attr-defined] | |
homeassistant/components/harmony/data.py:114: error: "None" has no attribute "close" [attr-defined] | |
homeassistant/components/harmony/data.py:142: error: "None" has no attribute "get_activity_name" [attr-defined] | |
homeassistant/components/harmony/data.py:149: error: "None" has no attribute "get_activity_id" [attr-defined] | |
homeassistant/components/harmony/data.py:168: error: "None" has no attribute "start_activity" [attr-defined] | |
homeassistant/components/harmony/data.py:193: error: "None" has no attribute "get_device_name" [attr-defined] | |
homeassistant/components/harmony/data.py:200: error: "None" has no attribute "get_device_id" [attr-defined] | |
homeassistant/components/harmony/data.py:227: error: "None" has no attribute "send_commands" [attr-defined] | |
homeassistant/components/harmony/data.py:245: error: "None" has no attribute "change_channel" [attr-defined] | |
homeassistant/components/harmony/data.py:256: error: "None" has no attribute "sync" [attr-defined] | |
homeassistant/components/harmony/data.py:79: error: "None" has no attribute "current_activity" [attr-defined] | |
homeassistant/components/harmony/data.py:84: error: "None" has no attribute "hub_config" [attr-defined] | |
homeassistant/components/harmony/data.py:89: error: "None" has no attribute "hub_config" [attr-defined] | |
homeassistant/components/harmony/data.py:90: error: "None" has no attribute "fw_version" [attr-defined] | |
homeassistant/components/harmony/remote.py:74: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/harmony/remote.py:79: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/hassio/__init__.py:387: error: "Config" has no attribute "get" [attr-defined] | |
homeassistant/components/hassio/__init__.py:405: error: "Config" has no attribute "get" [attr-defined] | |
homeassistant/components/hassio/__init__.py:506: error: Argument 1 to "async_setup_discovery_view" has incompatible type "HomeAssistant"; expected "HomeAssistantView" [arg-type] | |
homeassistant/components/hassio/__init__.py:509: error: Argument 2 to "async_setup_auth_view" has incompatible type "Optional[User]"; expected "User" [arg-type] | |
homeassistant/components/hassio/__init__.py:600: error: Argument 1 to <set> has incompatible type "Tuple[str, Dict[str, Any]]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/hassio/__init__.py:636: error: Argument 3 to "async_register_addons_in_dev_reg" has incompatible type "ValuesView[Any]"; expected "List[Dict[str, Any]]" [arg-type] | |
homeassistant/components/hassio/auth.py:47: error: Item "None" of "Optional[Transport]" has no attribute "get_extra_info" [union-attr] | |
homeassistant/components/hassio/binary_sensor.py:32: error: Argument 1 to "append" of "list" has incompatible type "HassioOSBinarySensor"; expected "HassioAddonBinarySensor" [arg-type] | |
homeassistant/components/hassio/binary_sensor.py:34: error: Argument 1 has incompatible type "List[HassioAddonBinarySensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/hassio/binary_sensor.py:34: error: Too few arguments [call-arg] | |
homeassistant/components/hassio/binary_sensor.py:34: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/hassio/binary_sensor.py:34: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/hassio/discovery.py:22: error: "HomeAssistantView" has no attribute "http" [attr-defined] | |
homeassistant/components/hassio/discovery.py:40: error: "HomeAssistantView" has no attribute "bus" [attr-defined] | |
homeassistant/components/hassio/entity.py:34: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/hassio/entity.py:75: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/hassio/http.py:122: error: Argument 1 to "write" of "StreamResponse" has incompatible type "Optional[bytes]"; expected "bytes" [arg-type] | |
homeassistant/components/hassio/ingress.py:188: error: Item "None" of "Optional[Transport]" has no attribute "get_extra_info" [union-attr] | |
homeassistant/components/hassio/ingress.py:82: error: Incompatible types in assignment (expression has type "Tuple[]", variable has type "List[str]") [assignment] | |
homeassistant/components/hassio/sensor.py:35: error: Argument 1 to "append" of "list" has incompatible type "HassioOSSensor"; expected "HassioAddonSensor" [arg-type] | |
homeassistant/components/hassio/sensor.py:37: error: Argument 1 has incompatible type "List[HassioAddonSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/hassio/sensor.py:37: error: Too few arguments [call-arg] | |
homeassistant/components/hassio/sensor.py:37: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/hassio/sensor.py:37: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/hassio/system_health.py:28: error: Incompatible types in assignment (expression has type "Dict[str, str]", variable has type "bool") [assignment] | |
homeassistant/components/hassio/system_health.py:37: error: Incompatible types in assignment (expression has type "Dict[str, str]", variable has type "bool") [assignment] | |
homeassistant/components/hassio/websocket_api.py:111: error: "bool" has no attribute "get" [attr-defined] | |
homeassistant/components/hassio/websocket_api.py:47: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, Any]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/hassio/websocket_api.py:47: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/hassio/websocket_api.py:66: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, Any]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/hassio/websocket_api.py:66: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/hassio/websocket_api.py:81: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, Any]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/hassio/websocket_api.py:81: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/hdmi_cec/__init__.py:140: error: Cannot determine type of 'DEVICE_SCHEMA' [has-type] | |
homeassistant/components/hdmi_cec/__init__.py:69: error: Need type annotation for 'CEC_DEVICES' [var-annotated] | |
homeassistant/components/hdmi_cec/media_player.py:154: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/hdmi_cec/switch.py:36: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/hdmi_cec/switch.py:42: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/hdmi_cec/switch.py:67: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/here_travel_time/sensor.py:128: error: Dict entry 0 has incompatible type "None": "Any"; expected "str": "Any" [dict-item] | |
homeassistant/components/here_travel_time/sensor.py:167: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/here_travel_time/sensor.py:176: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 2 to "HERETravelTimeData" has incompatible type "Union[str, bool]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 3 to "HERETravelTimeData" has incompatible type "Union[str, bool]"; expected "bool" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 4 to "HERETravelTimeData" has incompatible type "Union[str, bool]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 5 to "HERETravelTimeData" has incompatible type "Union[str, bool]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 6 to "HERETravelTimeData" has incompatible type "Union[str, bool, None]"; expected "datetime" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:188: error: Argument 7 to "HERETravelTimeData" has incompatible type "Union[str, bool, None]"; expected "datetime" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:192: error: Argument 1 to "HERETravelTimeSensor" has incompatible type "Union[str, bool]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:192: error: Argument 4 to "HERETravelTimeSensor" has incompatible type "Union[str, bool, None]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:192: error: Argument 5 to "HERETravelTimeSensor" has incompatible type "Union[str, bool, None]"; expected "str" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:316: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "None") [assignment] | |
homeassistant/components/here_travel_time/sensor.py:321: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "None") [assignment] | |
homeassistant/components/here_travel_time/sensor.py:341: error: Argument 1 to "has_location" has incompatible type "Optional[State]"; expected "State" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:343: error: Item "None" of "Optional[State]" has no attribute "entity_id" [union-attr] | |
homeassistant/components/here_travel_time/sensor.py:345: error: Argument 1 to "_get_location_from_attributes" of "HERETravelTimeSensor" has incompatible type "Optional[State]"; expected "State" [arg-type] | |
homeassistant/components/here_travel_time/sensor.py:483: error: Missing return statement [return] | |
homeassistant/components/here_travel_time/sensor.py:499: error: Argument 2 to "combine" of "datetime" has incompatible type "Optional[time]"; expected "time" [arg-type] | |
homeassistant/components/hisense_aehw4a1/config_flow.py:17: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/home_connect/api.py:141: error: Need type annotation for 'PROGRAMS' (hint: "PROGRAMS: List[<type>] = ...") [var-annotated] | |
homeassistant/components/home_connect/api.py:57: error: Need type annotation for 'devices' (hint: "devices: List[<type>] = ...") [var-annotated] | |
homeassistant/components/home_plus_control/__init__.py:87: error: Need type annotation for 'uids' (hint: "uids: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/home_plus_control/api.py:45: error: "AbstractOAuth2Implementation" has no attribute "subscription_key" [attr-defined] | |
homeassistant/components/homeassistant/scene.py:118: error: String literal expected as namedtuple() item [misc] | |
homeassistant/components/homeassistant/triggers/numeric_state.py:82: error: Need type annotation for '_variables' (hint: "_variables: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/homeassistant/triggers/state.py:124: error: Argument 1 has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/homeassistant/triggers/state.py:125: error: Argument 1 has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/homeassistant/triggers/state.py:181: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "str") [assignment] | |
homeassistant/components/homeassistant/triggers/state.py:192: error: Argument 4 to "async_track_same_state" has incompatible type "Callable[[Any, Any, State], Any]"; expected "Callable[[str, Optional[State], Optional[State]], bool]" [arg-type] | |
homeassistant/components/homeassistant/triggers/state.py:91: error: Need type annotation for '_variables' (hint: "_variables: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/homeassistant/triggers/time.py:28: error: Argument 1 to "entity_domain" has incompatible type "Tuple[str, str]"; expected "Union[str, List[str]]" [arg-type] | |
homeassistant/components/homekit/aidmanager.py:109: error: "int" has no attribute "__iter__"; maybe "__str__", "__int__", or "__invert__"? (not iterable) [attr-defined] | |
homeassistant/components/homekit/aidmanager.py:40: error: The return type of a generator function should be "Generator" or one of its supertypes [misc] | |
homeassistant/components/homekit/aidmanager.py:71: error: Need type annotation for 'allocations' (hint: "allocations: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/homekit/aidmanager.py:72: error: Need type annotation for 'allocated_aids' (hint: "allocated_aids: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/homekit/aidmanager.py:95: error: "None" has no attribute "async_get" [attr-defined] | |
homeassistant/components/homekit/aidmanager.py:97: error: Argument 1 to "_get_or_allocate_aid" of "AccessoryAidStorage" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/homekit/config_flow.py:103: error: Need type annotation for '_EMPTY_ENTITY_FILTER' [var-annotated] | |
homeassistant/components/homekit/config_flow.py:270: error: Need type annotation for 'hk_options' (hint: "hk_options: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/homekit/config_flow.py:271: error: Need type annotation for 'included_cameras' (hint: "included_cameras: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/homekit/util.py:460: error: Missing return statement [return] | |
homeassistant/components/homekit_controller/device_trigger.py:73: error: Variable "homeassistant.components.homekit_controller.device_trigger.TRIGGER_SCHEMA" is not valid as a type [valid-type] | |
homeassistant/components/homekit_controller/device_trigger.py:73: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/homekit_controller/device_trigger.py:87: error: Value of type TRIGGER_SCHEMA? is not indexable [index] | |
homeassistant/components/homematicip_cloud/__init__.py:102: error: "None" has no attribute "id" [attr-defined] | |
homeassistant/components/homematicip_cloud/__init__.py:125: error: "None" has no attribute "currentAPVersion" [attr-defined] | |
homeassistant/components/homematicip_cloud/__init__.py:135: error: "None" has no attribute "accessPointUpdateStates" [attr-defined] | |
homeassistant/components/homematicip_cloud/__init__.py:55: error: Argument 1 to "async_add_job" of "HomeAssistant" has incompatible type "Coroutine[Any, Any, FlowResultDict]"; expected "Callable[..., Any]" [arg-type] | |
homeassistant/components/homematicip_cloud/__init__.py:90: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/homematicip_cloud/__init__.py:98: error: "None" has no attribute "label" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:118: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:119: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:130: error: "None" has no attribute "connected" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:135: error: "None" has no attribute "id" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:52: error: "None" has no attribute "id" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:56: error: "None" has no attribute "id" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:66: error: "None" has no attribute "get_security_zones_activation" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:78: error: "None" has no attribute "get_functionalHome" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:87: error: "None" has no attribute "set_security_zones_activation" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:91: error: "None" has no attribute "set_security_zones_activation" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:95: error: "None" has no attribute "set_security_zones_activation" [attr-defined] | |
homeassistant/components/homematicip_cloud/alarm_control_panel.py:99: error: "None" has no attribute "on_update" [attr-defined] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:101: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiContactInterface"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:106: error: Argument 1 to "append" of "list" has incompatible type "HomematicipContactInterface"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:111: error: Argument 1 to "append" of "list" has incompatible type "HomematicipShutterContact"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:113: error: Argument 1 to "append" of "list" has incompatible type "HomematicipShutterContact"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:122: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMotionDetector"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:125: error: Argument 1 to "append" of "list" has incompatible type "HomematicipPluggableMainsFailureSurveillanceSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:128: error: Argument 1 to "append" of "list" has incompatible type "HomematicipPresenceDetector"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:130: error: Argument 1 to "append" of "list" has incompatible type "HomematicipSmokeDetector"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:132: error: Argument 1 to "append" of "list" has incompatible type "HomematicipWaterDetector"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:136: error: Argument 1 to "append" of "list" has incompatible type "HomematicipRainSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:140: error: Argument 1 to "append" of "list" has incompatible type "HomematicipStormSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:141: error: Argument 1 to "append" of "list" has incompatible type "HomematicipSunshineSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:143: error: Argument 1 to "append" of "list" has incompatible type "HomematicipBatterySensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:147: error: Argument 1 to "append" of "list" has incompatible type "HomematicipSecuritySensorGroup"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:149: error: Argument 1 to "append" of "list" has incompatible type "HomematicipSecurityZoneSensorGroup"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:168: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:177: error: "None" has no attribute "id" [attr-defined] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:186: error: "None" has no attribute "connected" [attr-defined] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:193: error: "None" has no attribute "connected" [attr-defined] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:259: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:90: error: Argument 1 to "append" of "list" has incompatible type "HomematicipAccelerationSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:92: error: Argument 1 to "append" of "list" has incompatible type "HomematicipTiltVibrationSensor"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/binary_sensor.py:96: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiContactInterface"; expected "HomematicipCloudConnectionSensor" [arg-type] | |
homeassistant/components/homematicip_cloud/climate.py:261: error: "None" has no attribute "get_functionalHome" [attr-defined] | |
homeassistant/components/homematicip_cloud/climate.py:277: error: "str" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/climate.py:285: error: "str" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/climate.py:288: error: No overload variant of "__getitem__" of "list" matches argument type "Callable[[str, Optional[int], Optional[int]], int]" [call-overload] | |
homeassistant/components/homematicip_cloud/climate.py:288: note: def __getitem__(self, int) -> str | |
homeassistant/components/homematicip_cloud/climate.py:288: note: def __getitem__(self, slice) -> List[str] | |
homeassistant/components/homematicip_cloud/climate.py:288: note: Possible overload variants: | |
homeassistant/components/homematicip_cloud/climate.py:308: error: Incompatible return value type (got "Dict[str, int]", expected "List[str]") [return-value] | |
homeassistant/components/homematicip_cloud/config_flow.py:32: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/homematicip_cloud/config_flow.py:46: error: Incompatible types in assignment (expression has type "HomematicipAuth", variable has type "None") [assignment] | |
homeassistant/components/homematicip_cloud/config_flow.py:47: error: "None" has no attribute "async_setup" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:55: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/config_flow.py:71: error: "None" has no attribute "async_checkbutton" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:73: error: "None" has no attribute "async_register" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:76: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/config_flow.py:77: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:79: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:81: error: "None" has no attribute "config" [attr-defined] | |
homeassistant/components/homematicip_cloud/config_flow.py:84: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/config_flow.py:87: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/config_flow.py:99: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:161: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:223: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:265: error: Incompatible return value type (got "Optional[int]", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:298: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:305: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:44: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiCoverSlats"; expected "HomematicipBlindModule" [arg-type] | |
homeassistant/components/homematicip_cloud/cover.py:47: error: Argument 1 to "append" of "list" has incompatible type "HomematicipCoverSlats"; expected "HomematicipBlindModule" [arg-type] | |
homeassistant/components/homematicip_cloud/cover.py:49: error: Argument 1 to "append" of "list" has incompatible type "HomematicipCoverShutter"; expected "HomematicipBlindModule" [arg-type] | |
homeassistant/components/homematicip_cloud/cover.py:53: error: Argument 1 to "append" of "list" has incompatible type "HomematicipGarageDoorModule"; expected "HomematicipBlindModule" [arg-type] | |
homeassistant/components/homematicip_cloud/cover.py:57: error: Argument 1 to "append" of "list" has incompatible type "HomematicipCoverShutterGroup"; expected "HomematicipBlindModule" [arg-type] | |
homeassistant/components/homematicip_cloud/cover.py:71: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/cover.py:78: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/homematicip_cloud/generic_entity.py:111: error: Incompatible return value type (got "None", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/homematicip_cloud/generic_entity.py:201: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/generic_entity.py:202: error: "None" has no attribute "name" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:127: error: "None" has no attribute "connected" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:155: error: "None" has no attribute "get_current_state" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:166: error: "None" has no attribute "disable_events" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:170: error: "None" has no attribute "devices" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:176: error: "None" has no attribute "devices" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:186: error: "None" has no attribute "get_current_state" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:187: error: "None" has no attribute "enable_events" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:204: error: Incompatible types in assignment (expression has type "Task[Any]", variable has type "None") [assignment] | |
homeassistant/components/homematicip_cloud/hap.py:205: error: Argument 1 to "async_create_task" of "HomeAssistant" has incompatible type "Future[<nothing>]"; expected "Coroutine[Any, Any, Any]" [arg-type] | |
homeassistant/components/homematicip_cloud/hap.py:207: error: Incompatible types in "await" (actual type "None", expected type "Awaitable[Any]") [misc] | |
homeassistant/components/homematicip_cloud/hap.py:216: error: "None" has no attribute "disable_events" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:44: error: "None" has no attribute "isRequestAcknowledged" [attr-defined] | |
homeassistant/components/homematicip_cloud/hap.py:83: error: Need type annotation for 'hmip_device_by_entity_id' (hint: "hmip_device_by_entity_id: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/homematicip_cloud/hap.py:91: error: Argument 2 to "get_hap" of "HomematicipHAP" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/homematicip_cloud/hap.py:92: error: Argument 3 to "get_hap" of "HomematicipHAP" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/homematicip_cloud/hap.py:93: error: Argument 4 to "get_hap" of "HomematicipHAP" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/homematicip_cloud/light.py:205: error: Return type "Tuple[Any, ...]" of "hs_color" incompatible with return type "Optional[Tuple[float, float]]" in supertype "LightEntity" [override] | |
homeassistant/components/homematicip_cloud/light.py:208: error: Incompatible return value type (got "Union[List[float], Tuple[Any, ...]]", expected "Tuple[Any, ...]") [return-value] | |
homeassistant/components/homematicip_cloud/light.py:48: error: Argument 1 to "append" of "list" has incompatible type "HomematicipLight"; expected "HomematicipLightMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/light.py:50: error: Argument 1 to "append" of "list" has incompatible type "HomematicipNotificationLight"; expected "HomematicipLightMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/light.py:53: error: Argument 1 to "append" of "list" has incompatible type "HomematicipNotificationLight"; expected "HomematicipLightMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/light.py:59: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiDimmer"; expected "HomematicipLightMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/light.py:64: error: Argument 1 to "append" of "list" has incompatible type "HomematicipDimmer"; expected "HomematicipLightMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:104: error: Argument 1 to "append" of "list" has incompatible type "HomematicipIlluminanceSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:113: error: Argument 1 to "append" of "list" has incompatible type "HomematicipPowerSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:117: error: Argument 1 to "append" of "list" has incompatible type "HomematicipWindspeedSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:119: error: Argument 1 to "append" of "list" has incompatible type "HomematicipTodayRainSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:121: error: Argument 1 to "append" of "list" has incompatible type "HomematicipPassageDetectorDeltaCounter"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:161: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/homematicip_cloud/sensor.py:74: error: Argument 1 to "append" of "list" has incompatible type "HomematicipHeatingThermostat"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:75: error: Argument 1 to "append" of "list" has incompatible type "HomematicipTemperatureSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:87: error: Argument 1 to "append" of "list" has incompatible type "HomematicipTemperatureSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:88: error: Argument 1 to "append" of "list" has incompatible type "HomematicipHumiditySensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/sensor.py:90: error: Argument 1 to "append" of "list" has incompatible type "HomematicipTemperatureSensor"; expected "HomematicipAccesspointDutyCycle" [arg-type] | |
homeassistant/components/homematicip_cloud/services.py:319: error: Argument 1 to "Path" has incompatible type "Union[Any, str, None]"; expected "Union[str, _PathLike[str]]" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:50: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:52: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:55: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:64: error: Argument 1 to "append" of "list" has incompatible type "HomematicipSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:67: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:70: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:73: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:76: error: Argument 1 to "append" of "list" has incompatible type "HomematicipMultiSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/switch.py:80: error: Argument 1 to "append" of "list" has incompatible type "HomematicipGroupSwitch"; expected "HomematicipSwitchMeasuring" [arg-type] | |
homeassistant/components/homematicip_cloud/weather.py:129: error: "None" has no attribute "modelType" [attr-defined] | |
homeassistant/components/homematicip_cloud/weather.py:135: error: "None" has no attribute "connected" [attr-defined] | |
homeassistant/components/homematicip_cloud/weather.py:140: error: "None" has no attribute "location" [attr-defined] | |
homeassistant/components/homematicip_cloud/weather.py:175: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/homematicip_cloud/weather.py:58: error: Argument 1 to "append" of "list" has incompatible type "HomematicipWeatherSensor"; expected "HomematicipWeatherSensorPro" [arg-type] | |
homeassistant/components/homematicip_cloud/weather.py:60: error: Argument 1 to "append" of "list" has incompatible type "HomematicipHomeWeather"; expected "HomematicipWeatherSensorPro" [arg-type] | |
homeassistant/components/honeywell/climate.py:206: error: Incompatible types in assignment (expression has type "bool", target has type "str") [assignment] | |
homeassistant/components/honeywell/climate.py:223: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/honeywell/climate.py:232: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/honeywell/climate.py:300: error: Return type "Optional[str]" of "is_aux_heat" incompatible with return type "Optional[bool]" in supertype "ClimateEntity" [override] | |
homeassistant/components/hue/config_flow.py:123: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/hue/config_flow.py:132: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/hue/config_flow.py:258: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/hue/config_flow.py:260: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/hue/sensor_base.py:18: error: Need type annotation for 'SENSOR_CONFIG_MAP' (hint: "SENSOR_CONFIG_MAP: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/huisbaasje/sensor.py:66: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/huisbaasje/sensor.py:92: error: Incompatible return value type (got "Union[bool, Any, None]", expected "bool") [return-value] | |
homeassistant/components/humidifier/__init__.py:115: error: Incompatible types in assignment (expression has type "Optional[List[str]]", target has type "int") [assignment] | |
homeassistant/components/humidifier/__init__.py:130: error: Incompatible types in assignment (expression has type "Optional[str]", target has type "int") [assignment] | |
homeassistant/components/humidifier/device_action.py:95: error: Argument 4 to "async_call_action_from_config" has incompatible type "Optional[Context]"; expected "Context" [arg-type] | |
homeassistant/components/humidifier/device_condition.py:83: error: Incompatible return value type (got "Union[State, None, Any]", expected "bool") [return-value] | |
homeassistant/components/humidifier/reproduce_state.py:72: error: Item "None" of "Optional[State]" has no attribute "attributes" [union-attr] | |
homeassistant/components/humidifier/reproduce_state.py:78: error: Item "None" of "Optional[State]" has no attribute "attributes" [union-attr] | |
homeassistant/components/iaqualink/__init__.py:107: error: No return value expected [return-value] | |
homeassistant/components/iaqualink/__init__.py:157: error: No return value expected [return-value] | |
homeassistant/components/iaqualink/__init__.py:74: error: No return value expected [return-value] | |
homeassistant/components/iaqualink/__init__.py:95: error: No return value expected [return-value] | |
homeassistant/components/iaqualink/binary_sensor.py:44: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/iaqualink/sensor.py:51: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/iaqualink/sensor.py:52: error: Incompatible return value type (got "int", expected "Optional[str]") [return-value] | |
homeassistant/components/iaqualink/switch.py:31: error: Missing return statement [return] | |
homeassistant/components/icloud/__init__.py:144: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:145: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:148: error: any? has no attribute "get_devices_with_name" [attr-defined] | |
homeassistant/components/icloud/__init__.py:153: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:154: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:156: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:157: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:159: error: any? has no attribute "get_devices_with_name" [attr-defined] | |
homeassistant/components/icloud/__init__.py:164: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:165: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:167: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:168: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:170: error: any? has no attribute "get_devices_with_name" [attr-defined] | |
homeassistant/components/icloud/__init__.py:175: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/icloud/__init__.py:181: error: any? has no attribute "keep_alive" [attr-defined] | |
homeassistant/components/icloud/__init__.py:183: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/__init__.py:183: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/account.py:101: error: Need type annotation for '_family_members_fullname' (hint: "_family_members_fullname: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/icloud/account.py:102: error: Need type annotation for '_devices' (hint: "_devices: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/icloud/account.py:106: error: Need type annotation for 'listeners' (hint: "listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/icloud/account.py:148: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/icloud/account.py:216: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/icloud/account.py:273: error: Item "None" of "Optional[State]" has no attribute "attributes" [union-attr] | |
homeassistant/components/icloud/account.py:274: error: Item "None" of "Optional[State]" has no attribute "attributes" [union-attr] | |
homeassistant/components/icloud/account.py:281: error: Unsupported operand types for / ("None" and "int") [operator] | |
homeassistant/components/icloud/account.py:281: note: Left operand is of type "Optional[float]" | |
homeassistant/components/icloud/account.py:308: error: Incompatible types in assignment (expression has type "float", target has type "int") [assignment] | |
homeassistant/components/icloud/account.py:326: error: Bracketed expression "[...]" is not valid as a type [misc] | |
homeassistant/components/icloud/account.py:326: note: Did you mean "List[...]"? | |
homeassistant/components/icloud/account.py:331: error: any? has no attribute "name" [attr-defined] | |
homeassistant/components/icloud/account.py:345: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/icloud/account.py:358: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/account.py:358: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/account.py:420: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/icloud/account.py:491: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/icloud/account.py:496: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/icloud/account.py:499: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/account.py:499: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/account.py:501: error: Incompatible return value type (got "None", expected "Dict[str, any?]") [return-value] | |
homeassistant/components/icloud/account.py:504: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/account.py:504: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/device_tracker.py:111: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/device_tracker.py:111: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/device_tracker.py:116: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/device_tracker.py:116: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/device_tracker.py:31: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/icloud/sensor.py:21: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/icloud/sensor.py:94: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/sensor.py:94: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/icloud/sensor.py:99: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/icloud/sensor.py:99: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/ihc/light.py:73: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/image/__init__.py:203: error: Argument 1 to "update" of "dict" has incompatible type "Dict[istr, str]"; expected "Mapping[str, str]" [arg-type] | |
homeassistant/components/incomfort/binary_sensor.py:32: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/binary_sensor.py:34: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/climate.py:36: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/climate.py:38: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:53: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:55: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:58: error: Value of type "object" is not indexable [index] | |
homeassistant/components/incomfort/sensor.py:84: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:85: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:95: error: Value of type "object" is not indexable [index] | |
homeassistant/components/incomfort/sensor.py:96: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/sensor.py:97: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/water_heater.py:42: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/incomfort/water_heater.py:44: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/influxdb/__init__.py:216: error: "Dict[Any, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/influxdb/__init__.py:222: error: Return value expected [return-value] | |
homeassistant/components/influxdb/__init__.py:264: error: Need type annotation for 'json' [var-annotated] | |
homeassistant/components/influxdb/__init__.py:270: error: "Dict[Any, Any]" has no attribute "time_fired" [attr-defined] | |
homeassistant/components/influxdb/__init__.py:274: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:276: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:281: error: Unsupported right operand type for in ("Optional[Any]") [operator] | |
homeassistant/components/influxdb/__init__.py:282: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:289: error: Unsupported right operand type for in ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [operator] | |
homeassistant/components/influxdb/__init__.py:296: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:300: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:303: error: Unsupported target for indexed assignment ("Union[Dict[Any, Any], Any, Dict[str, Any], str, None]") [index] | |
homeassistant/components/influxdb/__init__.py:309: error: Argument 1 to "isfinite" has incompatible type "Union[Any, str]"; expected "SupportsFloat" [arg-type] | |
homeassistant/components/influxdb/__init__.py:309: error: Value of type "Union[Dict[Any, Any], Any, Dict[str, Any], str, None]" is not indexable [index] | |
homeassistant/components/influxdb/__init__.py:310: error: Item "None" of "Union[Dict[Any, Any], Any, Dict[str, Any], str, None]" has no attribute "__delitem__" [union-attr] | |
homeassistant/components/influxdb/__init__.py:310: error: Item "str" of "Union[Dict[Any, Any], Any, Dict[str, Any], str, None]" has no attribute "__delitem__" [union-attr] | |
homeassistant/components/influxdb/__init__.py:312: error: Argument 1 to "update" of "dict" has incompatible type "Optional[Any]"; expected "Mapping[Any, Any]" [arg-type] | |
homeassistant/components/influxdb/__init__.py:312: error: Argument 1 to "update" of "dict" has incompatible type "Optional[Any]"; expected "Mapping[str, Any]" [arg-type] | |
homeassistant/components/influxdb/__init__.py:312: error: Item "None" of "Union[Dict[Any, Any], Any, Dict[str, Any], str, None]" has no attribute "update" [union-attr] | |
homeassistant/components/influxdb/__init__.py:312: error: Item "str" of "Union[Dict[Any, Any], Any, Dict[str, Any], str, None]" has no attribute "update" [union-attr] | |
homeassistant/components/influxdb/__init__.py:314: error: Incompatible return value type (got "Dict[str, Union[Dict[Any, Any], Any, Dict[str, Any], str, None]]", expected "str") [return-value] | |
homeassistant/components/input_boolean/__init__.py:151: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/input_datetime/__init__.py:213: error: Argument 1 to "combine" of "datetime" has incompatible type "Optional[date]"; expected "date" [arg-type] | |
homeassistant/components/input_datetime/__init__.py:218: error: Argument 2 to "combine" of "datetime" has incompatible type "Optional[time]"; expected "time" [arg-type] | |
homeassistant/components/input_datetime/__init__.py:222: error: Item "None" of "Optional[datetime]" has no attribute "tzinfo" [union-attr] | |
homeassistant/components/input_datetime/__init__.py:223: error: Item "None" of "Optional[datetime]" has no attribute "astimezone" [union-attr] | |
homeassistant/components/input_datetime/__init__.py:227: error: "tzinfo" has no attribute "localize" [attr-defined] | |
homeassistant/components/input_number/__init__.py:309: error: Value of type variable "SupportsLessThanT" of "min" cannot be "Union[float, Any, None]" [type-var] | |
homeassistant/components/input_number/__init__.py:310: error: Value of type variable "SupportsLessThanT" of "max" cannot be "Union[float, Any, None]" [type-var] | |
homeassistant/components/insteon/fan.py:45: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/insteon/ipdb.py:113: error: "object" has no attribute "get" [attr-defined] | |
homeassistant/components/insteon/schemas.py:164: error: Bracketed expression "[...]" is not valid as a type [misc] | |
homeassistant/components/insteon/schemas.py:164: note: Did you mean "List[...]"? | |
homeassistant/components/ipp/__init__.py:174: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/__init__.py:175: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/__init__.py:176: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/__init__.py:177: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/config_flow.py:100: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:102: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/ipp/config_flow.py:127: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:130: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:133: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:135: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:138: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:173: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:179: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:186: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:64: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/ipp/config_flow.py:80: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:82: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/config_flow.py:85: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ipp/sensor.py:118: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:118: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:126: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:129: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:132: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:140: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:161: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:169: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:170: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:171: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:172: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/ipp/sensor.py:173: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/ipp/sensor.py:174: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:175: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:181: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/ipp/sensor.py:198: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:204: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/ipp/sensor.py:46: error: Argument 1 to "append" of "list" has incompatible type "IPPUptimeSensor"; expected "IPPPrinterSensor" [arg-type] | |
homeassistant/components/ipp/sensor.py:48: error: Item "None" of "Optional[Any]" has no attribute "markers" [union-attr] | |
homeassistant/components/ipp/sensor.py:50: error: Argument 1 to "append" of "list" has incompatible type "IPPMarkerSensor"; expected "IPPPrinterSensor" [arg-type] | |
homeassistant/components/ipp/sensor.py:53: error: Argument 1 has incompatible type "List[IPPPrinterSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/ipp/sensor.py:53: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/ipp/sensor.py:53: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/ipp/sensor.py:91: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/ipp/sensor.py:96: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/isy994/binary_sensor.py:121: error: Item "None" of "Optional[ISYInsteonBinarySensorEntity]" has no attribute "add_negative_node" [union-attr] | |
homeassistant/components/isy994/binary_sensor.py:125: error: Incompatible types in assignment (expression has type "ISYBinarySensorHeartbeat", variable has type "ISYInsteonBinarySensorEntity") [assignment] | |
homeassistant/components/isy994/binary_sensor.py:126: error: Item "None" of "Optional[ISYInsteonBinarySensorEntity]" has no attribute "add_heartbeat_device" [union-attr] | |
homeassistant/components/isy994/binary_sensor.py:139: error: Item "None" of "Optional[ISYInsteonBinarySensorEntity]" has no attribute "state" [union-attr] | |
homeassistant/components/isy994/binary_sensor.py:168: error: Incompatible types in assignment (expression has type "ISYBinarySensorEntity", variable has type "ISYInsteonBinarySensorEntity") [assignment] | |
homeassistant/components/isy994/binary_sensor.py:172: error: Argument 1 to "append" of "list" has incompatible type "ISYBinarySensorProgramEntity"; expected "ISYInsteonBinarySensorEntity" [arg-type] | |
homeassistant/components/isy994/binary_sensor.py:178: error: Syntax error in type annotation [syntax] | |
homeassistant/components/isy994/binary_sensor.py:178: note: Suggestion: Use Tuple[T1, ..., Tn] instead of (T1, ..., Tn) | |
homeassistant/components/isy994/binary_sensor.py:218: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/binary_sensor.py:289: error: "None" has no attribute "status" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:290: error: "None" has no attribute "status" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:298: error: "object" has no attribute "control" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:314: error: "object" has no attribute "control" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:322: error: "object" has no attribute "control" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:357: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/binary_sensor.py:398: error: "object" has no attribute "control" [attr-defined] | |
homeassistant/components/isy994/binary_sensor.py:62: error: Missing return statement [return] | |
homeassistant/components/isy994/binary_sensor.py:83: error: Incompatible types in assignment (expression has type "ISYBinarySensorEntity", variable has type "ISYInsteonBinarySensorEntity") [assignment] | |
homeassistant/components/isy994/climate.py:103: error: Return type "str" of "precision" incompatible with return type "float" in supertype "ClimateEntity" [override] | |
homeassistant/components/isy994/climate.py:105: error: Incompatible return value type (got "float", expected "str") [return-value] | |
homeassistant/components/isy994/climate.py:108: error: Missing return statement [return] | |
homeassistant/components/isy994/climate.py:127: error: Return type "Optional[str]" of "hvac_mode" incompatible with return type "str" in supertype "ClimateEntity" [override] | |
homeassistant/components/isy994/climate.py:204: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/isy994/climate.py:205: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/isy994/climate.py:232: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/isy994/climate.py:240: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/isy994/climate.py:63: error: Missing return statement [return] | |
homeassistant/components/isy994/cover.py:29: error: Missing return statement [return] | |
homeassistant/components/isy994/cover.py:41: error: Argument 1 to "append" of "list" has incompatible type "ISYCoverProgramEntity"; expected "ISYCoverEntity" [arg-type] | |
homeassistant/components/isy994/cover.py:54: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/isy994/cover.py:63: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/entity.py:113: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/isy994/entity.py:120: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/isy994/entity.py:22: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/isy994/entity.py:27: error: Need type annotation for '_attrs' (hint: "_attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/isy994/fan.py:25: error: Missing return statement [return] | |
homeassistant/components/isy994/fan.py:38: error: Argument 1 to "append" of "list" has incompatible type "ISYFanProgramEntity"; expected "ISYFanEntity" [arg-type] | |
homeassistant/components/isy994/fan.py:65: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/fan.py:86: error: Argument 1 to "set_percentage" of "ISYFanEntity" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/isy994/helpers.py:103: error: Value of type "object" is not indexable [index] | |
homeassistant/components/isy994/helpers.py:168: error: Value of type "object" is not indexable [index] | |
homeassistant/components/isy994/helpers.py:205: error: Value of type "object" is not indexable [index] | |
homeassistant/components/isy994/helpers.py:242: error: Value of type "object" is not indexable [index] | |
homeassistant/components/isy994/helpers.py:374: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/isy994/helpers.py:416: error: Incompatible return value type (got "None", expected "Union[float, int]") [return-value] | |
homeassistant/components/isy994/helpers.py:76: error: Value of type "object" is not indexable [index] | |
homeassistant/components/isy994/light.py:118: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/isy994/light.py:31: error: Missing return statement [return] | |
homeassistant/components/isy994/light.py:67: error: Return type "float" of "brightness" incompatible with return type "Optional[int]" in supertype "LightEntity" [override] | |
homeassistant/components/isy994/light.py:70: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/isy994/light.py:78: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/isy994/light.py:86: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/isy994/lock.py:17: error: Missing return statement [return] | |
homeassistant/components/isy994/lock.py:29: error: Argument 1 to "append" of "list" has incompatible type "ISYLockProgramEntity"; expected "ISYLockEntity" [arg-type] | |
homeassistant/components/isy994/lock.py:42: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/lock.py:43: error: Incompatible return value type (got "Optional[bool]", expected "bool") [return-value] | |
homeassistant/components/isy994/sensor.py:102: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/isy994/sensor.py:28: error: Missing return statement [return] | |
homeassistant/components/isy994/sensor.py:42: error: Argument 1 to "append" of "list" has incompatible type "ISYSensorVariableEntity"; expected "ISYSensorEntity" [arg-type] | |
homeassistant/components/isy994/sensor.py:68: error: Incompatible return value type (got "Optional[str]", expected "Union[Dict[Any, Any], str]") [return-value] | |
homeassistant/components/isy994/sensor.py:75: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/isy994/services.py:411: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/isy994/services.py:414: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/isy994/switch.py:15: error: Missing return statement [return] | |
homeassistant/components/isy994/switch.py:27: error: Argument 1 to "append" of "list" has incompatible type "ISYSwitchProgramEntity"; expected "ISYSwitchEntity" [arg-type] | |
homeassistant/components/isy994/switch.py:40: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/isy994/switch.py:58: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/izone/climate.py:101: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/izone/climate.py:106: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/izone/climate.py:325: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:333: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:339: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:347: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:377: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:405: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:411: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:542: error: Decorated property not supported [misc] | |
homeassistant/components/izone/climate.py:81: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/izone/config_flow.py:46: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/kaiterra/const.py:71: error: Need type annotation for 'DEFAULT_PREFERRED_UNIT' (hint: "DEFAULT_PREFERRED_UNIT: List[<type>] = ...") [var-annotated] | |
homeassistant/components/keenetic_ndms2/config_flow.py:98: error: Need type annotation for '_interface_options' (hint: "_interface_options: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/keenetic_ndms2/device_tracker.py:103: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/kodi/config_flow.py:104: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/konnected/__init__.py:422: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/konnected/config_flow.py:170: error: Need type annotation for 'discovered_hosts' (hint: "discovered_hosts: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/konnected/config_flow.py:371: error: Need type annotation for 'new_opt' [var-annotated] | |
homeassistant/components/konnected/config_flow.py:373: error: Need type annotation for 'io_cfg' (hint: "io_cfg: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/konnected/config_flow.py:374: error: Need type annotation for 'current_states' (hint: "current_states: List[<type>] = ...") [var-annotated] | |
homeassistant/components/kostal_plenticore/helper.py:133: error: Need type annotation for '_fetch' [var-annotated] | |
homeassistant/components/kostal_plenticore/helper.py:145: error: Argument 3 to "async_call_later" has incompatible type "Callable[[datetime], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/kostal_plenticore/helper.py:222: error: Function "builtins.callable" is not valid as a type [valid-type] | |
homeassistant/components/kostal_plenticore/helper.py:222: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/kostal_plenticore/helper.py:250: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/kostal_plenticore/helper.py:260: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/kostal_plenticore/sensor.py:144: error: "DataUpdateCoordinator[Any]" has no attribute "start_fetch_data" [attr-defined] | |
homeassistant/components/kostal_plenticore/sensor.py:148: error: "DataUpdateCoordinator[Any]" has no attribute "stop_fetch_data" [attr-defined] | |
homeassistant/components/kostal_plenticore/sensor.py:63: error: Argument 7 to "PlenticoreDataSensor" has incompatible type "object"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/kostal_plenticore/sensor.py:94: error: Argument 7 to "PlenticoreDataSensor" has incompatible type "object"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/kulersky/config_flow.py:26: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Coroutine[Any, Any, bool]]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/kulersky/light.py:144: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/lifx/config_flow.py:17: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/litejet/config_flow.py:22: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/litejet/config_flow.py:27: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/litejet/config_flow.py:42: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/litejet/config_flow.py:47: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/litterrobot/__init__.py:25: error: Argument 2 to "LitterRobotHub" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/litterrobot/__init__.py:33: error: "None" has no attribute "robots" [attr-defined] | |
homeassistant/components/litterrobot/entity.py:76: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/litterrobot/entity.py:77: error: Argument 3 to "async_call_later" has incompatible type "Callable[[VarArg(Any)], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/litterrobot/hub.py:30: error: "None" has no attribute "refresh_robots" [attr-defined] | |
homeassistant/components/litterrobot/hub.py:46: error: "None" has no attribute "connect" [attr-defined] | |
homeassistant/components/litterrobot/hub.py:52: error: No return value expected [return-value] | |
homeassistant/components/litterrobot/sensor.py:103: error: Argument 1 has incompatible type "List[LitterRobotPropertySensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/litterrobot/sensor.py:103: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/litterrobot/sensor.py:103: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/litterrobot/sensor.py:57: error: Argument 1 to "icon_for_gauge_level" has incompatible type "str"; expected "Optional[int]" [arg-type] | |
homeassistant/components/litterrobot/sensor.py:64: error: Return type "Optional[str]" of "state" incompatible with return type "str" in supertype "LitterRobotPropertySensor" [override] | |
homeassistant/components/litterrobot/sensor.py:67: error: "str" has no attribute "isoformat"; maybe "format"? [attr-defined] | |
homeassistant/components/litterrobot/sensor.py:92: error: "None" has no attribute "robots" [attr-defined] | |
homeassistant/components/litterrobot/switch.py:75: error: "None" has no attribute "robots" [attr-defined] | |
homeassistant/components/litterrobot/switch.py:79: error: Argument 1 has incompatible type "List[LitterRobotControlEntity]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/litterrobot/switch.py:79: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/litterrobot/switch.py:79: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/litterrobot/vacuum.py:135: error: Argument 1 to "parse_time_at_default_timezone" of "LitterRobotControlEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/litterrobot/vacuum.py:51: error: "None" has no attribute "robots" [attr-defined] | |
homeassistant/components/litterrobot/vacuum.py:56: error: Argument 1 has incompatible type "List[LitterRobotCleaner]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/litterrobot/vacuum.py:56: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/litterrobot/vacuum.py:56: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/litterrobot/vacuum.py:59: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/litterrobot/vacuum.py:64: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/litterrobot/vacuum.py:72: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/lovelace/__init__.py:107: error: Incompatible types in assignment (expression has type "LovelaceStorage", variable has type "LovelaceYAML") [assignment] | |
homeassistant/components/lovelace/__init__.py:189: error: Incompatible types in assignment (expression has type "LovelaceYAML", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/lovelace/__init__.py:90: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/lovelace/dashboard.py:245: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload] | |
homeassistant/components/lovelace/dashboard.py:245: note: def __getitem__(self, int) -> Any | |
homeassistant/components/lovelace/dashboard.py:245: note: def __getitem__(self, slice) -> List[Any] | |
homeassistant/components/lovelace/dashboard.py:245: note: Possible overload variants: | |
homeassistant/components/lovelace/websocket.py:48: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/lovelace/websocket.py:61: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/lovelace/websocket.py:75: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/lovelace/websocket.py:90: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/luftdaten/sensor.py:88: error: Missing return statement [return] | |
homeassistant/components/luftdaten/sensor.py:94: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/lutron_caseta/device_trigger.py:236: error: Need type annotation for 'valid_buttons' [var-annotated] | |
homeassistant/components/lutron_caseta/device_trigger.py:263: error: "None" not callable [misc] | |
homeassistant/components/lutron_caseta/device_trigger.py:269: error: Value of type "Optional[Dict[str, int]]" is not indexable [index] | |
homeassistant/components/lyric/__init__.py:160: error: Item "None" of "Optional[Any]" has no attribute "update_thermostat" [union-attr] | |
homeassistant/components/lyric/__init__.py:175: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/lyric/__init__.py:180: error: Item "None" of "Optional[Any]" has no attribute "locations_dict" [union-attr] | |
homeassistant/components/lyric/climate.py:110: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/lyric/climate.py:176: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/lyric/climate.py:258: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Tuple[Any, Any]") [assignment] | |
homeassistant/components/lyric/climate.py:98: error: Item "None" of "Optional[Any]" has no attribute "locations" [union-attr] | |
homeassistant/components/lyric/sensor.py:120: error: Argument 6 to "__init__" of "LyricSensor" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/lyric/sensor.py:149: error: Argument 6 to "__init__" of "LyricSensor" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/lyric/sensor.py:178: error: Argument 6 to "__init__" of "LyricSensor" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/lyric/sensor.py:207: error: Argument 6 to "__init__" of "LyricSensor" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/lyric/sensor.py:212: error: Return type "datetime" of "state" incompatible with return type "Union[None, str, int, float]" in supertype "Entity" [override] | |
homeassistant/components/lyric/sensor.py:217: error: Unsupported operand types for >= ("time" and "None") [operator] | |
homeassistant/components/lyric/sensor.py:217: note: Left operand is of type "Optional[time]" | |
homeassistant/components/lyric/sensor.py:219: error: Argument 2 to "combine" of "datetime" has incompatible type "Optional[time]"; expected "time" [arg-type] | |
homeassistant/components/lyric/sensor.py:44: error: Item "None" of "Optional[Any]" has no attribute "locations" [union-attr] | |
homeassistant/components/lyric/sensor.py:50: error: Argument 1 to "append" of "list" has incompatible type "Type[LyricOutdoorTemperatureSensor]"; expected "Type[LyricIndoorTemperatureSensor]" [arg-type] | |
homeassistant/components/lyric/sensor.py:52: error: Argument 1 to "append" of "list" has incompatible type "Type[LyricOutdoorHumiditySensor]"; expected "Type[LyricIndoorTemperatureSensor]" [arg-type] | |
homeassistant/components/lyric/sensor.py:55: error: Argument 1 to "append" of "list" has incompatible type "Type[LyricNextPeriodSensor]"; expected "Type[LyricIndoorTemperatureSensor]" [arg-type] | |
homeassistant/components/lyric/sensor.py:57: error: Argument 1 to "append" of "list" has incompatible type "Type[LyricSetpointStatusSensor]"; expected "Type[LyricIndoorTemperatureSensor]" [arg-type] | |
homeassistant/components/lyric/sensor.py:94: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/lyric/sensor.py:99: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/marytts/tts.py:22: error: Need type annotation for 'DEFAULT_EFFECTS' (hint: "DEFAULT_EFFECTS: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/media_source/local_source.py:109: error: Argument 2 to "_browse_media" of "LocalSource" has incompatible type "str"; expected "Path" [arg-type] | |
homeassistant/components/media_source/local_source.py:147: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/media_source/local_source.py:61: error: Return type "Coroutine[Any, Any, str]" of "async_resolve_media" incompatible with return type "Coroutine[Any, Any, PlayMedia]" in supertype "MediaSource" [override] | |
homeassistant/components/media_source/local_source.py:70: error: Argument 2 to "PlayMedia" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/media_source/local_source.py:70: error: Incompatible return value type (got "PlayMedia", expected "str") [return-value] | |
homeassistant/components/media_source/local_source.py:73: error: Incompatible default for argument "media_types" (default has type "Tuple[str, str, str]", argument has type "Tuple[str]") [assignment] | |
homeassistant/components/media_source/models.py:107: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/media_source/models.py:30: error: Incompatible types in assignment (expression has type "Optional[List[BrowseMediaSource]]", base class "BrowseMedia" defined the type as "Optional[List[BrowseMedia]]") [assignment] | |
homeassistant/components/media_source/models.py:79: error: Missing positional argument "media_types" in call to "async_browse_media" of "MediaSource" [call-arg] | |
homeassistant/components/melcloud/__init__.py:164: error: Incompatible return value type (got "Dict[Any, List[MelCloudDevice]]", expected "List[MelCloudDevice]") [return-value] | |
homeassistant/components/melcloud/__init__.py:46: error: Unsupported right operand type for in ("ConfigEntry") [operator] | |
homeassistant/components/melcloud/__init__.py:49: error: Value of type "ConfigEntry" is not indexable [index] | |
homeassistant/components/melcloud/__init__.py:50: error: Value of type "ConfigEntry" is not indexable [index] | |
homeassistant/components/melcloud/climate.py:177: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/melcloud/climate.py:198: error: List comprehension has incompatible type List[Optional[str]]; expected List[str] [misc] | |
homeassistant/components/melcloud/climate.py:257: error: Return type "Optional[str]" of "swing_modes" incompatible with return type "Optional[List[str]]" in supertype "ClimateEntity" [override] | |
homeassistant/components/melcloud/climate.py:80: error: List comprehension has incompatible type List[AtwDeviceZoneClimate]; expected List[AtaDeviceClimate] [misc] | |
homeassistant/components/melcloud/climate.py:88: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/melcloud/climate.py:93: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/meteo_france/__init__.py:114: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/meteo_france/__init__.py:132: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/meteo_france/sensor.py:155: error: Incompatible return value type (got "Union[bool, str, None]", expected "bool") [return-value] | |
homeassistant/components/meteo_france/sensor.py:200: error: Item "None" of "Optional[Any]" has no attribute "domain_id" [union-attr] | |
homeassistant/components/meteo_france/sensor.py:229: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/meteo_france/sensor.py:57: error: Argument 1 to "append" of "list" has incompatible type "MeteoFranceAlertSensor"; expected "MeteoFranceRainSensor" [arg-type] | |
homeassistant/components/meteo_france/sensor.py:61: error: Argument 1 to "append" of "list" has incompatible type "MeteoFranceSensor"; expected "MeteoFranceRainSensor" [arg-type] | |
homeassistant/components/meteo_france/sensor.py:70: error: Argument 1 to "append" of "list" has incompatible type "MeteoFranceSensor"; expected "MeteoFranceRainSensor" [arg-type] | |
homeassistant/components/meteo_france/sensor.py:86: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/meteo_france/sensor.py:88: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/meteo_france/weather.py:41: error: Unsupported right operand type for in ("object") [operator] | |
homeassistant/components/meteo_france/weather.py:74: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/meteo_france/weather.py:76: error: Item "None" of "Optional[Any]" has no attribute "position" [union-attr] | |
homeassistant/components/metoffice/sensor.py:213: error: Incompatible return value type (got "Union[bool, str, None]", expected "bool") [return-value] | |
homeassistant/components/metoffice/sensor.py:84: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/metoffice/sensor.py:88: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/metoffice/weather.py:24: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/metoffice/weather.py:29: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/minecraft_server/__init__.py:122: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/minecraft_server/__init__.py:128: error: "None" not callable [misc] | |
homeassistant/components/minecraft_server/__init__.py:197: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "None") [assignment] | |
homeassistant/components/minecraft_server/__init__.py:200: error: "None" has no attribute "append" [attr-defined] | |
homeassistant/components/minecraft_server/__init__.py:201: error: "None" has no attribute "sort" [attr-defined] | |
homeassistant/components/minecraft_server/__init__.py:289: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/minecraft_server/__init__.py:295: error: "None" not callable [misc] | |
homeassistant/components/minecraft_server/__init__.py:46: error: Argument 2 to "MinecraftServer" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/minecraft_server/__init__.py:46: error: Argument 3 to "MinecraftServer" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/minecraft_server/helpers.py:33: error: Incompatible return value type (got "Optional[Dict[str, Any]]", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/minecraft_server/sensor.py:158: error: Incompatible return value type (got "None", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/minecraft_server/sensor.py:63: error: Argument 3 to "__init__" of "MinecraftServerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/minecraft_server/sensor.py:63: error: Argument 4 to "__init__" of "MinecraftServerEntity" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/minecraft_server/sensor.py:80: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/mobile_app/helpers.py:73: error: Incompatible return value type (got "None", expected "Dict[str, str]") [return-value] | |
homeassistant/components/mobile_app/helpers.py:79: error: Incompatible types in assignment (expression has type "bytes", variable has type "str") [assignment] | |
homeassistant/components/mobile_app/helpers.py:81: error: Argument 2 to "ljust" of "str" has incompatible type "bytes"; expected "str" [arg-type] | |
homeassistant/components/mobile_app/helpers.py:90: error: Incompatible return value type (got "None", expected "Dict[str, str]") [return-value] | |
homeassistant/components/mobile_app/http_api.py:89: error: Argument 1 to "demojize" has incompatible type "Union[int, str]"; expected "str" [arg-type] | |
homeassistant/components/modbus/binary_sensor.py:92: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/modbus/climate.py:250: error: Return value expected [return-value] | |
homeassistant/components/modbus/climate.py:254: error: Return value expected [return-value] | |
homeassistant/components/modbus/climate.py:267: error: Incompatible types in assignment (expression has type "float", variable has type "Tuple[Any, ...]") [assignment] | |
homeassistant/components/modbus/climate.py:271: error: Incompatible types in assignment (expression has type "float", variable has type "str") [assignment] | |
homeassistant/components/modbus/climate.py:274: error: Incompatible return value type (got "str", expected "Optional[float]") [return-value] | |
homeassistant/components/modbus/cover.py:196: error: Return value expected [return-value] | |
homeassistant/components/modbus/cover.py:200: error: Return value expected [return-value] | |
homeassistant/components/modbus/cover.py:223: error: Return value expected [return-value] | |
homeassistant/components/modbus/cover.py:227: error: Return value expected [return-value] | |
homeassistant/components/modbus/sensor.py:142: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/modbus/switch.py:122: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/modbus/switch.py:132: error: Argument 1 to "append" of "list" has incompatible type "ModbusRegisterSwitch"; expected "ModbusCoilSwitch" [arg-type] | |
homeassistant/components/modbus/switch.py:314: error: Return value expected [return-value] | |
homeassistant/components/modbus/switch.py:318: error: Return value expected [return-value] | |
homeassistant/components/motion_blinds/__init__.py:155: error: Argument 1 to <set> has incompatible type "Tuple[str, Optional[str]]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/mqtt/__init__.py:1023: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/mqtt/__init__.py:295: error: Incompatible types in "await" (actual type "None", expected type "Awaitable[Any]") [misc] | |
homeassistant/components/mqtt/__init__.py:295: error: Too many arguments [call-arg] | |
homeassistant/components/mqtt/__init__.py:303: error: Too many arguments [call-arg] | |
homeassistant/components/mqtt/__init__.py:305: error: Incompatible types in assignment (expression has type "Callable[[Any], None]", variable has type "Optional[Callable[[Any], Coroutine[Any, Any, None]]]") [assignment] | |
homeassistant/components/mqtt/__init__.py:306: error: Incompatible return value type (got "Optional[Callable[[Any], Coroutine[Any, Any, None]]]", expected "Callable[[Message], None]") [return-value] | |
homeassistant/components/mqtt/__init__.py:334: error: Item "None" of "Optional[Module]" has no attribute "__name__" [union-attr] | |
homeassistant/components/mqtt/__init__.py:564: error: Need type annotation for '_pending_operations' (hint: "_pending_operations: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/mqtt/__init__.py:697: error: Missing return statement [return] | |
homeassistant/components/mqtt/__init__.py:702: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment] | |
homeassistant/components/mqtt/__init__.py:745: error: Argument 5 to "Subscription" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/mqtt/__init__.py:779: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment] | |
homeassistant/components/mqtt/__init__.py:790: error: Incompatible types in assignment (expression has type "None", variable has type "int") [assignment] | |
homeassistant/components/mqtt/binary_sensor.py:229: error: "Callable[[MqttAvailability], bool]" has no attribute "fget" [attr-defined] | |
homeassistant/components/mqtt/debug_info.py:37: error: Incompatible return value type (got "Callable[[Callable[[Message], None]], Any]", expected "Callable[[Message], None]") [return-value] | |
homeassistant/components/mqtt/device_trigger.py:292: error: Need type annotation for 'triggers' (hint: "triggers: List[<type>] = ...") [var-annotated] | |
homeassistant/components/mqtt/device_trigger.py:329: error: Argument "discovery_data" to "Trigger" has incompatible type "None"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/mqtt/device_trigger.py:330: error: Argument "remove_signal" to "Trigger" has incompatible type "None"; expected "Callable[[], None]" [arg-type] | |
homeassistant/components/mqtt/device_trigger.py:333: error: Argument "topic" to "Trigger" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/mqtt/device_trigger.py:334: error: Argument "payload" to "Trigger" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/mqtt/device_trigger.py:335: error: Argument "qos" to "Trigger" has incompatible type "None"; expected "int" [arg-type] | |
homeassistant/components/mqtt/device_trigger.py:336: error: Argument "value_template" to "Trigger" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/mqtt/discovery.py:298: error: Missing return statement [return] | |
homeassistant/components/mqtt/mixins.py:207: error: Argument 1 to "loads" has incompatible type "Union[str, bytes, float, None]"; expected "Union[str, bytes]" [arg-type] | |
homeassistant/components/mqtt/mixins.py:209: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "None") [assignment] | |
homeassistant/components/mqtt/mixins.py:248: error: Need type annotation for '_available' (hint: "_available: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/mqtt/mixins.py:432: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/mqtt/sensor.py:177: error: "Callable[[MqttAvailability], bool]" has no attribute "fget" [attr-defined] | |
homeassistant/components/mullvad/__init__.py:44: error: Argument 1 to "async_forward_entry_setup" of "ConfigEntries" has incompatible type "Dict[Any, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/mysensors/__init__.py:309: error: "Dict[str, Type[MySensorsEntity]]" not callable [operator] | |
homeassistant/components/mysensors/binary_sensor.py:62: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/climate.py:68: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/config_flow.py:117: error: Value of type "Optional[Dict[str, str]]" is not indexable [index] | |
homeassistant/components/mysensors/config_flow.py:118: error: Unsupported target for indexed assignment ("Optional[Dict[str, str]]") [index] | |
homeassistant/components/mysensors/config_flow.py:122: error: Value of type "Optional[Dict[str, str]]" is not indexable [index] | |
homeassistant/components/mysensors/config_flow.py:125: error: Unsupported target for indexed assignment ("Optional[Dict[str, str]]") [index] | |
homeassistant/components/mysensors/config_flow.py:127: error: Unsupported target for indexed assignment ("Optional[Dict[str, str]]") [index] | |
homeassistant/components/mysensors/config_flow.py:153: error: Need type annotation for 'errors' (hint: "errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/mysensors/config_flow.py:185: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment] | |
homeassistant/components/mysensors/config_flow.py:277: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/mysensors/config_flow.py:278: error: Value of type "Optional[Dict[str, str]]" is not indexable [index] | |
homeassistant/components/mysensors/config_flow.py:279: error: Argument 1 to "update" of "dict" has incompatible type "Optional[Dict[str, str]]"; expected "Mapping[str, Any]" [arg-type] | |
homeassistant/components/mysensors/config_flow.py:293: error: Argument 1 to "_validate_version" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/cover.py:54: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/device.py:208: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/device.py:55: error: Need type annotation for '_values' (hint: "_values: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/mysensors/device_tracker.py:60: error: Incompatible types in assignment (expression has type "HomeAssistant", variable has type "None") [assignment] | |
homeassistant/components/mysensors/gateway.py:251: error: Need type annotation for 'tasks' (hint: "tasks: List[<type>] = ...") [var-annotated] | |
homeassistant/components/mysensors/gateway.py:333: error: "Coroutine" expects 3 type arguments, but 1 given [type-arg] | |
homeassistant/components/mysensors/gateway.py:335: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Callable[[Any, str, Any], Coroutine[Any, Any, Any]]") [assignment] | |
homeassistant/components/mysensors/gateway.py:84: error: Argument "baud_rate" to "_get_gateway" has incompatible type "Optional[str]"; expected "Optional[int]" [arg-type] | |
homeassistant/components/mysensors/gateway.py:85: error: Argument "tcp_port" to "_get_gateway" has incompatible type "Optional[str]"; expected "Optional[int]" [arg-type] | |
homeassistant/components/mysensors/helpers.py:108: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/helpers.py:117: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/helpers.py:183: error: "IntEnum" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/mysensors/helpers.py:187: error: "IntEnum" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/mysensors/helpers.py:189: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/helpers.py:196: error: Invalid index type "Tuple[str, Optional[str]]" for "Dict[Tuple[str, str], Set[str]]"; expected type "Tuple[str, str]" [index] | |
homeassistant/components/mysensors/helpers.py:201: error: "IntEnum" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/mysensors/helpers.py:203: error: Name 'v_names' already defined on line 198 [no-redef] | |
homeassistant/components/mysensors/helpers.py:223: error: Value of type "IntEnum" is not indexable [index] | |
homeassistant/components/mysensors/helpers.py:81: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/helpers.py:90: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/helpers.py:99: error: Argument 1 to "register" of "Registry" has incompatible type "Tuple[str, str]"; expected "str" [arg-type] | |
homeassistant/components/mysensors/light.py:59: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/sensor.py:92: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/mysensors/switch.py:96: error: Definition of "hass" in base class "MySensorsDevice" is incompatible with definition in base class "Entity" [misc] | |
homeassistant/components/n26/__init__.py:75: error: Invalid type comment or annotation [valid-type] | |
homeassistant/components/n26/sensor.py:76: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/n26/sensor.py:84: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/neato/__init__.py:105: error: Argument 1 to "async_forward_entry_unload" of "ConfigEntries" has incompatible type "Dict[str, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/neato/__init__.py:111: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/neato/__init__.py:82: error: Argument 3 to "ConfigEntryAuth" has incompatible type "OAuth2Session"; expected "AbstractOAuth2Implementation" [arg-type] | |
homeassistant/components/neato/config_flow.py:28: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/neato/config_flow.py:28: error: Signature of "async_step_user" incompatible with supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/neato/config_flow.py:33: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/neato/config_flow.py:35: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/neato/config_flow.py:44: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/neato/config_flow.py:49: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/neato/config_flow.py:60: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/neato/config_flow.py:61: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/ness_alarm/__init__.py:30: error: Need type annotation for 'DEFAULT_ZONES' (hint: "DEFAULT_ZONES: List[<type>] = ...") [var-annotated] | |
homeassistant/components/nest/__init__.py:37: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/nest/config_flow.py:110: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/nest/config_flow.py:130: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/nest/config_flow.py:132: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/nest/device_trigger.py:37: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/nest/legacy/__init__.py:28: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/nest/legacy/binary_sensor.py:51: error: Argument 1 to "update" of "dict" has incompatible type "Dict[str, Optional[str]]"; expected "Mapping[str, str]" [arg-type] | |
homeassistant/components/nest/legacy/binary_sensor.py:53: error: Argument 1 to "update" of "dict" has incompatible type "Dict[str, None]"; expected "Mapping[str, str]" [arg-type] | |
homeassistant/components/nest/sensor_sdm.py:52: error: Argument 1 to "append" of "list" has incompatible type "HumiditySensor"; expected "TemperatureSensor" [arg-type] | |
homeassistant/components/netatmo/climate.py:251: error: Argument 1 to <set> has incompatible type "Tuple[str, None]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/netatmo/climate.py:252: error: Item "None" of "Optional[DeviceEntry]" has no attribute "id" [union-attr] | |
homeassistant/components/netatmo/data_handler.py:62: error: Need type annotation for 'data' (hint: "data: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/netatmo/device_trigger.py:132: error: Return value expected [return-value] | |
homeassistant/components/netatmo/device_trigger.py:135: error: Return value expected [return-value] | |
homeassistant/components/netatmo/device_trigger.py:146: error: Unsupported target for indexed assignment ("Collection[str]") [index] | |
homeassistant/components/netatmo/helper.py:17: error: Incompatible types in assignment (expression has type "UUID", variable has type "str") [assignment] | |
homeassistant/components/netatmo/light.py:91: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/netatmo/light.py:93: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/netatmo/light.py:95: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/netatmo/light.py:97: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/netatmo/media_source.py:57: error: Incompatible default for argument "media_types" (default has type "Tuple[str, str, str]", argument has type "Tuple[str]") [assignment] | |
homeassistant/components/netatmo/media_source.py:65: error: Argument 3 to "_browse_media" of "NetatmoSource" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/netio/switch.py:32: error: First argument to namedtuple() should be 'Device', not 'device' [name-match] | |
homeassistant/components/netio/switch.py:33: error: Need type annotation for 'DEVICES' (hint: "DEVICES: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/nightscout/sensor.py:118: error: Value of type "None" is not indexable [index] | |
homeassistant/components/nilu/air_quality.py:190: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/nilu/air_quality.py:247: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/nmap_tracker/device_tracker.py:48: error: Need type annotation for 'exclude' (hint: "exclude: List[<type>] = ...") [var-annotated] | |
homeassistant/components/norway_air/air_quality.py:101: error: Decorated property not supported [misc] | |
homeassistant/components/norway_air/air_quality.py:107: error: Decorated property not supported [misc] | |
homeassistant/components/norway_air/air_quality.py:113: error: Decorated property not supported [misc] | |
homeassistant/components/norway_air/air_quality.py:119: error: Decorated property not supported [misc] | |
homeassistant/components/norway_air/air_quality.py:95: error: Decorated property not supported [misc] | |
homeassistant/components/notion/__init__.py:164: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:172: error: Incompatible return value type (got "Optional[bool]", expected "bool") [return-value] | |
homeassistant/components/notion/__init__.py:173: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:190: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:191: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:205: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:218: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:225: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:232: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/__init__.py:241: error: Item "None" of "Optional[DeviceEntry]" has no attribute "id" [union-attr] | |
homeassistant/components/notion/binary_sensor.py:81: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/binary_sensor.py:92: error: Missing return statement [return] | |
homeassistant/components/notion/binary_sensor.py:94: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/sensor.py:70: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/notion/sensor.py:80: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/notion/sensor.py:83: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/notion/sensor.py:87: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/nsw_fuel_station/sensor.py:143: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/nsw_fuel_station/sensor.py:145: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/nuki/config_flow.py:69: error: Signature of "async_step_dhcp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/nuki/config_flow.py:71: error: Argument 1 to "async_set_unique_id" of "ConfigFlow" has incompatible type "int"; expected "Optional[str]" [arg-type] | |
homeassistant/components/nuki/config_flow.py:71: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/nws/__init__.py:91: error: Incompatible types in assignment (expression has type "datetime", variable has type "None") [assignment] | |
homeassistant/components/nws/__init__.py:96: error: Argument 2 to "async_track_point_in_utc_time" has incompatible type "Callable[[datetime], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/nws/__init__.py:97: error: Unsupported operand types for + ("datetime" and "None") [operator] | |
homeassistant/components/nws/__init__.py:97: note: Right operand is of type "Optional[timedelta]" | |
homeassistant/components/nws/weather.py:84: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/nws/weather.py:88: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/nws/weather.py:89: error: "Dict[str, Any]" has no attribute "data" [attr-defined] | |
homeassistant/components/nzbget/__init__.py:93: error: Argument "config" to "NZBGetDataUpdateCoordinator" has incompatible type "MappingProxyType[str, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/nzbget/__init__.py:94: error: Argument "options" to "NZBGetDataUpdateCoordinator" has incompatible type "MappingProxyType[Any, Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/nzbget/config_flow.py:118: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/nzbget/config_flow.py:52: error: Incompatible return value type (got "bool", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/nzbget/config_flow.py:71: error: Unsupported right operand type for in ("Optional[Dict[str, Any]]") [operator] | |
homeassistant/components/nzbget/config_flow.py:72: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/nzbget/config_flow.py:72: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/nzbget/config_flow.py:76: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/nzbget/config_flow.py:81: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/nzbget/config_flow.py:97: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/nzbget/config_flow.py:99: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/nzbget/coordinator.py:40: error: Need type annotation for '_completed_downloads' (hint: "_completed_downloads: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/nzbget/sensor.py:109: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/nzbget/sensor.py:61: error: Value of type "object" is not indexable [index] | |
homeassistant/components/nzbget/sensor.py:62: error: Value of type "object" is not indexable [index] | |
homeassistant/components/nzbget/sensor.py:63: error: Value of type "object" is not indexable [index] | |
homeassistant/components/nzbget/sensor.py:67: error: Argument 1 has incompatible type "List[NZBGetSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/nzbget/sensor.py:67: error: Too few arguments [call-arg] | |
homeassistant/components/nzbget/sensor.py:67: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/nzbget/sensor.py:67: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/nzbget/switch.py:35: error: Argument 1 has incompatible type "List[NZBGetDownloadSwitch]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/nzbget/switch.py:35: error: Too few arguments [call-arg] | |
homeassistant/components/nzbget/switch.py:35: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/nzbget/switch.py:35: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/nzbget/switch.py:68: error: "DataUpdateCoordinator[Any]" has no attribute "nzbget" [attr-defined] | |
homeassistant/components/nzbget/switch.py:73: error: "DataUpdateCoordinator[Any]" has no attribute "nzbget" [attr-defined] | |
homeassistant/components/omnilogic/common.py:100: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:101: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:105: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:107: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:110: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:124: error: Need type annotation for '_attrs' (hint: "_attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/omnilogic/common.py:126: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/common.py:94: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/omnilogic/sensor.py:254: error: List item 0 has incompatible type "Dict[<nothing>, <nothing>]"; expected "str" [list-item] | |
homeassistant/components/omnilogic/sensor.py:265: error: List item 0 has incompatible type "Dict[<nothing>, <nothing>]"; expected "str" [list-item] | |
homeassistant/components/omnilogic/sensor.py:86: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/onboarding/views.py:149: error: Incompatible types in assignment (expression has type "str", base class "_BaseOnboardingView" defined the type as "None") [assignment] | |
homeassistant/components/onboarding/views.py:183: error: Incompatible types in assignment (expression has type "str", base class "_BaseOnboardingView" defined the type as "None") [assignment] | |
homeassistant/components/onboarding/views.py:227: error: Incompatible types in assignment (expression has type "str", base class "_BaseOnboardingView" defined the type as "None") [assignment] | |
homeassistant/components/onboarding/views.py:84: error: Incompatible types in assignment (expression has type "str", base class "_BaseOnboardingView" defined the type as "None") [assignment] | |
homeassistant/components/ondilo_ico/sensor.py:96: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/onewire/binary_sensor.py:108: error: No overload variant of "join" matches argument types "Any", "object" [call-overload] | |
homeassistant/components/onewire/binary_sensor.py:108: note: def join(a: Union[bytes, _PathLike[bytes]], *paths: Union[bytes, _PathLike[bytes]]) -> bytes | |
homeassistant/components/onewire/binary_sensor.py:108: note: def join(a: Union[str, _PathLike[str]], *paths: Union[str, _PathLike[str]]) -> str | |
homeassistant/components/onewire/binary_sensor.py:108: note: Possible overload variants: | |
homeassistant/components/onewire/binary_sensor.py:94: error: "None" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/onewire/onewire_entities.py:39: error: Value of type "object" is not indexable [index] | |
homeassistant/components/onewire/onewire_entities.py:40: error: Value of type "object" is not indexable [index] | |
homeassistant/components/onewire/onewirehub.py:26: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onewire/onewirehub.py:27: error: Incompatible types in assignment (expression has type "None", variable has type "Pi1Wire") [assignment] | |
homeassistant/components/onewire/sensor.py:276: error: "None" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/onewire/sensor.py:331: error: "None" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/onewire/sensor.py:350: error: Argument 1 to "append" of "list" has incompatible type "OneWireDirectSensor"; expected "OneWireProxySensor" [arg-type] | |
homeassistant/components/onewire/sensor.py:383: error: "object" has no attribute "items" [attr-defined] | |
homeassistant/components/onewire/sensor.py:389: error: Argument 1 to "append" of "list" has incompatible type "OneWireOWFSSensor"; expected "OneWireProxySensor" [arg-type] | |
homeassistant/components/onewire/switch.py:157: error: "None" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/onewire/switch.py:172: error: No overload variant of "join" matches argument types "Any", "object" [call-overload] | |
homeassistant/components/onewire/switch.py:172: note: def join(a: Union[bytes, _PathLike[bytes]], *paths: Union[bytes, _PathLike[bytes]]) -> bytes | |
homeassistant/components/onewire/switch.py:172: note: def join(a: Union[str, _PathLike[str]], *paths: Union[str, _PathLike[str]]) -> str | |
homeassistant/components/onewire/switch.py:172: note: Possible overload variants: | |
homeassistant/components/onvif/base.py:16: error: Incompatible types in assignment (expression has type "Optional[Profile]", variable has type "Profile") [assignment] | |
homeassistant/components/onvif/config_flow.py:72: error: Incompatible return value type (got "List[Dict[str, Union[Any, None, int]]]", expected "bool") [return-value] | |
homeassistant/components/onvif/device.py:102: error: Argument 3 to "EventManager" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/onvif/device.py:169: error: Incompatible types in assignment (expression has type "tzinfo", variable has type "_UTCclass") [assignment] | |
homeassistant/components/onvif/device.py:197: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/onvif/device.py:239: error: Argument 5 to "DeviceInfo" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/onvif/device.py:265: error: Need type annotation for 'profiles' (hint: "profiles: List[<type>] = ...") [var-annotated] | |
homeassistant/components/onvif/device.py:47: error: Incompatible types in assignment (expression has type "Optional[ConfigEntry]", variable has type "ConfigEntry") [assignment] | |
homeassistant/components/onvif/device.py:51: error: Incompatible types in assignment (expression has type "None", variable has type "EventManager") [assignment] | |
homeassistant/components/onvif/event.py:115: error: Module "datetime" is not valid as a type [valid-type] | |
homeassistant/components/onvif/event.py:137: error: Argument 3 to "async_call_later" has incompatible type "Callable[[Optional[dt?]], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/onvif/event.py:158: error: Argument 3 to "async_call_later" has incompatible type "Callable[[Optional[dt?]], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/onvif/event.py:160: error: Module "datetime" is not valid as a type [valid-type] | |
homeassistant/components/onvif/models.py:12: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:13: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:14: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:15: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:16: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:42: error: Incompatible types in assignment (expression has type "None", variable has type "List[str]") [assignment] | |
homeassistant/components/onvif/models.py:53: error: Incompatible types in assignment (expression has type "None", variable has type "PTZ") [assignment] | |
homeassistant/components/onvif/models.py:72: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/models.py:73: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/onvif/parsers.py:116: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:120: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:147: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:151: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:178: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:183: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:210: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:214: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:241: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:245: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:24: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:272: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:276: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:28: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:293: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:297: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:316: error: Argument 4 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:321: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:337: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:339: error: Argument 1 to "as_local" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/onvif/parsers.py:343: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:359: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:361: error: Argument 1 to "as_local" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/onvif/parsers.py:366: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:382: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:384: error: Argument 1 to "as_local" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/onvif/parsers.py:389: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:406: error: Argument 4 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:407: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:411: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:47: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:51: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:70: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:74: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/onvif/parsers.py:93: error: Argument 5 to "Event" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/onvif/parsers.py:97: error: Incompatible return value type (got "None", expected "Event") [return-value] | |
homeassistant/components/ovo_energy/__init__.py:92: error: Argument 1 to "async_forward_entry_unload" of "ConfigEntries" has incompatible type "Dict[str, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/ovo_energy/__init__.py:94: error: "Dict[str, Any]" has no attribute "entry_id" [attr-defined] | |
homeassistant/components/ovo_energy/sensor.py:100: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/ovo_energy/sensor.py:104: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/ovo_energy/sensor.py:135: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/ovo_energy/sensor.py:139: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/ovo_energy/sensor.py:171: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/ovo_energy/sensor.py:175: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/ovo_energy/sensor.py:207: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/ovo_energy/sensor.py:211: error: Return type "object" of "extra_state_attributes" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/ovo_energy/sensor.py:34: error: Argument 1 to "append" of "list" has incompatible type "OVOEnergyLastElectricityCost"; expected "OVOEnergyLastElectricityReading" [arg-type] | |
homeassistant/components/ovo_energy/sensor.py:43: error: Argument 1 to "append" of "list" has incompatible type "OVOEnergyLastGasReading"; expected "OVOEnergyLastElectricityReading" [arg-type] | |
homeassistant/components/ovo_energy/sensor.py:45: error: Argument 1 to "append" of "list" has incompatible type "OVOEnergyLastGasCost"; expected "OVOEnergyLastElectricityReading" [arg-type] | |
homeassistant/components/ozw/__init__.py:114: error: Incompatible types in assignment (expression has type "Callable[[Any, Any], Any]", target has type "str") [assignment] | |
homeassistant/components/ozw/__init__.py:67: error: Need type annotation for 'ozw_data' (hint: "ozw_data: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/ozw/__init__.py:72: error: Need type annotation for 'removed_nodes' (hint: "removed_nodes: List[<type>] = ...") [var-annotated] | |
homeassistant/components/ozw/climate.py:343: error: Incompatible types in assignment (expression has type "Tuple[str, ...]", variable has type "Tuple[str]") [assignment] | |
homeassistant/components/ozw/websocket_api.py:171: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/panasonic_viera/__init__.py:5: error: Module 'urllib.request' has no attribute 'URLError' [attr-defined] | |
homeassistant/components/panasonic_viera/config_flow.py:4: error: Module 'urllib.request' has no attribute 'URLError' [attr-defined] | |
homeassistant/components/philips_js/__init__.py:106: error: 'def (homeassistant.core.HomeAssistant, Union[typing.Mapping[builtins.str, Any], None]) -> typing.Awaitable[None]' object is not iterable [misc] | |
homeassistant/components/philips_js/__init__.py:107: error: Cannot determine type of 'job' [has-type] | |
homeassistant/components/philips_js/__init__.py:107: error: Cannot determine type of 'variables' [has-type] | |
homeassistant/components/philips_js/__init__.py:167: error: Argument 1 of "_async_stop_refresh" is incompatible with supertype "DataUpdateCoordinator"; supertype defines the argument type as "Event" [override] | |
homeassistant/components/philips_js/__init__.py:167: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides | |
homeassistant/components/philips_js/__init__.py:167: note: This violates the Liskov substitution principle | |
homeassistant/components/philips_js/__init__.py:168: error: Argument 1 to "_async_stop_refresh" of "DataUpdateCoordinator" has incompatible type "asyncio.locks.Event"; expected "homeassistant.core.Event" [arg-type] | |
homeassistant/components/philips_js/__init__.py:99: error: Incompatible types in assignment (expression has type "Tuple[HassJob, Dict[str, Any]]", target has type "Callable[[HomeAssistant, Optional[Mapping[str, Any]]], Awaitable[None]]") [assignment] | |
homeassistant/components/philips_js/config_flow.py:110: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/config_flow.py:114: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/config_flow.py:123: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/philips_js/config_flow.py:140: error: "Tuple[Dict[Any, Any], Any]" has no attribute "system" [attr-defined] | |
homeassistant/components/philips_js/config_flow.py:143: error: "Tuple[Dict[Any, Any], Any]" has no attribute "system" [attr-defined] | |
homeassistant/components/philips_js/config_flow.py:144: error: "Tuple[Dict[Any, Any], Any]" has no attribute "api_version" [attr-defined] | |
homeassistant/components/philips_js/config_flow.py:147: error: "Tuple[Dict[Any, Any], Any]" has no attribute "pairing_type" [attr-defined] | |
homeassistant/components/philips_js/config_flow.py:159: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/config_flow.py:47: error: Need type annotation for '_current' (hint: "_current: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/philips_js/config_flow.py:55: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/config_flow.py:76: error: Need type annotation for 'errors' (hint: "errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/philips_js/config_flow.py:94: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/config_flow.py:98: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/philips_js/device_trigger.py:62: error: Item "None" of "Optional[DeviceEntry]" has no attribute "config_entries" [union-attr] | |
homeassistant/components/philips_js/media_player.py:118: error: Argument 3 to "PhilipsTVMediaPlayer" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/philips_js/media_player.py:136: error: Need type annotation for '_sources' (hint: "_sources: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/philips_js/media_player.py:137: error: Need type annotation for '_channels' (hint: "_channels: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/pilight/__init__.py:139: error: Need type annotation for '_queue' (hint: "_queue: List[<type>] = ...") [var-annotated] | |
homeassistant/components/ping/binary_sensor.py:101: error: Incompatible return value type (got "bool", expected "str") [return-value] | |
homeassistant/components/ping/binary_sensor.py:114: error: Missing return statement [return] | |
homeassistant/components/ping/binary_sensor.py:159: error: Need type annotation for 'data' (hint: "data: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/ping/binary_sensor.py:191: error: Incompatible types in assignment (expression has type "bool", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/ping/binary_sensor.py:77: error: Incompatible types in assignment (expression has type "Type[PingDataICMPLib]", variable has type "Type[PingDataSubProcess]") [assignment] | |
homeassistant/components/ping/binary_sensor.py:99: error: Return type "str" of "available" incompatible with return type "bool" in supertype "Entity" [override] | |
homeassistant/components/pioneer/media_player.py:35: error: Need type annotation for 'DEFAULT_SOURCES' (hint: "DEFAULT_SOURCES: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/plaato/__init__.py:240: error: Need type annotation for 'platforms' (hint: "platforms: List[<type>] = ...") [var-annotated] | |
homeassistant/components/plex/media_player.py:254: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:290: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:296: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:302: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:308: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:314: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:320: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:326: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:332: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:338: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:344: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:350: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:356: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:362: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:368: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:374: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:380: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:386: error: Decorated property not supported [misc] | |
homeassistant/components/plex/media_player.py:392: error: Decorated property not supported [misc] | |
homeassistant/components/plugwise/config_flow.py:87: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/plugwise/config_flow.py:92: error: Item "None" of "Optional[Any]" has no attribute "split" [union-attr] | |
homeassistant/components/plugwise/config_flow.py:96: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/plugwise/config_flow.py:97: error: Item "None" of "Optional[Any]" has no attribute "get" [union-attr] | |
homeassistant/components/plugwise/gateway.py:150: error: Argument "seconds" to "timedelta" has incompatible type "Optional[Any]"; expected "float" [arg-type] | |
homeassistant/components/plugwise/gateway.py:200: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/plugwise/gateway.py:200: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/plum_lightpad/__init__.py:59: error: Argument 1 to "load_plum" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/plum_lightpad/__init__.py:59: error: Argument 2 to "load_plum" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/plum_lightpad/config_flow.py:38: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/plum_lightpad/config_flow.py:58: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/plum_lightpad/light.py:43: error: Argument 1 to "append" of "list" has incompatible type "PlumLight"; expected "GlowRing" [arg-type] | |
homeassistant/components/plum_lightpad/light.py:46: error: Argument 1 has incompatible type "List[GlowRing]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/plum_lightpad/light.py:46: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/plum_lightpad/light.py:46: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/point/__init__.py:170: error: Need type annotation for '_known_devices' (hint: "_known_devices: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/point/__init__.py:171: error: Need type annotation for '_known_homes' (hint: "_known_homes: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/proxmoxve/__init__.py:132: error: Need type annotation for 'coordinators' (hint: "coordinators: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/rachio/switch.py:289: error: Argument 3 to "async_track_point_in_utc_time" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/rainmachine/__init__.py:211: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/rainmachine/__init__.py:235: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/rainmachine/binary_sensor.py:131: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/rainmachine/binary_sensor.py:148: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/rainmachine/binary_sensor.py:163: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:165: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:167: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:169: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:171: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:173: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:183: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:185: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:187: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:189: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:191: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:193: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/binary_sensor.py:203: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:128: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/rainmachine/sensor.py:131: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/rainmachine/sensor.py:149: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/rainmachine/sensor.py:169: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:173: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:174: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:183: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:185: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/sensor.py:197: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/switch.py:152: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/rainmachine/switch.py:169: error: Argument 1 to "append" of "list" has incompatible type "RainMachineZone"; expected "RainMachineProgram" [arg-type] | |
homeassistant/components/rainmachine/switch.py:188: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/switch.py:192: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/rainmachine/switch.py:302: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/switch.py:339: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/rainmachine/switch.py:343: error: Dict entry 0 has incompatible type "str": "int"; expected "str": "str" [dict-item] | |
homeassistant/components/rainmachine/switch.py:345: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/switch.py:346: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/rainmachine/switch.py:385: error: Dict entry 8 has incompatible type "str": "Optional[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/rainmachine/switch.py:386: error: Dict entry 9 has incompatible type "str": "Optional[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/rainmachine/switch.py:387: error: Dict entry 10 has incompatible type "str": "Optional[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/rainmachine/switch.py:388: error: Dict entry 11 has incompatible type "str": "Optional[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/rainmachine/switch.py:390: error: Dict entry 13 has incompatible type "str": "Optional[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/recollect_waste/config_flow.py:38: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/recollect_waste/config_flow.py:41: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/recollect_waste/config_flow.py:59: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/recollect_waste/config_flow.py:65: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/recollect_waste/sensor.py:113: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/recollect_waste/sensor.py:134: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/recollect_waste/sensor.py:135: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/recollect_waste/sensor.py:137: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/recollect_waste/sensor.py:140: error: Dict entry 0 has incompatible type "str": "List[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/recollect_waste/sensor.py:144: error: Dict entry 2 has incompatible type "str": "List[str]"; expected "str": "str" [dict-item] | |
homeassistant/components/recollect_waste/sensor.py:96: error: Return type "Dict[Any, Any]" of "device_class" incompatible with return type "Optional[str]" in supertype "Entity" [override] | |
homeassistant/components/recollect_waste/sensor.py:98: error: Incompatible return value type (got "str", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/recorder/__init__.py:289: error: Need type annotation for 'async_db_ready' [var-annotated] | |
homeassistant/components/recorder/__init__.py:301: error: Need type annotation for '_old_states' (hint: "_old_states: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/recorder/__init__.py:302: error: Need type annotation for '_pending_expunge' (hint: "_pending_expunge: List[<type>] = ...") [var-annotated] | |
homeassistant/components/recorder/models.py:140: error: Incompatible types in assignment (expression has type "Tuple[Any]", variable has type "Dict[str, str]") [assignment] | |
homeassistant/components/recorder/models.py:66: error: Incompatible types in assignment (expression has type "Tuple[Any]", variable has type "Dict[str, str]") [assignment] | |
homeassistant/components/reddit/sensor.py:94: error: Need type annotation for '_subreddit_data' (hint: "_subreddit_data: List[<type>] = ...") [var-annotated] | |
homeassistant/components/ring/__init__.py:168: error: Need type annotation for 'listeners' (hint: "listeners: List[<type>] = ...") [var-annotated] | |
homeassistant/components/ring/__init__.py:241: error: Need type annotation for 'devices' (hint: "devices: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/roku/__init__.py:130: error: Incompatible types in assignment (expression has type "datetime", variable has type "None") [assignment] | |
homeassistant/components/roku/__init__.py:162: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/__init__.py:163: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/__init__.py:164: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/__init__.py:165: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/config_flow.py:117: error: Signature of "async_step_ssdp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/roku/config_flow.py:121: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/roku/config_flow.py:122: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/roku/config_flow.py:123: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/roku/config_flow.py:136: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:139: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:148: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:154: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:60: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:66: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/roku/config_flow.py:81: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/config_flow.py:86: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/roku/media_player.py:106: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/media_player.py:114: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/roku/media_player.py:117: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:118: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:121: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:122: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:126: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:129: error: Item "None" of "Optional[Any]" has no attribute "media" [union-attr] | |
homeassistant/components/roku/media_player.py:130: error: Item "None" of "Optional[Any]" has no attribute "media" [union-attr] | |
homeassistant/components/roku/media_player.py:134: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:137: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:148: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:150: error: Item "None" of "Optional[Any]" has no attribute "channel" [union-attr] | |
homeassistant/components/roku/media_player.py:159: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:161: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:166: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:167: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:169: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:174: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:175: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:177: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:228: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:229: error: Item "None" of "Optional[Any]" has no attribute "app" [union-attr] | |
homeassistant/components/roku/media_player.py:231: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/roku/media_player.py:236: error: Item "None" of "Optional[Any]" has no attribute "apps" [union-attr] | |
homeassistant/components/roku/media_player.py:288: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:294: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:301: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:308: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:315: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:321: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:327: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:333: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:339: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:344: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:359: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:361: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:369: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:374: error: Item "None" of "Optional[Any]" has no attribute "apps" [union-attr] | |
homeassistant/components/roku/media_player.py:381: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/media_player.py:85: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/media_player.py:93: error: Item "None" of "Optional[Any]" has no attribute "media" [union-attr] | |
homeassistant/components/roku/media_player.py:96: error: Item "None" of "Optional[Any]" has no attribute "media" [union-attr] | |
homeassistant/components/roku/remote.py:14: error: Missing return statement [return] | |
homeassistant/components/roku/remote.py:32: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/roku/remote.py:46: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/roku/remote.py:51: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/remote.py:57: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/roku/remote.py:67: error: "DataUpdateCoordinator[Any]" has no attribute "roku" [attr-defined] | |
homeassistant/components/rpi_power/config_flow.py:31: error: Argument 3 to "__init__" of "DiscoveryFlowHandler" has incompatible type "Callable[[HomeAssistant], Coroutine[Any, Any, bool]]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/rpi_power/config_flow.py:39: error: Incompatible types in "await" (actual type "Union[Awaitable[bool], bool]", expected type "Awaitable[Any]") [misc] | |
homeassistant/components/rpi_power/config_flow.py:39: error: Too many arguments [call-arg] | |
homeassistant/components/rpi_power/config_flow.py:42: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/rpi_power/config_flow.py:43: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/ruckus_unleashed/device_tracker.py:105: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/ruckus_unleashed/device_tracker.py:113: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/ruckus_unleashed/device_tracker.py:129: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/ruckus_unleashed/device_tracker.py:30: error: Need type annotation for 'tracked' (hint: "tracked: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/sabnzbd/__init__.py:34: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/screenlogic/__init__.py:75: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:78: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:82: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:85: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:87: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:88: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/__init__.py:92: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/screenlogic/climate.py:141: error: "DataUpdateCoordinator[Any]" has no attribute "api_lock" [attr-defined] | |
homeassistant/components/screenlogic/climate.py:160: error: "DataUpdateCoordinator[Any]" has no attribute "api_lock" [attr-defined] | |
homeassistant/components/screenlogic/climate.py:179: error: "DataUpdateCoordinator[Any]" has no attribute "api_lock" [attr-defined] | |
homeassistant/components/screenlogic/switch.py:47: error: "DataUpdateCoordinator[Any]" has no attribute "api_lock" [attr-defined] | |
homeassistant/components/script/trace.py:22: error: Argument 3 to "__init__" of "ActionTrace" has incompatible type "None"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/search/__init__.py:77: error: Need type annotation for 'results' [var-annotated] | |
homeassistant/components/search/__init__.py:78: error: Need type annotation for '_to_resolve' [var-annotated] | |
homeassistant/components/sense/__init__.py:129: error: Need type annotation for 'trends_coordinator' [var-annotated] | |
homeassistant/components/sentry/__init__.py:211: error: Argument 1 to "update" of "dict" has incompatible type "Dict[str, Union[bool, str]]"; expected "Mapping[str, str]" [arg-type] | |
homeassistant/components/sentry/config_flow.py:49: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/sentry/config_flow.py:54: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sentry/config_flow.py:66: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sentry/config_flow.py:68: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sentry/config_flow.py:85: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sentry/config_flow.py:87: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sesame/lock.py:29: error: Unexpected keyword argument "update_before_add" [call-arg] | |
homeassistant/components/sesame/lock.py:53: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/sesame/lock.py:72: error: "object" has no attribute "lock" [attr-defined] | |
homeassistant/components/sesame/lock.py:76: error: "object" has no attribute "unlock" [attr-defined] | |
homeassistant/components/sesame/lock.py:80: error: "object" has no attribute "get_status" [attr-defined] | |
homeassistant/components/sesame/lock.py:81: error: "object" has no attribute "nickname" [attr-defined] | |
homeassistant/components/sesame/lock.py:82: error: "object" has no attribute "id" [attr-defined] | |
homeassistant/components/sesame/lock.py:82: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/sesame/lock.py:83: error: "object" has no attribute "serial" [attr-defined] | |
homeassistant/components/sharkiq/config_flow.py:88: error: Argument 1 to "async_update_entry" of "ConfigEntries" has incompatible type "Optional[ConfigEntry]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/sharkiq/update_coordinator.py:39: error: Need type annotation for '_online_dsns' (hint: "_online_dsns: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/sharkiq/vacuum.py:101: error: "DataUpdateCoordinator[Any]" has no attribute "device_is_online" [attr-defined] | |
homeassistant/components/sharkiq/vacuum.py:227: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/shell_command/__init__.py:29: error: Need type annotation for 'cache' (hint: "cache: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/shell_command/__init__.py:92: error: "kill" of "Process" does not return a value [func-returns-value] | |
homeassistant/components/shelly/__init__.py:174: error: Need type annotation for '_last_input_events_count' (hint: "_last_input_events_count: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/shelly/__init__.py:77: error: Argument 1 to <set> has incompatible type "Tuple[str, Optional[str]]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/shelly/entity.py:165: error: Incompatible types in assignment (expression has type "None", variable has type "Callable[[Dict[Any, Any], Any], Any]") [assignment] | |
homeassistant/components/shelly/entity.py:365: error: Incompatible return value type (got "None", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/shelly/entity.py:367: error: Incompatible return value type (got "Optional[Dict[Any, Any]]", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/shelly/entity.py:388: error: Incompatible types in assignment (expression has type "Union[None, str, Callable[[Dict[Any, Any]], str]]", variable has type "Optional[str]") [assignment] | |
homeassistant/components/shelly/entity.py:399: error: Incompatible types in assignment (expression has type "Union[str, None, Any]", variable has type "str") [assignment] | |
homeassistant/components/shelly/entity.py:399: error: Item "None" of "Optional[ConfigEntry]" has no attribute "unique_id" [union-attr] | |
homeassistant/components/shelly/entity.py:400: error: Item "ConfigEntry" of "Optional[ConfigEntry]" has no attribute "original_name" [union-attr] | |
homeassistant/components/shelly/entity.py:400: error: Item "None" of "Optional[ConfigEntry]" has no attribute "original_name" [union-attr] | |
homeassistant/components/shelly/light.py:194: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:196: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:202: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:203: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:208: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:209: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:210: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/light.py:214: error: Incompatible types in assignment (expression has type "int", target has type "str") [assignment] | |
homeassistant/components/shelly/utils.py:122: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/shelly/utils.py:125: error: Argument 1 to "len" has incompatible type "Optional[Any]"; expected "Sized" [arg-type] | |
homeassistant/components/shelly/utils.py:126: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/shelly/utils.py:138: error: No overload variant of "__sub__" of "datetime" matches argument type "None" [operator] | |
homeassistant/components/shelly/utils.py:138: note: def __sub__(self, datetime) -> timedelta | |
homeassistant/components/shelly/utils.py:138: note: def __sub__(self, timedelta) -> datetime | |
homeassistant/components/shelly/utils.py:138: note: Possible overload variants: | |
homeassistant/components/shelly/utils.py:138: note: Right operand is of type "Optional[datetime]" | |
homeassistant/components/sma/__init__.py:131: error: Argument "verify_ssl" to "async_get_clientsession" has incompatible type "Optional[Any]"; expected "bool" [arg-type] | |
homeassistant/components/sma/__init__.py:53: error: Item "None" of "Optional[Any]" has no attribute "items" [union-attr] | |
homeassistant/components/sma/__init__.py:83: error: Unsupported left operand type for + ("None") [operator] | |
homeassistant/components/sma/__init__.py:83: note: Left operand is of type "Optional[Any]" | |
homeassistant/components/sma/config_flow.py:101: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sma/config_flow.py:123: error: Argument 2 to "validate_input" has incompatible type "Optional[Dict[str, Any]]"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/sma/config_flow.py:124: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/sma/config_flow.py:131: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sma/config_flow.py:132: error: Argument "data" to "async_create_entry" of "FlowHandler" has incompatible type "Optional[Dict[str, Any]]"; expected "Mapping[str, Any]" [arg-type] | |
homeassistant/components/sma/config_flow.py:132: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/sma/config_flow.py:70: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/sma/config_flow.py:97: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sma/sensor.py:131: error: Argument 2 to "SMAsensor" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/sma/sensor.py:137: error: Too many arguments [call-arg] | |
homeassistant/components/smart_meter_texas/__init__.py:103: error: Need type annotation for 'meters' (hint: "meters: List[<type>] = ...") [var-annotated] | |
homeassistant/components/smartthings/__init__.py:302: error: Module has no attribute "get_capabilities" [attr-defined] | |
homeassistant/components/smartthings/fan.py:34: error: Missing return statement [return] | |
homeassistant/components/smartthings/fan.py:66: error: Argument 1 to "async_set_percentage" of "SmartThingsFan" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/smartthings/light.py:158: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/smartthings/sensor.py:32: error: First argument to namedtuple() should be 'Map', not 'map' [name-match] | |
homeassistant/components/smarttub/binary_sensor.py:75: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/smarttub/entity.py:39: error: Return type "str" of "device_info" incompatible with return type "Optional[Mapping[str, Any]]" in supertype "Entity" [override] | |
homeassistant/components/smarttub/entity.py:41: error: Incompatible return value type (got "Dict[str, Any]", expected "str") [return-value] | |
homeassistant/components/smarttub/entity.py:57: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/smarttub/light.py:53: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/smarttub/switch.py:42: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/smarty/sensor.py:194: error: Incompatible types in assignment (expression has type "datetime", variable has type "None") [assignment] | |
homeassistant/components/smhi/config_flow.py:33: error: Need type annotation for '_errors' (hint: "_errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/smhi/config_flow.py:75: error: Argument 1 to "_check_location" of "SmhiFlowHandler" has incompatible type "float"; expected "str" [arg-type] | |
homeassistant/components/smhi/config_flow.py:75: error: Argument 2 to "_check_location" of "SmhiFlowHandler" has incompatible type "float"; expected "str" [arg-type] | |
homeassistant/components/smhi/weather.py:134: error: Bracketed expression "[...]" is not valid as a type [misc] | |
homeassistant/components/smhi/weather.py:134: note: Did you mean "List[...]"? | |
homeassistant/components/smhi/weather.py:148: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/smhi/weather.py:160: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/smhi/weather.py:168: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/smhi/weather.py:175: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/smhi/weather.py:182: error: Incompatible return value type (got "None", expected "float") [return-value] | |
homeassistant/components/smhi/weather.py:189: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/smhi/weather.py:196: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/smhi/weather.py:202: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/smhi/weather.py:217: error: Incompatible return value type (got "None", expected "List[Any]") [return-value] | |
homeassistant/components/smhi/weather.py:239: error: Missing return statement [return] | |
homeassistant/components/solaredge/config_flow.py:35: error: Need type annotation for '_errors' (hint: "_errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/solaredge/config_flow.py:57: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/solaredge/config_flow.py:73: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/config_flow.py:79: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/config_flow.py:97: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/solaredge/config_flow.py:98: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/sensor.py:143: error: Argument 1 to "__init__" of "CoordinatorEntity" has incompatible type "None"; expected "DataUpdateCoordinator[Any]" [arg-type] | |
homeassistant/components/solaredge/sensor.py:151: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:156: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:161: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:173: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:192: error: Incompatible return value type (got "Dict[Any, Any]", expected "Optional[str]") [return-value] | |
homeassistant/components/solaredge/sensor.py:207: error: Incompatible return value type (got "Optional[Any]", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/sensor.py:227: error: Incompatible return value type (got "Optional[Any]", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/sensor.py:237: error: "SolarEdgeDataService" has no attribute "unit" [attr-defined] | |
homeassistant/components/solaredge/sensor.py:249: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:259: error: Incompatible return value type (got "Optional[Any]", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/solaredge/sensor.py:269: error: "SolarEdgeDataService" has no attribute "unit" [attr-defined] | |
homeassistant/components/solaredge/sensor.py:281: error: Value of type "object" is not indexable [index] | |
homeassistant/components/solaredge/sensor.py:305: error: Need type annotation for 'data' (hint: "data: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/solaredge/sensor.py:306: error: Need type annotation for 'attributes' (hint: "attributes: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/solaredge/sensor.py:314: error: Incompatible types in assignment (expression has type "DataUpdateCoordinator[None]", variable has type "None") [assignment] | |
homeassistant/components/solaredge/sensor.py:373: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/solaredge/sensor.py:389: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[Any, Any]") [assignment] | |
homeassistant/components/solaredge/sensor.py:68: error: "None" has no attribute "async_refresh" [attr-defined] | |
homeassistant/components/solarlog/config_flow.py:35: error: Need type annotation for '_errors' (hint: "_errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/somfy/__init__.py:113: error: Item "None" of "Optional[Any]" has no attribute "values" [union-attr] | |
homeassistant/components/somfy/__init__.py:124: error: Item "None" of "Optional[Any]" has no attribute "values" [union-attr] | |
homeassistant/components/somfy/climate.py:124: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/somfy/cover.py:161: error: Incompatible return value type (got "Optional[Any]", expected "bool") [return-value] | |
homeassistant/components/somfy/cover.py:170: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/somfy_mylink/__init__.py:177: error: Argument "data" to "async_update_entry" of "ConfigEntries" has incompatible type "MappingProxyType[str, Any]"; expected "Union[Dict[Any, Any], UndefinedType]" [arg-type] | |
homeassistant/components/sonarr/config_flow.py:101: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/sonarr/config_flow.py:122: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/config_flow.py:129: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/config_flow.py:134: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/config_flow.py:145: error: Argument 1 to "async_update_entry" of "ConfigEntries" has incompatible type "Optional[ConfigEntry]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/sonarr/config_flow.py:146: error: Item "None" of "Optional[ConfigEntry]" has no attribute "entry_id" [union-attr] | |
homeassistant/components/sonarr/config_flow.py:148: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/config_flow.py:57: error: Incompatible return value type (got "bool", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/config_flow.py:81: error: Argument 1 to "dict" has incompatible type "Optional[Dict[str, Any]]"; expected "SupportsKeysAndGetItem[Any, Any]" [arg-type] | |
homeassistant/components/sonarr/config_flow.py:83: error: Item "None" of "Optional[ConfigEntry]" has no attribute "entry_id" [union-attr] | |
homeassistant/components/sonarr/config_flow.py:92: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/sonarr/sensor.py:111: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/sonarr/sensor.py:119: error: Need type annotation for '_commands' (hint: "_commands: List[<type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:157: error: Need type annotation for '_disks' (hint: "_disks: List[<type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:205: error: Need type annotation for '_queue' (hint: "_queue: List[<type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:246: error: Need type annotation for '_items' (hint: "_items: List[<type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:285: error: Need type annotation for '_upcoming' (hint: "_upcoming: List[<type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:345: error: "None" has no attribute "total" [attr-defined] | |
homeassistant/components/sonarr/sensor.py:350: error: Need type annotation for 'attrs' (hint: "attrs: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/sonarr/sensor.py:43: error: Argument 1 has incompatible type "List[SonarrSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/sonarr/sensor.py:43: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/sonarr/sensor.py:43: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/songpal/media_player.py:86: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/sonos/config_flow.py:16: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/spotify/config_flow.py:41: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/spotify/config_flow.py:48: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/spotify/config_flow.py:53: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/spotify/config_flow.py:61: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/spotify/config_flow.py:82: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/spotify/config_flow.py:84: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/spotify/config_flow.py:91: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/spotify/config_flow.py:92: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:250: error: Attribute '_spotify' already defined on line 242 [no-redef] | |
homeassistant/components/spotify/media_player.py:299: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:304: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:315: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:317: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:337: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:338: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:341: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:351: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:357: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:360: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:366: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:368: error: Value of type "Optional[Dict[Any, Any]]" is not indexable [index] | |
homeassistant/components/spotify/media_player.py:373: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:386: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:398: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:403: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:404: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/spotify/media_player.py:460: error: Item "None" of "Optional[Dict[Any, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/spotify/media_player.py:468: error: Item "None" of "Optional[List[Dict[Any, Any]]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/stream/core.py:103: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/stream/core.py:143: error: Incompatible return value type (got "None", expected "Segment") [return-value] | |
homeassistant/components/stream/core.py:98: error: Need type annotation for '_segments' [var-annotated] | |
homeassistant/components/stream/fmp4utils.py:28: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:28: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:28: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:28: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:35: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:35: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:35: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:35: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:36: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:36: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:36: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:36: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:46: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:46: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:46: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:46: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:49: error: "int" has no attribute "__iter__"; maybe "__str__", "__int__", or "__invert__"? (not iterable) [attr-defined] | |
homeassistant/components/stream/fmp4utils.py:51: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:51: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:51: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:51: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:52: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:52: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:52: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:52: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:53: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:53: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:53: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:53: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:54: error: No overload variant of "next" matches argument type "int" [call-overload] | |
homeassistant/components/stream/fmp4utils.py:54: note: <1 more non-matching overload not shown> | |
homeassistant/components/stream/fmp4utils.py:54: note: def [_T] next(Iterator[_T]) -> _T | |
homeassistant/components/stream/fmp4utils.py:54: note: Possible overload variant: | |
homeassistant/components/stream/fmp4utils.py:5: error: The return type of a generator function should be "Generator" or one of its supertypes [misc] | |
homeassistant/components/stream/recorder.py:103: error: Item "None" of "Optional[Any]" has no attribute "close" [union-attr] | |
homeassistant/components/stream/recorder.py:80: error: Incompatible types in assignment (expression has type "int", target has type "None") [assignment] | |
homeassistant/components/stream/recorder.py:85: error: Incompatible types in assignment (expression has type "int", target has type "None") [assignment] | |
homeassistant/components/stream/worker.py:60: error: Need type annotation for '_outputs' (hint: "_outputs: List[<type>] = ...") [var-annotated] | |
homeassistant/components/stt/__init__.py:194: error: Argument 1 to "SpeechMetadata" has incompatible type "**Dict[str, str]"; expected "AudioCodecs" [arg-type] | |
homeassistant/components/stt/__init__.py:194: error: Argument 1 to "SpeechMetadata" has incompatible type "**Dict[str, str]"; expected "AudioFormats" [arg-type] | |
homeassistant/components/surepetcare/binary_sensor.py:107: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/surepetcare/binary_sensor.py:116: error: Invalid index type "SurepyProduct" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/surepetcare/binary_sensor.py:117: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/surepetcare/binary_sensor.py:128: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/surepetcare/binary_sensor.py:199: error: Invalid index type "SurepyProduct" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/surepetcare/binary_sensor.py:200: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/surepetcare/binary_sensor.py:51: error: Incompatible types in assignment (expression has type "Hub", variable has type "Pet") [assignment] | |
homeassistant/components/surepetcare/binary_sensor.py:55: error: Argument 1 to "append" of "list" has incompatible type "Pet"; expected "DeviceConnectivity" [arg-type] | |
homeassistant/components/surepetcare/binary_sensor.py:76: error: Invalid index type "SurepyProduct" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/surepetcare/sensor.py:100: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[str, Any]") [assignment] | |
homeassistant/components/surepetcare/sensor.py:111: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/surepetcare/sensor.py:127: error: Incompatible return value type (got "str", expected "Optional[int]") [return-value] | |
homeassistant/components/surepetcare/sensor.py:67: error: Invalid index type "SurepyProduct" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/surepetcare/sensor.py:99: error: Invalid index type "SurepyProduct" for "Dict[str, Any]"; expected type "str" [index] | |
homeassistant/components/switchbot/switch.py:57: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:58: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:60: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:65: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:66: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:68: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/switchbot/switch.py:78: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/switcher_kis/switch.py:102: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/switcher_kis/switch.py:96: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/synology_dsm/__init__.py:170: error: List item 1 has incompatible type "Optional[str]"; expected "str" [list-item] | |
homeassistant/components/synology_dsm/__init__.py:378: error: Need type annotation for '_fetching_entities' (hint: "_fetching_entities: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/synology_dsm/__init__.py:630: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/synology_dsm/__init__.py:630: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/synology_dsm/__init__.py:635: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/synology_dsm/__init__.py:635: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/synology_dsm/__init__.py:648: error: Incompatible return value type (got "str", expected "bool") [return-value] | |
homeassistant/components/synology_dsm/__init__.py:705: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/synology_dsm/__init__.py:705: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/synology_dsm/binary_sensor.py:31: error: Argument 3 to "SynoDSMSecurityBinarySensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/binary_sensor.py:37: error: List comprehension has incompatible type List[SynoDSMUpgradeBinarySensor]; expected List[SynoDSMSecurityBinarySensor] [misc] | |
homeassistant/components/synology_dsm/binary_sensor.py:38: error: Argument 3 to "SynoDSMUpgradeBinarySensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/binary_sensor.py:47: error: List comprehension has incompatible type List[SynoDSMStorageBinarySensor]; expected List[SynoDSMSecurityBinarySensor] [misc] | |
homeassistant/components/synology_dsm/binary_sensor.py:50: error: Argument 3 to "SynoDSMStorageBinarySensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/camera.py:129: error: Incompatible return value type (got "None", expected "bytes") [return-value] | |
homeassistant/components/synology_dsm/camera.py:142: error: Incompatible return value type (got "None", expected "bytes") [return-value] | |
homeassistant/components/synology_dsm/camera.py:151: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/synology_dsm/camera.py:64: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/synology_dsm/camera.py:65: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/synology_dsm/camera.py:66: error: Dict entry 2 has incompatible type "str": "None"; expected "str": "str" [dict-item] | |
homeassistant/components/synology_dsm/camera.py:67: error: Dict entry 3 has incompatible type "str": "None"; expected "str": "str" [dict-item] | |
homeassistant/components/synology_dsm/camera.py:68: error: Dict entry 4 has incompatible type "str": "None"; expected "str": "str" [dict-item] | |
homeassistant/components/synology_dsm/camera.py:83: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/synology_dsm/camera.py:83: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/synology_dsm/sensor.py:47: error: Argument 3 to "SynoDSMUtilSensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/sensor.py:56: error: List comprehension has incompatible type List[SynoDSMStorageSensor]; expected List[SynoDSMUtilSensor] [misc] | |
homeassistant/components/synology_dsm/sensor.py:59: error: Argument 3 to "SynoDSMStorageSensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/sensor.py:70: error: List comprehension has incompatible type List[SynoDSMStorageSensor]; expected List[SynoDSMUtilSensor] [misc] | |
homeassistant/components/synology_dsm/sensor.py:73: error: Argument 3 to "SynoDSMStorageSensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/sensor.py:81: error: List comprehension has incompatible type List[SynoDSMInfoSensor]; expected List[SynoDSMUtilSensor] [misc] | |
homeassistant/components/synology_dsm/sensor.py:82: error: Argument 3 to "SynoDSMInfoSensor" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/switch.py:38: error: Argument 3 to "SynoDSMSurveillanceHomeModeToggle" has incompatible type "Dict[str, Union[bool, str, None]]"; expected "Dict[str, str]" [arg-type] | |
homeassistant/components/synology_dsm/switch.py:69: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/synology_dsm/switch.py:99: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/synology_dsm/switch.py:99: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/synology_srm/device_tracker.py:109: error: Need type annotation for 'filtered_attributes' (hint: "filtered_attributes: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/system_health/__init__.py:147: error: Incompatible types in assignment (expression has type "Set[Future[Any]]", variable has type "List[Task[Any]]") [assignment] | |
homeassistant/components/system_health/__init__.py:156: error: Invalid index type "Future[Any]" for "Dict[Task[Any], Tuple[str, Any]]"; expected type "Task[Any]" [index] | |
homeassistant/components/system_health/__init__.py:169: error: Argument "exc_info" to "error" of "Logger" has incompatible type "Tuple[Union[Type[BaseException], Type[None]], Optional[BaseException], Union[TracebackType, None, Any]]"; expected "Union[None, bool, Union[Tuple[type, BaseException, Optional[TracebackType]], Tuple[None, None, None]], BaseException]" [arg-type] | |
homeassistant/components/system_health/__init__.py:169: error: Item "None" of "Optional[BaseException]" has no attribute "__traceback__" [union-attr] | |
homeassistant/components/system_health/__init__.py:220: error: Incompatible return value type (got "Dict[str, str]", expected "str") [return-value] | |
homeassistant/components/system_health/__init__.py:42: error: Argument 1 to "async_register_info" of "SystemHealthRegistration" has incompatible type "Callable[[HomeAssistant], Dict[Any, Any]]"; expected "Callable[[HomeAssistant], Awaitable[Dict[Any, Any]]]" [arg-type] | |
homeassistant/components/system_health/__init__.py:68: error: "None" not callable [misc] | |
homeassistant/components/system_health/__init__.py:91: error: Argument 1 has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Coroutine[Any, Any, Any]]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]" [arg-type] | |
homeassistant/components/system_health/__init__.py:91: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/system_log/__init__.py:10: error: Module 'homeassistant' has no attribute '__path__' [attr-defined] | |
homeassistant/components/tado/binary_sensor.py:90: error: List comprehension has incompatible type List[TadoZoneBinarySensor]; expected List[TadoDeviceBinarySensor] [misc] | |
homeassistant/components/tado/climate.py:86: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/tado/climate.py:92: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/tado/sensor.py:80: error: List comprehension has incompatible type List[TadoZoneSensor]; expected List[TadoHomeSensor] [misc] | |
homeassistant/components/tado/water_heater.py:106: error: Incompatible types in assignment (expression has type "None", variable has type "float") [assignment] | |
homeassistant/components/tado/water_heater.py:107: error: Incompatible types in assignment (expression has type "None", variable has type "float") [assignment] | |
homeassistant/components/tado/water_heater.py:73: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/tasmota/device_trigger.py:245: error: Need type annotation for 'triggers' (hint: "triggers: List[<type>] = ...") [var-annotated] | |
homeassistant/components/tasmota/device_trigger.py:284: error: Argument "discovery_hash" to "Trigger" has incompatible type "None"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/tasmota/device_trigger.py:285: error: Argument "remove_update_signal" to "Trigger" has incompatible type "None"; expected "Callable[[], None]" [arg-type] | |
homeassistant/components/tasmota/discovery.py:171: error: Missing return statement [return] | |
homeassistant/components/tasmota/discovery.py:42: error: Missing return statement [return] | |
homeassistant/components/tcp/binary_sensor.py:17: error: Incompatible types in assignment (expression has type "Tuple[str]", base class "TcpSensor" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/telegram_bot/polling.py:69: error: Item "None" of "Optional[Any]" has no attribute "args" [union-attr] | |
homeassistant/components/template/fan.py:368: error: Signature of "async_turn_off" incompatible with supertype "ToggleEntity" [override] | |
homeassistant/components/template/fan.py:438: error: Argument 1 to "join" of "str" has incompatible type "List[bool]"; expected "Iterable[str]" [arg-type] | |
homeassistant/components/template/template_entity.py:105: error: "None" not callable [misc] | |
homeassistant/components/template/template_entity.py:108: error: "None" not callable [misc] | |
homeassistant/components/template/template_entity.py:216: error: Incompatible types in assignment (expression has type "_TemplateAttribute", variable has type "str") [assignment] | |
homeassistant/components/template/template_entity.py:84: error: "None" not callable [misc] | |
homeassistant/components/template/template_entity.py:88: error: "None" not callable [misc] | |
homeassistant/components/template/trigger_entity.py:128: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/template/trigger_entity.py:134: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/template/trigger_entity.py:144: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/template/trigger_entity.py:41: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "str") [assignment] | |
homeassistant/components/tesla/device_tracker.py:28: error: Return type "Optional[float]" of "latitude" incompatible with return type "float" in supertype "TrackerEntity" [override] | |
homeassistant/components/tesla/device_tracker.py:34: error: Return type "Optional[float]" of "longitude" incompatible with return type "float" in supertype "TrackerEntity" [override] | |
homeassistant/components/timer/__init__.py:293: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/todoist/calendar.py:234: error: Item "None" of "Optional[datetime]" has no attribute "tzinfo" [union-attr] | |
homeassistant/components/todoist/calendar.py:236: error: Argument 1 to "as_utc" has incompatible type "Optional[datetime]"; expected "datetime" [arg-type] | |
homeassistant/components/toon/__init__.py:110: error: Argument 1 to <set> has incompatible type "Tuple[str, Any, str]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/toon/__init__.py:110: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/__init__.py:114: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/binary_sensor.py:68: error: Argument "enabled_default" to "__init__" of "ToonEntity" has incompatible type "object"; expected "bool" [arg-type] | |
homeassistant/components/toon/binary_sensor.py:69: error: Argument "icon" to "__init__" of "ToonEntity" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/binary_sensor.py:70: error: Argument "name" to "__init__" of "ToonEntity" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/binary_sensor.py:76: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/binary_sensor.py:84: error: Incompatible return value type (got "object", expected "str") [return-value] | |
homeassistant/components/toon/binary_sensor.py:90: error: Argument 2 to "getattr" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/binary_sensor.py:92: error: Argument 2 to "getattr" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/climate.py:101: error: Item "None" of "Optional[Any]" has no attribute "thermostat" [union-attr] | |
homeassistant/components/toon/climate.py:106: error: Item "None" of "Optional[Any]" has no attribute "thermostat" [union-attr] | |
homeassistant/components/toon/climate.py:121: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/climate.py:127: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/toon/climate.py:139: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/toon/climate.py:50: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/climate.py:73: error: Item "None" of "Optional[Any]" has no attribute "thermostat" [union-attr] | |
homeassistant/components/toon/climate.py:91: error: Item "None" of "Optional[Any]" has no attribute "thermostat" [union-attr] | |
homeassistant/components/toon/config_flow.py:100: error: Argument "data" to "async_create_entry" of "FlowHandler" has incompatible type "Optional[Dict[str, Any]]"; expected "Mapping[str, Any]" [arg-type] | |
homeassistant/components/toon/config_flow.py:32: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/toon/config_flow.py:43: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/toon/config_flow.py:46: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/toon/config_flow.py:65: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/toon/config_flow.py:71: error: Argument 1 to "len" has incompatible type "Optional[List[Any]]"; expected "Sized" [arg-type] | |
homeassistant/components/toon/config_flow.py:72: error: Value of type "Optional[List[Any]]" is not indexable [index] | |
homeassistant/components/toon/config_flow.py:76: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/toon/config_flow.py:80: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/toon/config_flow.py:88: error: Value of type "Optional[List[Any]]" is not indexable [index] | |
homeassistant/components/toon/config_flow.py:97: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/toon/config_flow.py:98: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/toon/coordinator.py:117: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:112: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:126: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:141: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:52: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:70: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:84: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/models.py:98: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/sensor.py:104: error: List item 0 has incompatible type "ToonBoilerDeviceSensor"; expected "ToonElectricityMeterDeviceSensor" [list-item] | |
homeassistant/components/toon/sensor.py:122: error: Argument "enabled_default" to "__init__" of "ToonEntity" has incompatible type "Union[bool, str, None]"; expected "bool" [arg-type] | |
homeassistant/components/toon/sensor.py:123: error: Argument "icon" to "__init__" of "ToonEntity" has incompatible type "Union[bool, str, None]"; expected "str" [arg-type] | |
homeassistant/components/toon/sensor.py:124: error: Argument "name" to "__init__" of "ToonEntity" has incompatible type "Union[bool, str, None]"; expected "str" [arg-type] | |
homeassistant/components/toon/sensor.py:130: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/sensor.py:139: error: Argument 2 to "getattr" has incompatible type "Union[bool, str, None]"; expected "str" [arg-type] | |
homeassistant/components/toon/sensor.py:141: error: Argument 2 to "getattr" has incompatible type "Union[bool, str, None]"; expected "str" [arg-type] | |
homeassistant/components/toon/sensor.py:146: error: Incompatible return value type (got "Union[bool, str, None]", expected "Optional[str]") [return-value] | |
homeassistant/components/toon/sensor.py:151: error: Incompatible return value type (got "Union[bool, str, None]", expected "Optional[str]") [return-value] | |
homeassistant/components/toon/sensor.py:53: error: List item 0 has incompatible type "ToonDisplayDeviceSensor"; expected "ToonElectricityMeterDeviceSensor" [list-item] | |
homeassistant/components/toon/sensor.py:58: error: List comprehension has incompatible type List[ToonGasMeterDeviceSensor]; expected List[ToonElectricityMeterDeviceSensor] [misc] | |
homeassistant/components/toon/sensor.py:72: error: List comprehension has incompatible type List[ToonWaterMeterDeviceSensor]; expected List[ToonElectricityMeterDeviceSensor] [misc] | |
homeassistant/components/toon/sensor.py:87: error: List comprehension has incompatible type List[ToonSolarDeviceSensor]; expected List[ToonElectricityMeterDeviceSensor] [misc] | |
homeassistant/components/toon/switch.py:107: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/toon/switch.py:114: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/toon/switch.py:50: error: Argument "enabled_default" to "__init__" of "ToonEntity" has incompatible type "object"; expected "bool" [arg-type] | |
homeassistant/components/toon/switch.py:51: error: Argument "icon" to "__init__" of "ToonEntity" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/switch.py:52: error: Argument "name" to "__init__" of "ToonEntity" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/switch.py:58: error: Item "None" of "Optional[Any]" has no attribute "agreement" [union-attr] | |
homeassistant/components/toon/switch.py:65: error: Argument 2 to "getattr" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/switch.py:67: error: Argument 2 to "getattr" has incompatible type "object"; expected "str" [arg-type] | |
homeassistant/components/toon/switch.py:85: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/toon/switch.py:92: error: "DataUpdateCoordinator[Any]" has no attribute "toon" [attr-defined] | |
homeassistant/components/tplink/__init__.py:104: error: Argument 1 has incompatible type "Dict[str, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/tplink/__init__.py:99: error: Argument 1 has incompatible type "Dict[str, Any]"; expected "ConfigEntry" [arg-type] | |
homeassistant/components/tplink/config_flow.py:11: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/tplink/light.py:152: error: Need type annotation for '_emeter_params' (hint: "_emeter_params: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/tplink/light.py:365: error: Argument "brightness" to "LightState" has incompatible type "Optional[Any]"; expected "int" [arg-type] | |
homeassistant/components/tplink/light.py:366: error: Argument "color_temp" to "LightState" has incompatible type "Optional[int]"; expected "float" [arg-type] | |
homeassistant/components/tplink/light.py:367: error: Argument "hs" to "LightState" has incompatible type "Optional[Tuple[Any, Any]]"; expected "Tuple[int, int]" [arg-type] | |
homeassistant/components/tplink/light.py:424: error: Unsupported right operand type for in ("None") [operator] | |
homeassistant/components/tplink/light.py:425: error: Value of type "None" is not indexable [index] | |
homeassistant/components/tplink/light.py:437: error: Unsupported right operand type for in ("None") [operator] | |
homeassistant/components/tplink/light.py:438: error: Value of type "None" is not indexable [index] | |
homeassistant/components/tplink/switch.py:56: error: Need type annotation for '_emeter_params' (hint: "_emeter_params: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/trace/__init__.py:68: error: Argument 1 to "trace_id_set" has incompatible type "Tuple[Tuple[str, str], str]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/tradfri/__init__.py:106: error: Need type annotation for 'tradfri_data' (hint: "tradfri_data: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/tradfri/__init__.py:73: error: Item "List[Any]" of "Union[List[Any], Dict[Any, Any]]" has no attribute "items" [union-attr] | |
homeassistant/components/tuya/config_flow.py:170: error: Need type annotation for '_conf_devs_option' (hint: "_conf_devs_option: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/twentemilieu/config_flow.py:31: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/twentemilieu/config_flow.py:43: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/twentemilieu/config_flow.py:73: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/twentemilieu/config_flow.py:75: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/twentemilieu/sensor.py:124: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/twentemilieu/sensor.py:130: error: "None" not callable [misc] | |
homeassistant/components/twentemilieu/sensor.py:72: error: Argument 1 has incompatible type "List[TwenteMilieuSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/twentemilieu/sensor.py:72: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/twentemilieu/sensor.py:72: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/unifi/config_flow.py:203: error: Item "None" of "Optional[ConfigEntry]" has no attribute "data" [union-attr] | |
homeassistant/components/unifi/config_flow.py:204: error: Item "None" of "Optional[ConfigEntry]" has no attribute "title" [union-attr] | |
homeassistant/components/unifi/config_flow.py:208: error: Item "None" of "Optional[ConfigEntry]" has no attribute "data" [union-attr] | |
homeassistant/components/unifi/config_flow.py:209: error: Item "None" of "Optional[ConfigEntry]" has no attribute "data" [union-attr] | |
homeassistant/components/unifi/config_flow.py:211: error: Item "None" of "Optional[ConfigEntry]" has no attribute "data" [union-attr] | |
homeassistant/components/unifi/config_flow.py:213: error: Item "None" of "Optional[ConfigEntry]" has no attribute "data" [union-attr] | |
homeassistant/components/unifi/sensor.py:146: error: Return type "datetime" of "state" incompatible with return type "Union[None, str, int, float]" in supertype "Entity" [override] | |
homeassistant/components/unifi/sensor.py:149: error: Incompatible return value type (got "str", expected "datetime") [return-value] | |
homeassistant/components/unifi/sensor.py:150: error: Incompatible return value type (got "str", expected "datetime") [return-value] | |
homeassistant/components/unifi/unifi_entity_base.py:46: error: Argument 3 to "async_dispatcher_connect" has incompatible type "function"; expected "Callable[..., Any]" [arg-type] | |
homeassistant/components/upcloud/__init__.py:259: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/updater/binary_sensor.py:34: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/updater/binary_sensor.py:41: error: Incompatible return value type (got "None", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/upnp/__init__.py:57: error: Incompatible return value type (got "None", expected "Device") [return-value] | |
homeassistant/components/upnp/config_flow.py:132: error: Incompatible types in assignment (expression has type "List[Mapping[Any, Any]]", variable has type "Mapping[Any, Any]") [assignment] | |
homeassistant/components/upnp/config_flow.py:157: error: Signature of "async_step_ssdp" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/upnp/config_flow.py:197: error: Incompatible types in assignment (expression has type "List[Mapping[Any, Any]]", variable has type "Mapping[Any, Any]") [assignment] | |
homeassistant/components/upnp/config_flow.py:262: error: No return value expected [return-value] | |
homeassistant/components/upnp/config_flow.py:267: error: No return value expected [return-value] | |
homeassistant/components/upnp/config_flow.py:57: error: Incompatible types in assignment (expression has type "None", variable has type "Mapping[Any, Any]") [assignment] | |
homeassistant/components/upnp/config_flow.py:59: error: Return type "Coroutine[Any, Any, Mapping[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/upnp/config_flow.py:91: error: Incompatible types in assignment (expression has type "List[Mapping[Any, Any]]", variable has type "Mapping[Any, Any]") [assignment] | |
homeassistant/components/upnp/device.py:101: error: Argument 2 to "IgdDevice" has incompatible type "None"; expected "UpnpEventHandler" [arg-type] | |
homeassistant/components/upnp/device.py:159: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/upnp/device.py:165: error: Function "builtins.any" is not valid as a type [valid-type] | |
homeassistant/components/upnp/device.py:165: note: Perhaps you need "Callable[...]" or a callback protocol? | |
homeassistant/components/upnp/device.py:55: error: Incompatible types in assignment (expression has type "None", variable has type "DataUpdateCoordinator[Any]") [assignment] | |
homeassistant/components/upnp/device.py:66: error: Unsupported target for indexed assignment ("Mapping[str, str]") [index] | |
homeassistant/components/upnp/device.py:67: error: Unsupported target for indexed assignment ("Mapping[str, str]") [index] | |
homeassistant/components/upnp/device.py:68: error: Unsupported target for indexed assignment ("Mapping[str, str]") [index] | |
homeassistant/components/upnp/device.py:69: error: Unsupported target for indexed assignment ("Mapping[str, str]") [index] | |
homeassistant/components/upnp/device.py:72: error: Incompatible return value type (got "Set[Mapping[str, str]]", expected "List[Mapping[Any, Any]]") [return-value] | |
homeassistant/components/upnp/device.py:81: error: Unsupported target for indexed assignment ("Mapping[Any, Any]") [index] | |
homeassistant/components/upnp/device.py:82: error: Unsupported target for indexed assignment ("Mapping[Any, Any]") [index] | |
homeassistant/components/upnp/device.py:83: error: Unsupported target for indexed assignment ("Mapping[Any, Any]") [index] | |
homeassistant/components/upnp/sensor.py:146: error: Unsupported right operand type for in ("Optional[Any]") [operator] | |
homeassistant/components/upnp/sensor.py:182: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/upnp/sensor.py:221: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/upnp/sensor.py:224: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/velbus/config_flow.py:29: error: Need type annotation for '_errors' (hint: "_errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/vera/__init__.py:171: error: Argument 1 to "append" of "list" has incompatible type "Awaitable[Any]"; expected "Coroutine[Any, Any, bool]" [arg-type] | |
homeassistant/components/vera/__init__.py:203: error: Argument 2 to "next" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/vera/__init__.py:92: error: Argument "data" to "async_update_entry" of "ConfigEntries" has incompatible type "MappingProxyType[str, Any]"; expected "Union[Dict[Any, Any], UndefinedType]" [arg-type] | |
homeassistant/components/vera/binary_sensor.py:31: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/climate.py:115: error: Missing return statement [return] | |
homeassistant/components/vera/climate.py:48: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/climate.py:65: error: Return type "Optional[int]" of "supported_features" incompatible with return type "int" in supertype "ClimateEntity" [override] | |
homeassistant/components/vera/common.py:72: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/vera/config_flow.py:84: error: Argument 1 to "options_schema" has incompatible type "MappingProxyType[Any, Any]"; expected "Optional[Dict[Any, Any]]" [arg-type] | |
homeassistant/components/vera/cover.py:32: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/light.py:105: error: Incompatible types in assignment (expression has type "Optional[Tuple[float, float]]", variable has type "None") [assignment] | |
homeassistant/components/vera/light.py:36: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/lock.py:35: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/lock.py:53: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/lock.py:58: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/lock.py:77: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/vera/lock.py:79: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/vera/lock.py:97: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/sensor.py:104: error: Argument 2 to "convert" has incompatible type "Type[float]"; expected "Callable[[Union[SupportsFloat, _SupportsIndex, str]], int]" [arg-type] | |
homeassistant/components/vera/sensor.py:105: error: Argument 1 to "round" has incompatible type "Optional[int]"; expected "float" [arg-type] | |
homeassistant/components/vera/sensor.py:105: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/vera/sensor.py:108: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/sensor.py:110: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/sensor.py:36: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/sensor.py:58: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/vera/sensor.py:61: error: Missing return statement [return] | |
homeassistant/components/vera/sensor.py:84: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/sensor.py:86: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vera/switch.py:32: error: Item "None" of "Optional[List[Any]]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vera/switch.py:62: error: Missing return statement [return] | |
homeassistant/components/verisure/alarm_control_panel.py:113: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/alarm_control_panel.py:115: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:122: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:127: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:32: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:53: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:63: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:82: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/binary_sensor.py:90: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/camera.py:101: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:119: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:126: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/verisure/camera.py:143: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:31: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/verisure/camera.py:40: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/camera.py:47: error: Incompatible types in assignment (expression has type "Type[VerisureDataUpdateCoordinator]", base class "CoordinatorEntity" defined the type as "DataUpdateCoordinator[Any]") [assignment] | |
homeassistant/components/verisure/camera.py:67: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:77: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:84: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/camera.py:92: error: Return value expected [return-value] | |
homeassistant/components/verisure/camera.py:99: error: Cannot determine type of 'coordinator' [has-type] | |
homeassistant/components/verisure/config_flow.py:107: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:117: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:129: error: Incompatible types in assignment (expression has type "Optional[ConfigEntry]", variable has type "ConfigEntry") [assignment] | |
homeassistant/components/verisure/config_flow.py:163: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:165: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:217: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:219: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/config_flow.py:58: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/verisure/config_flow.py:86: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/verisure/coordinator.py:27: error: Need type annotation for 'imageseries' (hint: "imageseries: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/verisure/lock.py:105: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/lock.py:116: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/lock.py:166: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/verisure/lock.py:39: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/verisure/lock.py:44: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/verisure/lock.py:52: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/lock.py:75: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/lock.py:85: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/lock.py:99: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:103: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:104: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:128: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:144: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:147: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:160: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:167: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:168: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:192: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:203: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:216: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:223: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:224: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:31: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:37: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:43: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:64: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:80: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:83: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/sensor.py:96: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:26: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:47: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:57: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:73: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:83: error: Value of type "Optional[Any]" is not indexable [index] | |
homeassistant/components/verisure/switch.py:90: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/verisure/switch.py:96: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/vizio/config_flow.py:127: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:161: error: Argument 1 to "multi_select" has incompatible type "List[Any]"; expected "Dict[Any, Any]" [arg-type] | |
homeassistant/components/vizio/config_flow.py:172: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:194: error: Need type annotation for '_apps' (hint: "_apps: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/vizio/config_flow.py:205: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:207: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/vizio/config_flow.py:268: error: Incompatible types in assignment (expression has type "Dict[str, Any]", variable has type "None") [assignment] | |
homeassistant/components/vizio/config_flow.py:280: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:333: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:335: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:337: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/vizio/config_flow.py:344: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/vizio/config_flow.py:349: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:350: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/vizio/config_flow.py:352: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:356: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:357: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/vizio/config_flow.py:357: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:359: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/vizio/config_flow.py:360: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:365: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:366: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:371: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:378: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/vizio/config_flow.py:389: error: Need type annotation for 'errors' (hint: "errors: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/vizio/config_flow.py:395: error: Value of type "None" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:396: error: Value of type "None" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:398: error: Value of type "None" is not indexable [index] | |
homeassistant/components/vizio/config_flow.py:408: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/vizio/config_flow.py:451: error: Argument 1 to "_create_entry" of "VizioConfigFlow" has incompatible type "None"; expected "Dict[str, Any]" [arg-type] | |
homeassistant/components/vizio/media_player.py:123: error: Unexpected keyword argument "update_before_add" [call-arg] | |
homeassistant/components/vizio/media_player.py:125: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/vizio/media_player.py:154: error: Need type annotation for '_available_sound_modes' (hint: "_available_sound_modes: List[<type>] = ...") [var-annotated] | |
homeassistant/components/vizio/media_player.py:155: error: Need type annotation for '_available_inputs' (hint: "_available_inputs: List[<type>] = ...") [var-annotated] | |
homeassistant/components/vizio/media_player.py:156: error: Need type annotation for '_available_apps' (hint: "_available_apps: List[<type>] = ...") [var-annotated] | |
homeassistant/components/vizio/media_player.py:206: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vizio/media_player.py:215: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/vizio/media_player.py:222: error: Incompatible types in assignment (expression has type "float", variable has type "None") [assignment] | |
homeassistant/components/vizio/media_player.py:265: error: Item "None" of "Optional[Any]" has no attribute "__iter__" (not iterable) [union-attr] | |
homeassistant/components/vizio/media_player.py:273: error: List or tuple expected as variable arguments [misc] | |
homeassistant/components/vizio/media_player.py:390: error: List item 2 has incompatible type "List[Dict[str, Any]]"; expected "str" [list-item] | |
homeassistant/components/vizio/media_player.py:424: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/vizio/media_player.py:474: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/vizio/media_player.py:477: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/volumio/config_flow.py:97: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/volumio/media_player.py:39: error: Need type annotation for '_CONFIGURING' (hint: "_CONFIGURING: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/webostv/media_player.py:130: error: Need type annotation for '_source_list' (hint: "_source_list: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/wemo/__init__.py:138: error: Need type annotation for '_added_serial_numbers' (hint: "_added_serial_numbers: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/wemo/__init__.py:139: error: Need type annotation for '_loaded_components' (hint: "_loaded_components: Set[<type>] = ...") [var-annotated] | |
homeassistant/components/wemo/__init__.py:205: error: Incompatible types in assignment (expression has type "Callable[[], None]", variable has type "None") [assignment] | |
homeassistant/components/wemo/__init__.py:208: error: Argument 3 to "async_call_later" has incompatible type "Callable[[VarArg(Any)], Coroutine[Any, Any, None]]"; expected "Union[HassJob, Callable[..., None]]" [arg-type] | |
homeassistant/components/wemo/config_flow.py:17: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Any]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/wemo/entity.py:107: error: "None" has no attribute "__aenter__" [attr-defined] | |
homeassistant/components/wemo/entity.py:107: error: "None" has no attribute "__aexit__" [attr-defined] | |
homeassistant/components/wemo/entity.py:141: error: Incompatible return value type (got "None", expected "bool") [return-value] | |
homeassistant/components/wemo/entity.py:187: error: Argument 1 to "add_job" of "HomeAssistant" has incompatible type "Coroutine[Any, Any, None]"; expected "Callable[..., Any]" [arg-type] | |
homeassistant/components/wemo/entity.py:192: error: "None" has no attribute "locked" [attr-defined] | |
homeassistant/components/wemo/entity.py:80: error: Incompatible types in assignment (expression has type "Lock", variable has type "None") [assignment] | |
homeassistant/components/wemo/entity.py:91: error: "None" has no attribute "locked" [attr-defined] | |
homeassistant/components/wemo/entity.py:96: error: Item "None" of "Optional[EntityPlatform]" has no attribute "scan_interval" [union-attr] | |
homeassistant/components/wemo/fan.py:168: error: Argument 1 to "set_percentage" of "WemoHumidifier" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/wink/__init__.py:208: error: Need type annotation for 'WINK_HUBS' (hint: "WINK_HUBS: List[<type>] = ...") [var-annotated] | |
homeassistant/components/wink/climate.py:237: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/wink/climate.py:440: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/wink/fan.py:83: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/withings/__init__.py:103: error: Incompatible types in assignment (expression has type "Dict[str, Any]", target has type "str") [assignment] | |
homeassistant/components/withings/__init__.py:118: error: Argument 2 to "async_update_entry" of "ConfigEntries" has incompatible type "**Dict[str, str]"; expected "Union[Dict[Any, Any], UndefinedType]" [arg-type] | |
homeassistant/components/withings/__init__.py:118: error: Argument 2 to "async_update_entry" of "ConfigEntries" has incompatible type "**Dict[str, str]"; expected "Union[Mapping[str, Any], UndefinedType]" [arg-type] | |
homeassistant/components/withings/__init__.py:196: error: Argument 1 to "int" has incompatible type "Union[str, bytes, FileField]"; expected "Union[str, SupportsInt, _SupportsIndex, _SupportsTrunc]" [arg-type] | |
homeassistant/components/withings/binary_sensor.py:37: error: Incompatible return value type (got "Optional[Any]", expected "bool") [return-value] | |
homeassistant/components/withings/common.py:1030: error: Argument 2 to "DataManager" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/withings/common.py:598: error: Argument "update_method" to "DataUpdateCoordinator" has incompatible type "Callable[[], Coroutine[Any, Any, Optional[Dict[Any, Any]]]]"; expected "Optional[Callable[[], Awaitable[Dict[Any, Any]]]]" [arg-type] | |
homeassistant/components/withings/common.py:751: error: "FlowResultDict" has no attribute "context" [attr-defined] | |
homeassistant/components/withings/common.py:756: error: Return value expected [return-value] | |
homeassistant/components/withings/common.py:763: error: Return value expected [return-value] | |
homeassistant/components/withings/common.py:973: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/withings/config_flow.py:103: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/withings/config_flow.py:45: error: Return type "Coroutine[Any, Any, Dict[Any, Any]]" of "async_oauth_create_entry" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "AbstractOAuth2FlowHandler" [override] | |
homeassistant/components/withings/config_flow.py:64: error: Argument 1 to "slugify" has incompatible type "Optional[Any]"; expected "str" [arg-type] | |
homeassistant/components/withings/config_flow.py:74: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/withings/config_flow.py:83: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/withings/config_flow.py:89: error: Incompatible return value type (got "FlowResultDict", expected "Dict[Any, Any]") [return-value] | |
homeassistant/components/wled/__init__.py:183: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/__init__.py:184: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/__init__.py:185: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/__init__.py:186: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/__init__.py:187: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/__init__.py:51: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/config_flow.py:100: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/wled/config_flow.py:102: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/wled/config_flow.py:107: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/wled/config_flow.py:116: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/wled/config_flow.py:27: error: Return type "Coroutine[Any, Any, Dict[str, Any]]" of "async_step_user" incompatible with return type "Coroutine[Any, Any, FlowResultDict]" in supertype "ConfigFlow" [override] | |
homeassistant/components/wled/config_flow.py:33: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/wled/config_flow.py:38: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/wled/config_flow.py:75: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/wled/config_flow.py:76: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/wled/config_flow.py:78: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "get" [union-attr] | |
homeassistant/components/wled/config_flow.py:80: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/wled/config_flow.py:85: error: Incompatible return value type (got "FlowResultDict", expected "Dict[str, Any]") [return-value] | |
homeassistant/components/wled/config_flow.py:87: error: Unsupported target for indexed assignment ("Optional[Dict[str, Any]]") [index] | |
homeassistant/components/wled/config_flow.py:90: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/wled/config_flow.py:91: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/wled/config_flow.py:93: error: Value of type "Optional[Dict[str, Any]]" is not indexable [index] | |
homeassistant/components/wled/light.py:105: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:112: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:122: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:127: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:136: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:138: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:147: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:152: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:173: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:183: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:187: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:188: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:189: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:201: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/light.py:207: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:216: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:220: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:224: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:237: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:243: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:248: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:262: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:284: error: Item "None" of "Optional[Any]" has no attribute "effects" [union-attr] | |
homeassistant/components/wled/light.py:289: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:304: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:307: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:308: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:311: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:312: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:323: error: Incompatible types in assignment (expression has type "Tuple[int, ...]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:329: error: Incompatible types in assignment (expression has type "Tuple[int, int, int]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:348: error: 'None' object is not iterable [misc] | |
homeassistant/components/wled/light.py:349: error: Incompatible types in assignment (expression has type "Tuple[int, int, int]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:354: error: Incompatible types in assignment (expression has type "Tuple[int, int, int]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:358: error: Unsupported operand types for + ("int" and "Tuple[Any]") [operator] | |
homeassistant/components/wled/light.py:360: error: Unsupported operand types for + ("int" and "Tuple[Optional[int]]") [operator] | |
homeassistant/components/wled/light.py:364: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:367: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:371: error: Incompatible types in assignment (expression has type "int", target has type "bool") [assignment] | |
homeassistant/components/wled/light.py:374: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:375: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:378: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:393: error: Incompatible types in assignment (expression has type "Union[int, str]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:399: error: Incompatible types in assignment (expression has type "Union[int, str]", target has type "int") [assignment] | |
homeassistant/components/wled/light.py:407: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:417: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/light.py:428: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/light.py:442: error: Incompatible types in assignment (expression has type "WLEDMasterLight", target has type "WLEDSegmentLight") [assignment] | |
homeassistant/components/wled/light.py:63: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/wled/light.py:79: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/wled/sensor.py:100: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:101: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:107: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:126: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:132: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:152: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:159: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:173: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:180: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:194: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:201: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:220: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:226: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:240: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:246: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:42: error: Argument 1 has incompatible type "List[WLEDSensor]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/wled/sensor.py:42: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/wled/sensor.py:42: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/wled/sensor.py:74: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/sensor.py:79: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/wled/sensor.py:92: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:111: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:117: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:122: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:127: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/switch.py:132: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/switch.py:145: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:151: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:156: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:161: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/switch.py:166: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/switch.py:36: error: Argument 1 has incompatible type "List[WLEDSwitch]"; expected "List[Entity]" [arg-type] | |
homeassistant/components/wled/switch.py:36: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/wled/switch.py:36: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/wled/switch.py:60: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:73: error: Item "None" of "Optional[Any]" has no attribute "info" [union-attr] | |
homeassistant/components/wled/switch.py:80: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:81: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:82: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:88: error: Item "None" of "Optional[Any]" has no attribute "state" [union-attr] | |
homeassistant/components/wled/switch.py:93: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wled/switch.py:98: error: "DataUpdateCoordinator[Any]" has no attribute "wled" [attr-defined] | |
homeassistant/components/wunderground/sensor.py:120: error: Argument "icon" to "__init__" of "WUSensorConfig" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/wunderground/sensor.py:314: error: Argument "icon" to "__init__" of "WUSensorConfig" has incompatible type "Callable[[Any], str]"; expected "str" [arg-type] | |
homeassistant/components/wunderground/sensor.py:376: error: Cannot determine type of 'data' [has-type] | |
homeassistant/components/wunderground/sensor.py:385: error: Cannot determine type of 'data' [has-type] | |
homeassistant/components/wunderground/sensor.py:421: error: Cannot determine type of 'data' [has-type] | |
homeassistant/components/wunderground/sensor.py:573: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:574: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:575: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:576: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:577: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:578: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:579: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:580: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:581: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:582: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:583: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:584: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:585: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:586: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:587: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:588: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:589: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:590: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:591: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:592: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:593: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:594: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:595: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:596: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:597: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:598: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:599: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:600: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:601: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:602: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:603: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:604: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:605: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:606: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:607: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/wunderground/sensor.py:608: error: Argument 2 to "WUHourlyForecastSensorConfig" has incompatible type "str"; expected "int" [arg-type] | |
homeassistant/components/xbox/__init__.py:182: error: Argument 2 to "XboxData" has incompatible type "List[<nothing>]"; expected "Dict[str, PresenceData]" [arg-type] | |
homeassistant/components/xbox/__init__.py:264: error: Argument "in_game" to "PresenceData" has incompatible type "Optional[Any]"; expected "bool" [arg-type] | |
homeassistant/components/xbox/base_sensor.py:29: error: Item "None" of "Optional[Any]" has no attribute "presence" [union-attr] | |
homeassistant/components/xbox/base_sensor.py:35: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/xbox/base_sensor.py:47: error: Incompatible return value type (got "None", expected "str") [return-value] | |
homeassistant/components/xbox/binary_sensor.py:56: error: Need type annotation for 'new_entities' (hint: "new_entities: List[<type>] = ...") [var-annotated] | |
homeassistant/components/xbox/binary_sensor.py:70: error: Argument 3 to "async_remove_entities" has incompatible type "Dict[str, List[XboxBinarySensorEntity]]"; expected "Dict[str, XboxBinarySensorEntity]" [arg-type] | |
homeassistant/components/xbox/binary_sensor.py:82: error: "XboxBinarySensorEntity" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/xbox/browse_media.py:100: error: Item "None" of "Optional[Any]" has no attribute "uri" [union-attr] | |
homeassistant/components/xbox/browse_media.py:108: error: Item "None" of "Optional[List[BrowseMedia]]" has no attribute "append" [union-attr] | |
homeassistant/components/xbox/browse_media.py:69: error: Item "None" of "Optional[List[BrowseMedia]]" has no attribute "append" [union-attr] | |
homeassistant/components/xbox/browse_media.py:77: error: Item "None" of "Optional[Any]" has no attribute "uri" [union-attr] | |
homeassistant/components/xbox/browse_media.py:92: error: Item "None" of "Optional[List[BrowseMedia]]" has no attribute "append" [union-attr] | |
homeassistant/components/xbox/media_player.py:102: error: Item "None" of "Optional[Any]" has no attribute "consoles" [union-attr] | |
homeassistant/components/xbox/media_source.py:211: error: "List[Any]" has no attribute "get" [attr-defined] | |
homeassistant/components/xbox/media_source.py:60: error: Incompatible return value type (got "Tuple[str, ...]", expected "Tuple[str, str, str]") [return-value] | |
homeassistant/components/xbox/media_source.py:92: error: Incompatible default for argument "media_types" (default has type "Tuple[str, str, str]", argument has type "Tuple[str]") [assignment] | |
homeassistant/components/xbox/remote.py:66: error: Item "None" of "Optional[Any]" has no attribute "consoles" [union-attr] | |
homeassistant/components/xbox/sensor.py:56: error: Need type annotation for 'new_entities' (hint: "new_entities: List[<type>] = ...") [var-annotated] | |
homeassistant/components/xbox/sensor.py:70: error: Argument 3 to "async_remove_entities" has incompatible type "Dict[str, List[XboxSensorEntity]]"; expected "Dict[str, XboxSensorEntity]" [arg-type] | |
homeassistant/components/xbox/sensor.py:82: error: "XboxSensorEntity" has no attribute "__iter__" (not iterable) [attr-defined] | |
homeassistant/components/xiaomi_aqara/__init__.py:180: error: Argument 1 to <set> has incompatible type "Tuple[str, Optional[str]]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/xiaomi_aqara/lock.py:42: error: Missing return statement [return] | |
homeassistant/components/xiaomi_miio/__init__.py:69: error: Item "None" of "Optional[str]" has no attribute "endswith" [union-attr] | |
homeassistant/components/xiaomi_miio/__init__.py:84: error: Argument 1 to <set> has incompatible type "Tuple[str, Optional[str]]"; expected "Tuple[str, str]" [arg-type] | |
homeassistant/components/xiaomi_miio/light.py:400: error: Module "datetime" is not valid as a type [valid-type] | |
homeassistant/components/xiaomi_miio/light.py:404: error: datetime? has no attribute "replace" [attr-defined] | |
homeassistant/components/xiaomi_miio/light.py:701: error: Module "datetime" is not valid as a type [valid-type] | |
homeassistant/components/xiaomi_miio/light.py:705: error: datetime? has no attribute "replace" [attr-defined] | |
homeassistant/components/xiaomi_miio/light.py:811: error: Return type "Tuple[Any, ...]" of "hs_color" incompatible with return type "Optional[Tuple[float, float]]" in supertype "LightEntity" [override] | |
homeassistant/components/xiaomi_miio/sensor.py:66: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/xiaomi_miio/sensor.py:67: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/xiaomi_miio/sensor.py:68: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment] | |
homeassistant/components/xiaomi_miio/sensor.py:73: error: Argument "icon" to "SensorType" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/xiaomi_miio/sensor.py:76: error: Argument "icon" to "SensorType" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/xiaomi_miio/sensor.py:79: error: Argument "icon" to "SensorType" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/xiaomi_miio/sensor.py:82: error: Argument "icon" to "SensorType" has incompatible type "None"; expected "str" [arg-type] | |
homeassistant/components/yamaha/media_player.py:82: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yamaha/media_player.py:83: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yamaha/media_player.py:85: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yamaha/media_player.py:86: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yamaha/media_player.py:87: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yamaha/media_player.py:88: error: "None" has no attribute "get" [attr-defined] | |
homeassistant/components/yeelight/__init__.py:300: error: Need type annotation for '_seen' (hint: "_seen: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/yeelight/__init__.py:301: error: Need type annotation for '_callbacks' (hint: "_callbacks: Dict[<type>, <type>] = ...") [var-annotated] | |
homeassistant/components/yeelight/light.py:380: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:385: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:390: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:395: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:400: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:405: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:410: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:415: error: Item "None" of "Optional[EntityPlatform]" has no attribute "async_register_entity_service" [union-attr] | |
homeassistant/components/yeelight/light.py:526: error: Return type "Tuple[Any, ...]" of "hs_color" incompatible with return type "Optional[Tuple[float, float]]" in supertype "LightEntity" [override] | |
homeassistant/components/yeelight/light.py:735: error: Unsupported operand types for * ("None" and "int") [operator] | |
homeassistant/components/yeelight/light.py:735: note: Left operand is of type "Optional[Any]" | |
homeassistant/components/yeelight/light.py:775: error: Unsupported operand types for * ("None" and "int") [operator] | |
homeassistant/components/yeelight/light.py:775: note: Left operand is of type "Optional[Any]" | |
homeassistant/components/zerproc/config_flow.py:25: error: Argument 3 to "register_discovery_flow" has incompatible type "Callable[[Any], Coroutine[Any, Any, bool]]"; expected "Callable[[], Union[Awaitable[bool], bool]]" [arg-type] | |
homeassistant/components/zerproc/light.py:50: error: Incompatible return value type (got "List[ZerprocLight]", expected "List[Entity]") [return-value] | |
homeassistant/components/zerproc/light.py:50: note: "List" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance | |
homeassistant/components/zerproc/light.py:50: note: Consider using "Sequence" instead, which is covariant | |
homeassistant/components/zerproc/light.py:50: note: Perhaps you need a type annotation for "entities"? Suggestion: "List[Entity]" | |
homeassistant/components/zha/api.py:192: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:237: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:249: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:287: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:297: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:319: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:356: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:374: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:398: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:428: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:458: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:494: error: ZhaGatewayType? has no attribute "async_disable_debug_mode" [attr-defined] | |
homeassistant/components/zha/api.py:504: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:517: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:553: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:598: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:656: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:709: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:737: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:763: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:806: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:827: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:888: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/api.py:918: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/components/zha/binary_sensor.py:119: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:120: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:127: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:128: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:135: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:136: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:154: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:155: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:162: error: Incompatible types in assignment (expression has type "str", base class "BinarySensor" defined the type as "None") [assignment] | |
homeassistant/components/zha/binary_sensor.py:167: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/zha/climate.py:284: error: Return type "Optional[str]" of "hvac_mode" incompatible with return type "str" in supertype "ClimateEntity" [override] | |
homeassistant/components/zha/climate.py:289: error: Return type "Tuple[str, ...]" of "hvac_modes" incompatible with return type "List[str]" in supertype "ClimateEntity" [override] | |
homeassistant/components/zha/climate.py:421: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/zha/climate.py:447: error: Unsupported right operand type for in ("Optional[List[str]]") [operator] | |
homeassistant/components/zha/climate.py:457: error: Argument 1 to "async_preset_handler" of "Thermostat" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/zha/climate.py:564: error: ZhaDeviceType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/climate.py:639: error: Return type "Tuple[str, ...]" of "hvac_modes" incompatible with return type "List[str]" in supertype "ClimateEntity" [override] | |
homeassistant/components/zha/climate.py:664: error: ZhaDeviceType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/config_flow.py:172: error: "CALLABLE_T" has no attribute "SCHEMA_DEVICE" [attr-defined] | |
homeassistant/components/zha/config_flow.py:173: error: "CALLABLE_T" has no attribute "probe" [attr-defined] | |
homeassistant/components/zha/config_flow.py:96: error: Signature of "async_step_zeroconf" incompatible with supertype "ConfigFlow" [override] | |
homeassistant/components/zha/core/channels/__init__.py:107: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:107: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:110: error: zha_typing.ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:122: error: zha_typing.ZDOChannelType? has no attribute "async_initialize" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:123: error: zha_typing.ZDOChannelType? has no attribute "debug" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:130: error: zha_typing.ZDOChannelType? has no attribute "async_configure" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:131: error: zha_typing.ZDOChannelType? has no attribute "debug" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:140: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:140: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:143: error: zha_typing.ZhaDeviceType? has no attribute "status" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:146: error: zha_typing.ZhaDeviceType? has no attribute "hass" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:153: error: zha_typing.ZhaDeviceType? has no attribute "hass" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:158: error: zha_typing.ZhaDeviceType? has no attribute "hass" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:161: error: zha_typing.ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:163: error: zha_typing.ZhaDeviceType? has no attribute "device_id" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:178: error: Variable "homeassistant.components.zha.core.typing.ClientChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:178: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:192: error: Variable "homeassistant.components.zha.core.typing.ClientChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:192: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:197: error: Variable "homeassistant.components.zha.core.typing.ZigpyEndpointType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:197: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:199: error: zha_typing.ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:209: error: zha_typing.ZhaDeviceType? has no attribute "nwk" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:214: error: zha_typing.ZhaDeviceType? has no attribute "is_mains_powered" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:219: error: zha_typing.ZhaDeviceType? has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:224: error: zha_typing.ZhaDeviceType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:234: error: zha_typing.ZhaDeviceType? has no attribute "model" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:239: error: zha_typing.ZhaDeviceType? has no attribute "skip_configuration" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:250: error: zha_typing.ZigpyEndpointType? has no attribute "endpoint_id" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:252: error: zha_typing.ZigpyEndpointType? has no attribute "profile_id" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:253: error: zha_typing.ZigpyEndpointType? has no attribute "device_type" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:254: error: zha_typing.ZigpyEndpointType? has no attribute "device_type" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:258: error: zha_typing.ZigpyEndpointType? has no attribute "in_clusters" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:262: error: zha_typing.ZigpyEndpointType? has no attribute "out_clusters" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:279: error: zha_typing.ZigpyEndpointType? has no attribute "in_clusters" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:296: error: zha_typing.ZhaDeviceType? has no attribute "is_mains_powered" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:310: error: zha_typing.ZigpyEndpointType? has no attribute "out_clusters" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:345: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:345: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:356: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:356: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:358: error: zha_typing.ChannelType? has no attribute "id" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:35: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:35: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:361: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:361: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:41: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:41: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:43: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:43: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:47: error: zha_typing.ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:48: error: zha_typing.ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/channels/__init__.py:57: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:57: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:62: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:62: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:68: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:68: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:73: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:73: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:84: error: Variable "homeassistant.components.zha.core.typing.ZDOChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:84: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/__init__.py:89: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/__init__.py:89: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/base.py:105: error: zha_typing.ZigpyClusterType? has no attribute "add_listener" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:140: error: zha_typing.ChannelPoolType? has no attribute "async_send_signal" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:163: error: zha_typing.ChannelPoolType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:164: error: zha_typing.ChannelPoolType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:166: error: Need type annotation for 'report' [var-annotated] | |
homeassistant/components/zha/core/channels/base.py:167: error: Value of type <nothing> is not indexable [index] | |
homeassistant/components/zha/core/channels/base.py:169: error: Value of type <nothing> is not indexable [index] | |
homeassistant/components/zha/core/channels/base.py:193: error: zha_typing.ChannelPoolType? has no attribute "skip_configuration" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:207: error: zha_typing.ChannelPoolType? has no attribute "skip_configuration" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:212: error: Need type annotation for 'cfg' [var-annotated] | |
homeassistant/components/zha/core/channels/base.py:212: error: Value of type <nothing> is not indexable [index] | |
homeassistant/components/zha/core/channels/base.py:244: error: zha_typing.ChannelPoolType? has no attribute "zha_send_event" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:87: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/base.py:87: error: Variable "homeassistant.components.zha.core.typing.ZigpyClusterType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/base.py:87: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/base.py:90: error: zha_typing.ZigpyClusterType? has no attribute "cluster_id" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:94: error: zha_typing.ChannelPoolType? has no attribute "id" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:94: error: zha_typing.ZigpyClusterType? has no attribute "cluster_id" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:95: error: zha_typing.ChannelPoolType? has no attribute "unique_id" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:96: error: zha_typing.ZigpyClusterType? has no attribute "cluster_id" [attr-defined] | |
homeassistant/components/zha/core/channels/base.py:99: error: Tuple index out of range [misc] | |
homeassistant/components/zha/core/channels/closures.py:107: error: Argument 1 has incompatible type "Type[Shade]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/closures.py:112: error: Argument 1 has incompatible type "Type[WindowCoveringClient]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/closures.py:117: error: Argument 1 has incompatible type "Type[WindowCovering]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/closures.py:11: error: Argument 1 has incompatible type "Type[DoorLockChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/closures.py:122: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/closures.py:16: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:121: error: Argument 1 has incompatible type "Type[AnalogValue]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:125: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:128: error: Argument 1 has incompatible type "Type[ApplianceContorl]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:134: error: Argument 1 has incompatible type "Type[BasicChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:152: error: Argument 1 has incompatible type "Type[BinaryInput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:156: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:159: error: Argument 1 has incompatible type "Type[BinaryOutput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:163: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:166: error: Argument 1 has incompatible type "Type[BinaryValue]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:170: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:173: error: Argument 1 has incompatible type "Type[Commissioning]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:178: error: Argument 1 has incompatible type "Type[DeviceTemperature]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:183: error: Argument 1 has incompatible type "Type[GreenPowerProxy]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:188: error: Argument 1 has incompatible type "Type[Groups]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:193: error: Argument 1 has incompatible type "Type[Identify]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:206: error: Argument 1 has incompatible type "Type[LevelControlClientChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:212: error: Argument 1 has incompatible type "Type[LevelControlChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:217: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:255: error: Argument 1 has incompatible type "Type[MultistateInput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:259: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:262: error: Argument 1 has incompatible type "Type[MultistateOutput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:266: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:269: error: Argument 1 has incompatible type "Type[MultistateValue]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:273: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:276: error: Argument 1 has incompatible type "Type[OnOffClientChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:282: error: Argument 1 has incompatible type "Type[OnOffChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:287: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:290: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/general.py:290: error: Variable "homeassistant.components.zha.core.typing.ZigpyClusterType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/general.py:290: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/general.py:29: error: Argument 1 has incompatible type "Type[Alarms]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:346: error: Incompatible types in assignment (expression has type "Optional[bool]", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/general.py:34: error: Argument 1 has incompatible type "Type[AnalogInput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:360: error: Argument 1 has incompatible type "Type[OnOffConfiguration]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:366: error: Argument 1 has incompatible type "Type[Ota]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:376: error: zha_typing.ChannelPoolType? has no attribute "unique_id" [attr-defined] | |
homeassistant/components/zha/core/channels/general.py:378: error: Value of type "Optional[List[Any]]" is not indexable [index] | |
homeassistant/components/zha/core/channels/general.py:381: error: Argument 1 has incompatible type "Type[Partition]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:387: error: Argument 1 has incompatible type "Type[PollControl]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:38: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:415: error: Argument 2 to "zha_send_event" of "ZigbeeChannel" has incompatible type "Optional[List[Any]]"; expected "Union[int, Dict[Any, Any]]" [arg-type] | |
homeassistant/components/zha/core/channels/general.py:422: error: zha_typing.ChannelPoolType? has no attribute "manufacturer_code" [attr-defined] | |
homeassistant/components/zha/core/channels/general.py:42: error: Argument 1 has incompatible type "Type[AnalogOutput]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:431: error: Argument 1 has incompatible type "Type[PowerConfigurationChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:435: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object], Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/general.py:449: error: Argument 1 has incompatible type "Type[PowerProfile]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:454: error: Argument 1 has incompatible type "Type[RSSILocation]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:459: error: Argument 1 has incompatible type "Type[ScenesClientChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:464: error: Argument 1 has incompatible type "Type[Scenes]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:469: error: Argument 1 has incompatible type "Type[Time]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/general.py:46: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/homeautomation.py:17: error: Argument 1 has incompatible type "Type[ApplianceEventAlerts]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/homeautomation.py:24: error: Argument 1 has incompatible type "Type[ApplianceIdentification]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/homeautomation.py:31: error: Argument 1 has incompatible type "Type[ApplianceStatistics]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/homeautomation.py:38: error: Argument 1 has incompatible type "Type[Diagnostic]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/homeautomation.py:43: error: Argument 1 has incompatible type "Type[ElectricalMeasurementChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/homeautomation.py:51: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/homeautomation.py:95: error: Argument 1 has incompatible type "Type[MeterIdentification]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:135: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", variable has type "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:225: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/zha/core/channels/hvac.py:230: error: Incompatible return value type (got "None", expected "int") [return-value] | |
homeassistant/components/zha/core/channels/hvac.py:340: error: Incompatible types in assignment (expression has type "Set[Any]", variable has type "Dict[Union[int, str], Tuple[Any, ...]]") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:343: error: Unsupported left operand type for - ("Dict[Union[int, str], Tuple[Any, ...]]") [operator] | |
homeassistant/components/zha/core/channels/hvac.py:35: error: Argument 1 has incompatible type "Type[Dehumidification]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:386: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:388: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:404: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:406: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:40: error: Argument 1 has incompatible type "Type[FanChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:410: error: Missing return statement [return] | |
homeassistant/components/zha/core/channels/hvac.py:442: error: Argument 1 has incompatible type "Type[UserInterface]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:46: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/hvac.py:79: error: Argument 1 has incompatible type "Type[Pump]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:84: error: Argument 1 has incompatible type "Type[ThermostatChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/hvac.py:89: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/hvac.py:89: error: Variable "homeassistant.components.zha.core.typing.ZigpyClusterType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/hvac.py:89: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/channels/lighting.py:14: error: Argument 1 has incompatible type "Type[Ballast]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/lighting.py:19: error: Argument 1 has incompatible type "Type[ColorClientChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/lighting.py:25: error: Argument 1 has incompatible type "Type[ColorChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/lighting.py:32: error: Incompatible types in assignment (expression has type "Tuple[Dict[str, object], Dict[str, object], Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/lightlink.py:12: error: Argument 1 has incompatible type "Type[LightLink]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/lightlink.py:19: error: zha_typing.ChannelPoolType? has no attribute "skip_configuration" [attr-defined] | |
homeassistant/components/zha/core/channels/lightlink.py:23: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:18: error: Argument 1 has incompatible type "Type[SmartThingsHumidity]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:22: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:31: error: Argument 1 has incompatible type "Type[OsramButton]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:35: error: Incompatible types in assignment (expression has type "List[<nothing>]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:39: error: Argument 1 has incompatible type "Type[PhillipsRemote]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:43: error: Incompatible types in assignment (expression has type "List[<nothing>]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:47: error: Argument 1 has incompatible type "Type[OppleRemote]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:51: error: Incompatible types in assignment (expression has type "List[<nothing>]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:54: error: Argument 1 has incompatible type "Type[SmartThingsAcceleration]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/manufacturerspecific.py:60: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:14: error: Argument 1 has incompatible type "Type[FlowMeasurement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:18: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:21: error: Argument 1 has incompatible type "Type[IlluminanceLevelSensing]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:27: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:30: error: Argument 1 has incompatible type "Type[IlluminanceMeasurement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:36: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:39: error: Argument 1 has incompatible type "Type[OccupancySensing]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:43: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:46: error: Argument 1 has incompatible type "Type[PressureMeasurement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:50: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:53: error: Argument 1 has incompatible type "Type[RelativeHumidity]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:57: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:65: error: Argument 1 has incompatible type "Type[TemperatureMeasurement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:71: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:79: error: Argument 1 has incompatible type "Type[CarbonMonoxideConcentration]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:85: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/measurement.py:93: error: Argument 1 has incompatible type "Type[CarbonDioxideConcentration]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/measurement.py:99: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/protocol.py:104: error: Argument 1 has incompatible type "Type[MultiStateValueExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:111: error: Argument 1 has incompatible type "Type[MultiStateValueRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:13: error: Argument 1 has incompatible type "Type[AnalogInputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:18: error: Argument 1 has incompatible type "Type[AnalogOutputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:23: error: Argument 1 has incompatible type "Type[AnalogOutputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:28: error: Argument 1 has incompatible type "Type[AnalogValueExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:33: error: Argument 1 has incompatible type "Type[AnalogValueRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:38: error: Argument 1 has incompatible type "Type[BacnetProtocolTunnel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:43: error: Argument 1 has incompatible type "Type[BinaryInputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:48: error: Argument 1 has incompatible type "Type[BinaryInputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:53: error: Argument 1 has incompatible type "Type[BinaryOutputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:58: error: Argument 1 has incompatible type "Type[BinaryOutputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:63: error: Argument 1 has incompatible type "Type[BinaryValueExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:68: error: Argument 1 has incompatible type "Type[BinaryValueRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:73: error: Argument 1 has incompatible type "Type[GenericTunnel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:78: error: Argument 1 has incompatible type "Type[MultiStateInputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:85: error: Argument 1 has incompatible type "Type[MultiStateInputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:8: error: Argument 1 has incompatible type "Type[AnalogInputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:90: error: Argument 1 has incompatible type "Type[MultiStateOutputExtended]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/protocol.py:97: error: Argument 1 has incompatible type "Type[MultiStateOutputRegular]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/security.py:113: error: Argument 1 has incompatible type "Type[IASZoneChannel]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/security.py:27: error: Argument 1 has incompatible type "Type[IasAce]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/security.py:33: error: Argument 1 has incompatible type "Type[IasWd]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:140: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/smartenergy.py:142: error: Incompatible types in assignment (expression has type "str", variable has type "None") [assignment] | |
homeassistant/components/zha/core/channels/smartenergy.py:146: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment] | |
homeassistant/components/zha/core/channels/smartenergy.py:153: error: "None" has no attribute "format" [attr-defined] | |
homeassistant/components/zha/core/channels/smartenergy.py:156: error: Argument 1 has incompatible type "Type[Prepayment]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:161: error: Argument 1 has incompatible type "Type[Price]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:166: error: Argument 1 has incompatible type "Type[Tunneling]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:22: error: Argument 1 has incompatible type "Type[Calendar]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:27: error: Argument 1 has incompatible type "Type[DeviceManagement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:32: error: Argument 1 has incompatible type "Type[Drlc]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:37: error: Argument 1 has incompatible type "Type[EnergyManagement]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:42: error: Argument 1 has incompatible type "Type[Events]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:47: error: Argument 1 has incompatible type "Type[KeyEstablishment]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:52: error: Argument 1 has incompatible type "Type[MduPairing]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:57: error: Argument 1 has incompatible type "Type[Messaging]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:62: error: Argument 1 has incompatible type "Type[Metering]"; expected <nothing> [arg-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:66: error: Incompatible types in assignment (expression has type "List[Dict[str, object]]", base class "ZigbeeChannel" defined the type as "Tuple[]") [assignment] | |
homeassistant/components/zha/core/channels/smartenergy.py:85: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:85: error: Variable "homeassistant.components.zha.core.typing.ZigpyClusterType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/channels/smartenergy.py:85: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/decorators.py:13: error: Incompatible default for argument "item" (default has type "None", argument has type "Union[str, CALLABLE_T]") [assignment] | |
homeassistant/components/zha/core/device.py:105: error: zha_typing.ZigpyDeviceType? has no attribute "__class__" [attr-defined] | |
homeassistant/components/zha/core/device.py:106: error: zha_typing.ZigpyDeviceType? has no attribute "__class__" [attr-defined] | |
homeassistant/components/zha/core/device.py:133: error: Variable "homeassistant.components.zha.core.typing.ZigpyDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:133: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:138: error: Variable "homeassistant.components.zha.core.typing.ChannelsType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:138: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:143: error: Variable "homeassistant.components.zha.core.typing.ChannelsType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:143: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:284: error: zha_typing.ZigpyDeviceType? has no attribute "node_desc" [attr-defined] | |
homeassistant/components/zha/core/device.py:292: error: Variable "homeassistant.components.zha.core.typing.ZigpyDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:292: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:293: error: Variable "homeassistant.components.zha.core.typing.ZhaGatewayType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:293: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:313: error: zha_typing.ZhaGatewayType? has no attribute "ha_device_registry" [attr-defined] | |
homeassistant/components/zha/core/device.py:92: error: Variable "homeassistant.components.zha.core.typing.ZigpyDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:92: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/device.py:93: error: Variable "homeassistant.components.zha.core.typing.ZhaGatewayType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/device.py:93: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:102: error: zha_typing.ChannelPoolType? has no attribute "claim_channels" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:114: error: Argument 1 to "probe_single_cluster" of "ProbeEndpoint" has incompatible type "Optional[str]"; expected "str" [arg-type] | |
homeassistant/components/zha/core/discovery.py:122: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:122: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:123: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:123: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:129: error: zha_typing.ChannelPoolType? has no attribute "unique_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:129: error: zha_typing.ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:131: error: Need type annotation for 'entity_class' [var-annotated] | |
homeassistant/components/zha/core/discovery.py:132: error: zha_typing.ChannelPoolType? has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:132: error: zha_typing.ChannelPoolType? has no attribute "model" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:136: error: zha_typing.ChannelPoolType? has no attribute "claim_channels" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:137: error: zha_typing.ChannelPoolType? has no attribute "async_new_entity" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:140: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:140: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:144: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:145: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:149: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:202: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:202: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:205: error: zha_typing.ZhaGroupType? has no attribute "members" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:208: error: zha_typing.ZhaGroupType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:209: error: zha_typing.ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:220: error: Need type annotation for 'entity_class' [var-annotated] | |
homeassistant/components/zha/core/discovery.py:227: error: zha_typing.ZhaGroupType? has no attribute "get_domain_entity_ids" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:228: error: zha_typing.ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:229: error: zha_typing.ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:238: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:238: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:244: error: zha_typing.ZhaGroupType? has no attribute "members" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:267: error: zha_typing.ZhaGroupType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:268: error: zha_typing.ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:38: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:38: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:38: error: Variable "homeassistant.components.zha.core.typing.ZhaEntityType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:38: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:49: error: zha_typing.ZhaEntityType? not callable [misc] | |
homeassistant/components/zha/core/discovery.py:62: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:62: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:68: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:68: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:71: error: zha_typing.ChannelPoolType? has no attribute "unique_id" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:75: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:76: error: zha_typing.ChannelPoolType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:80: error: zha_typing.ChannelPoolType? has no attribute "unclaimed_channels" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:81: error: Need type annotation for 'entity_class' [var-annotated] | |
homeassistant/components/zha/core/discovery.py:82: error: zha_typing.ChannelPoolType? has no attribute "manufacturer" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:82: error: zha_typing.ChannelPoolType? has no attribute "model" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:86: error: zha_typing.ChannelPoolType? has no attribute "claim_channels" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:87: error: zha_typing.ChannelPoolType? has no attribute "async_new_entity" [attr-defined] | |
homeassistant/components/zha/core/discovery.py:90: error: Variable "homeassistant.components.zha.core.typing.ChannelPoolType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/discovery.py:90: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/discovery.py:99: error: zha_typing.ChannelPoolType? has no attribute "unclaimed_channels" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:221: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:221: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:223: error: zha_typing.ZhaDeviceType? has no attribute "async_initialize" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:290: error: Variable "homeassistant.components.zha.core.typing.ZigpyEndpointType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:290: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:290: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:295: error: ZhaGroupType? has no attribute "info" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:298: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:302: error: Variable "homeassistant.components.zha.core.typing.ZigpyEndpointType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:302: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:302: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:307: error: ZhaGroupType? has no attribute "info" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:310: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:312: error: ZhaGroupType? has no attribute "members" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:316: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:316: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:319: error: ZhaGroupType? has no attribute "info" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:323: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:323: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:326: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:331: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:331: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:334: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:379: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:379: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:384: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:384: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:408: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:408: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:413: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:501: error: Variable "homeassistant.components.zha.core.typing.ZigpyDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:501: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:504: error: zha_typing.ZigpyDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:507: error: zha_typing.ZigpyDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:522: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:522: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:522: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:524: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:527: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:546: error: Variable "homeassistant.components.zha.core.typing.ZigpyDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:546: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:554: error: zha_typing.ZigpyDeviceType? has no attribute "nwk" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:555: error: zha_typing.ZigpyDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:564: error: zha_typing.ZigpyDeviceType? has no attribute "nwk" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:565: error: zha_typing.ZigpyDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:571: error: zha_typing.ZigpyDeviceType? has no attribute "nwk" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:572: error: zha_typing.ZigpyDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:587: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:587: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/gateway.py:588: error: zha_typing.ZhaDeviceType? has no attribute "available" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:589: error: zha_typing.ZhaDeviceType? has no attribute "device_info" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:590: error: zha_typing.ZhaDeviceType? has no attribute "async_configure" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:600: error: zha_typing.ZhaDeviceType? has no attribute "async_initialize" [attr-defined] | |
homeassistant/components/zha/core/gateway.py:627: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/gateway.py:627: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:100: error: ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/group.py:107: error: ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/group.py:117: error: Variable "homeassistant.components.zha.core.typing.ZhaGatewayType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:117: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:118: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:118: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:122: error: Variable "homeassistant.components.zha.core.typing.ZigpyGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:122: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:123: error: Variable "homeassistant.components.zha.core.typing.ZhaGatewayType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:123: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:128: error: ZigpyGroupType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/core/group.py:133: error: ZigpyGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/group.py:136: error: Variable "homeassistant.components.zha.core.typing.ZigpyEndpointType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:136: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:138: error: ZigpyGroupType? has no attribute "endpoint" [attr-defined] | |
homeassistant/components/zha/core/group.py:145: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:147: error: ZigpyGroupType? has no attribute "members" [attr-defined] | |
homeassistant/components/zha/core/group.py:148: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:157: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:163: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:173: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:181: error: ZhaGatewayType? has no attribute "devices" [attr-defined] | |
homeassistant/components/zha/core/group.py:192: error: Invalid tuple index type (actual type "str", expected type "Union[int, slice]") [misc] | |
homeassistant/components/zha/core/group.py:199: error: ZhaDeviceType? has no attribute "is_coordinator" [attr-defined] | |
homeassistant/components/zha/core/group.py:202: error: ZhaGatewayType? has no attribute "ha_entity_registry" [attr-defined] | |
homeassistant/components/zha/core/group.py:203: error: ZhaDeviceType? has no attribute "device_id" [attr-defined] | |
homeassistant/components/zha/core/group.py:35: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:35: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:35: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:38: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:38: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:39: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:39: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:43: error: Variable "homeassistant.components.zha.core.typing.ZhaGroupType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:43: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:53: error: Variable "homeassistant.components.zha.core.typing.ZigpyEndpointType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:53: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:55: error: ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/group.py:58: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/group.py:58: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/group.py:67: error: ZhaDeviceType? has no attribute "zha_device_info" [attr-defined] | |
homeassistant/components/zha/core/group.py:74: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/core/group.py:75: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/core/group.py:77: error: List comprehension has incompatible type List[Dict[str, Any]]; expected List[GroupEntityReference] [misc] | |
homeassistant/components/zha/core/group.py:82: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/group.py:92: error: ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/group.py:94: error: ZhaGroupType? has no attribute "group_id" [attr-defined] | |
homeassistant/components/zha/core/group.py:99: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:106: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:316: error: Incompatible types in assignment (expression has type "bytes", variable has type "str") [assignment] | |
homeassistant/components/zha/core/helpers.py:317: error: Incompatible return value type (got "Tuple[Any, str]", expected "Tuple[Any, bytes]") [return-value] | |
homeassistant/components/zha/core/helpers.py:43: error: Variable "homeassistant.components.zha.core.typing.ZigpyClusterType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/helpers.py:43: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/helpers.py:77: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/helpers.py:77: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/helpers.py:80: error: ZhaDeviceType? has no attribute "async_get_std_clusters" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:81: error: ZhaDeviceType? has no attribute "async_get_std_clusters" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:88: error: ZhaDeviceType? has no attribute "nwk" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:93: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/helpers.py:94: error: ZhaDeviceType? has no attribute "device" [attr-defined] | |
homeassistant/components/zha/core/registries.py:139: error: Incompatible types in assignment (expression has type "FrozenSet[_T_co]", variable has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:140: error: Unsupported converter, only named functions and types are currently supported [misc] | |
homeassistant/components/zha/core/registries.py:142: error: Incompatible types in assignment (expression has type "FrozenSet[_T_co]", variable has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:143: error: Unsupported converter, only named functions and types are currently supported [misc] | |
homeassistant/components/zha/core/registries.py:145: error: Incompatible types in assignment (expression has type "FrozenSet[_T_co]", variable has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:146: error: Unsupported converter, only named functions and types are currently supported [misc] | |
homeassistant/components/zha/core/registries.py:148: error: Incompatible types in assignment (expression has type "FrozenSet[_T_co]", variable has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:149: error: Unsupported converter, only named functions and types are currently supported [misc] | |
homeassistant/components/zha/core/registries.py:151: error: Incompatible types in assignment (expression has type "FrozenSet[_T_co]", variable has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:152: error: Unsupported converter, only named functions and types are currently supported [misc] | |
homeassistant/components/zha/core/registries.py:176: error: Argument 1 to "len" has incompatible type "Union[Callable[..., Any], Set[str], str]"; expected "Sized" [arg-type] | |
homeassistant/components/zha/core/registries.py:177: error: Argument 1 to "len" has incompatible type "Union[Callable[..., Any], Set[str], str]"; expected "Sized" [arg-type] | |
homeassistant/components/zha/core/registries.py:178: error: Argument 1 to "len" has incompatible type "Union[Callable[..., Any], Set[str], str]"; expected "Sized" [arg-type] | |
homeassistant/components/zha/core/registries.py:181: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/registries.py:181: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/registries.py:183: error: Need type annotation for 'claimed' (hint: "claimed: List[<type>] = ...") [var-annotated] | |
homeassistant/components/zha/core/registries.py:210: error: Item "function" of "Union[Callable[..., Any], Set[str], str]" has no attribute "issubset" [union-attr] | |
homeassistant/components/zha/core/registries.py:210: error: Item "str" of "Union[Callable[..., Any], Set[str], str]" has no attribute "issubset" [union-attr] | |
homeassistant/components/zha/core/registries.py:214: error: Item "function" of "Union[Callable[..., Any], Set[str], str]" has no attribute "issubset" [union-attr] | |
homeassistant/components/zha/core/registries.py:214: error: Item "str" of "Union[Callable[..., Any], Set[str], str]" has no attribute "issubset" [union-attr] | |
homeassistant/components/zha/core/registries.py:250: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/registries.py:250: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/registries.py:252: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/registries.py:252: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/registries.py:260: error: Incompatible return value type (got "Tuple[Optional[CALLABLE_T], List[ChannelType?]]", expected "Tuple[CALLABLE_T, List[ChannelType?]]") [return-value] | |
homeassistant/components/zha/core/registries.py:264: error: Incompatible return value type (got "Optional[Any]", expected "CALLABLE_T") [return-value] | |
homeassistant/components/zha/core/registries.py:269: error: Incompatible default for argument "channel_names" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:270: error: Incompatible default for argument "generic_ids" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:271: error: Incompatible default for argument "manufacturers" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:272: error: Incompatible default for argument "models" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:273: error: Incompatible default for argument "aux_channels" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:294: error: Incompatible default for argument "channel_names" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:295: error: Incompatible default for argument "generic_ids" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:296: error: Incompatible default for argument "manufacturers" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:297: error: Incompatible default for argument "models" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/registries.py:298: error: Incompatible default for argument "aux_channels" (default has type "None", argument has type "Union[Callable[..., Any], Set[str], str]") [assignment] | |
homeassistant/components/zha/core/store.py:44: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/store.py:44: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/store.py:47: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/store.py:47: error: ZhaDeviceType? has no attribute "last_seen" [attr-defined] | |
homeassistant/components/zha/core/store.py:47: error: ZhaDeviceType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/core/store.py:49: error: Invalid index type "Optional[str]" for "MutableMapping[str, ZhaDeviceEntry]"; expected type "str" [index] | |
homeassistant/components/zha/core/store.py:54: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/store.py:54: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/store.py:56: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/store.py:62: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/store.py:62: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/store.py:64: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/store.py:69: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/store.py:69: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/store.py:71: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/store.py:77: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/core/store.py:77: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/core/store.py:79: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/core/store.py:82: error: ZhaDeviceType? has no attribute "last_seen" [attr-defined] | |
homeassistant/components/zha/core/store.py:83: error: Return value expected [return-value] | |
homeassistant/components/zha/core/store.py:86: error: ZhaDeviceType? has no attribute "last_seen" [attr-defined] | |
homeassistant/components/zha/core/typing.py:37: error: Incompatible types in assignment (expression has type "Type[ZigbeeChannel]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:38: error: Incompatible types in assignment (expression has type "Type[Channels]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:39: error: Incompatible types in assignment (expression has type "Type[ChannelPool]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:40: error: Incompatible types in assignment (expression has type "Type[ClientChannel]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:41: error: Incompatible types in assignment (expression has type "Type[ZDOChannel]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:42: error: Incompatible types in assignment (expression has type "Type[ZHADevice]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:43: error: Incompatible types in assignment (expression has type "Type[ZhaEntity]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:44: error: Incompatible types in assignment (expression has type "Type[ZHAGateway]", variable has type "str") [assignment] | |
homeassistant/components/zha/core/typing.py:45: error: Incompatible types in assignment (expression has type "Type[ZHAGroup]", variable has type "str") [assignment] | |
homeassistant/components/zha/cover.py:183: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/cover.py:183: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/cover.py:184: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/cover.py:184: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/cover.py:234: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] | |
homeassistant/components/zha/cover.py:241: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment] | |
homeassistant/components/zha/cover.py:280: error: ChannelType? has no attribute "stop" [attr-defined] | |
homeassistant/components/zha/device_action.py:81: error: Variable "homeassistant.components.zha.device_action.ACTION_SCHEMA" is not valid as a type [valid-type] | |
homeassistant/components/zha/device_action.py:81: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/device_action.py:85: error: Value of type ACTION_SCHEMA? is not indexable [index] | |
homeassistant/components/zha/device_action.py:88: error: Value of type ACTION_SCHEMA? is not indexable [index] | |
homeassistant/components/zha/entity.py:116: error: CALLABLE_T? not callable [misc] | |
homeassistant/components/zha/entity.py:121: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:121: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:129: error: ChannelType? has no attribute "unique_id" [attr-defined] | |
homeassistant/components/zha/entity.py:146: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:146: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:147: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:147: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:152: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/entity.py:153: error: ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/entity.py:154: error: Incompatible types in assignment (expression has type "str", variable has type "List[Any]") [assignment] | |
homeassistant/components/zha/entity.py:155: error: ZhaDeviceType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/entity.py:156: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:156: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:158: error: ChannelType? has no attribute "name" [attr-defined] | |
homeassistant/components/zha/entity.py:163: error: ZhaDeviceType? has no attribute "available" [attr-defined] | |
homeassistant/components/zha/entity.py:170: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/entity.py:175: error: ZhaDeviceType? has no attribute "is_mains_powered" [attr-defined] | |
homeassistant/components/zha/entity.py:183: error: ZhaDeviceType? has no attribute "available_signal" [attr-defined] | |
homeassistant/components/zha/entity.py:187: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/entity.py:188: error: ZhaDeviceType? has no attribute "ieee" [attr-defined] | |
homeassistant/components/zha/entity.py:199: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/entity.py:200: error: "Awaitable[None]" has no attribute "set_result" [attr-defined] | |
homeassistant/components/zha/entity.py:209: error: ChannelType? has no attribute "async_update" [attr-defined] | |
homeassistant/components/zha/entity.py:42: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:42: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:50: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:50: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:51: error: Type variable "homeassistant.components.zha.core.typing.CALLABLE_T" is unbound [valid-type] | |
homeassistant/components/zha/entity.py:51: note: (Hint: Use "CALLABLE_T" in function signature to bind "CALLABLE_T" inside a function) | |
homeassistant/components/zha/entity.py:51: note: (Hint: Use "Generic[CALLABLE_T]" or "Protocol[CALLABLE_T]" base class to bind "CALLABLE_T" inside a class) | |
homeassistant/components/zha/entity.py:52: error: Incompatible types in assignment (expression has type "None", variable has type "Awaitable[None]") [assignment] | |
homeassistant/components/zha/entity.py:65: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/entity.py:65: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/entity.py:87: error: ZhaDeviceType? has no attribute "device_info" [attr-defined] | |
homeassistant/components/zha/fan.py:109: error: Argument 2 to "percentage_to_ranged_value" has incompatible type "Optional[int]"; expected "int" [arg-type] | |
homeassistant/components/zha/fan.py:183: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/light.py:352: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/light.py:352: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/light.py:356: error: "None" has no attribute "on_off" [attr-defined] | |
homeassistant/components/zha/light.py:359: error: ZhaDeviceType? has no attribute "channels" [attr-defined] | |
homeassistant/components/zha/light.py:364: error: Need type annotation for 'effect_list' (hint: "effect_list: List[<type>] = ...") [var-annotated] | |
homeassistant/components/zha/light.py:401: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/light.py:435: error: "None" not callable [misc] | |
homeassistant/components/zha/light.py:553: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zha/sensor.py:106: error: Variable "homeassistant.components.zha.core.typing.ZhaDeviceType" is not valid as a type [valid-type] | |
homeassistant/components/zha/sensor.py:106: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/sensor.py:107: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/sensor.py:107: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/sensor.py:112: error: Variable "homeassistant.components.zha.core.typing.ChannelType" is not valid as a type [valid-type] | |
homeassistant/components/zha/sensor.py:112: note: See https://mypy.readthedocs.io/en/latest/common_issues.html#variables-vs-type-aliases | |
homeassistant/components/zha/sensor.py:124: error: Incompatible return value type (got "Optional[str]", expected "str") [return-value] | |
homeassistant/components/zha/sensor.py:135: error: ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/sensor.py:187: error: ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/sensor.py:190: error: ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/sensor.py:193: error: ChannelType? has no attribute "cluster" [attr-defined] | |
homeassistant/components/zha/sensor.py:214: error: ChannelType? has no attribute "divisor" [attr-defined] | |
homeassistant/components/zha/sensor.py:214: error: ChannelType? has no attribute "multiplier" [attr-defined] | |
homeassistant/components/zha/sensor.py:215: error: ChannelType? has no attribute "divisor" [attr-defined] | |
homeassistant/components/zha/sensor.py:260: error: ChannelType? has no attribute "formatter_function" [attr-defined] | |
homeassistant/components/zha/sensor.py:265: error: ChannelType? has no attribute "unit_of_measurement" [attr-defined] | |
homeassistant/components/zha/sensor.py:295: error: Incompatible types in assignment (expression has type "float", base class "Sensor" defined the type as "int") [assignment] | |
homeassistant/components/zha/sensor.py:306: error: Incompatible types in assignment (expression has type "float", base class "Sensor" defined the type as "int") [assignment] | |
homeassistant/components/zha/switch.py:123: error: ZhaDeviceType? has no attribute "gateway" [attr-defined] | |
homeassistant/components/zwave/websocket_api.py:61: error: Argument 1 to "async_response" has incompatible type "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], None]"; expected "Callable[[HomeAssistant, ActiveConnection, Dict[Any, Any]], Awaitable[None]]" [arg-type] | |
homeassistant/util/ruamel_yaml.py:94: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment