mirror of
https://github.com/esphome/esphome.git
synced 2025-10-02 10:02:23 +01:00
Bump dashboard to 20210908.0 and fix card names for yml (#2258)
This commit is contained in:
@@ -431,7 +431,7 @@ class DashboardEntry:
|
||||
@property
|
||||
def name(self):
|
||||
if self.storage is None:
|
||||
return self.filename[: -len(".yaml")]
|
||||
return self.filename.removesuffix(".yml").removesuffix(".yaml")
|
||||
return self.storage.name
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user