Strict typing threshold (#82786)

This commit is contained in:
G Johansson 2023-03-12 17:10:00 +01:00 committed by GitHub
parent cf7e500a8e
commit e932139721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 86 additions and 38 deletions

View file

@ -76,4 +76,5 @@ class ConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
def async_config_entry_title(self, options: Mapping[str, Any]) -> str:
"""Return config entry title."""
return options[CONF_NAME]
name: str = options[CONF_NAME]
return name