mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Update mypy-dev to 1.16.0a2 (#137542)
This commit is contained in:
@@ -387,4 +387,4 @@ def _validate_state_det_rules(state_det_rules: Any) -> list[Any] | None:
|
||||
except ValueError as exc:
|
||||
_LOGGER.warning("Invalid state detection rules: %s", exc)
|
||||
return None
|
||||
return json_rules # type: ignore[no-any-return]
|
||||
return json_rules
|
||||
|
||||
Reference in New Issue
Block a user