mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 15:00:12 +00:00
Postponed evaluation of annotations for integrations (#46455)
This commit is contained in:
@@ -78,11 +78,11 @@ class EsphomeTextSensor(EsphomeEntity):
|
||||
"""A text sensor implementation for ESPHome."""
|
||||
|
||||
@property
|
||||
def _static_info(self) -> "TextSensorInfo":
|
||||
def _static_info(self) -> TextSensorInfo:
|
||||
return super()._static_info
|
||||
|
||||
@property
|
||||
def _state(self) -> Optional["TextSensorState"]:
|
||||
def _state(self) -> Optional[TextSensorState]:
|
||||
return super()._state
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user