1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-15 00:03:51 +01:00

dashboard: Small cleanups to dashboard (#5841)

This commit is contained in:
J. Nick Koston
2023-11-27 16:39:24 -06:00
committed by GitHub
parent 460362b11f
commit 4e6d3729e1
3 changed files with 87 additions and 74 deletions

View File

@@ -262,7 +262,7 @@ class DashboardEntry:
self.state = EntryState.UNKNOWN
self._to_dict: dict[str, Any] | None = None
def __repr__(self):
def __repr__(self) -> str:
"""Return the representation of this entry."""
return (
f"DashboardEntry(path={self.path} "