From f205099110cdc7ed308cedb4ba6c13f1147aacc8 Mon Sep 17 00:00:00 2001 From: Littlejon Date: Tue, 9 Jun 2020 18:09:13 +1000 Subject: [PATCH] Fixing broken link (#572) --- docs/frontend/extending/adding-state-card.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend/extending/adding-state-card.md b/docs/frontend/extending/adding-state-card.md index 0c973142..282175c4 100644 --- a/docs/frontend/extending/adding-state-card.md +++ b/docs/frontend/extending/adding-state-card.md @@ -12,7 +12,7 @@ Sensors, when not grouped, are shown as so-called badges on top of the state car ![Badges in the frontend](/img/en/frontend/frontend-badges.png) -The different badges are located in the file [`/src/components/entity/ha-state-label-badge.js`](https://github.com/home-assistant/home-assistant-polymer/blob/master/src/components/entity/ha-state-label-badge.js). +The different badges are located in the file [`/src/components/entity/ha-state-label-badge.ts`](https://github.com/home-assistant/home-assistant-polymer/blob/master/src/components/entity/ha-state-label-badge.ts). Adding a custom card type can be done with a few simple steps. For this example we will add a new state card for the domain `camera`: