Bump dashboard to 20210908.0 and fix card names for yml (#2258)

This commit is contained in:
Jesse Hills 2021-09-08 17:14:12 +12:00 committed by GitHub
parent fa2eb46cd6
commit f87a701b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -11,4 +11,4 @@ ifaddr==0.1.7
platformio==5.1.1
esptool==3.1
click==7.1.2
esphome-dashboard==20210826.0
esphome-dashboard==20210908.0