Update mypy to 0.981 (#79115)

This commit is contained in:
Marc Mueller 2022-09-26 22:10:06 +02:00 committed by GitHub
parent 1f6d19bb99
commit e8156adb13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 75 additions and 75 deletions

View file

@ -36,7 +36,7 @@ class EsphomeSelect(EsphomeEntity[SelectInfo, SelectState], SelectEntity):
"""Return a set of selectable options."""
return self._static_info.options
@property # type: ignore[misc]
@property
@esphome_state_property
def current_option(self) -> str | None:
"""Return the state of the entity."""