Skip to content

Commit

Permalink
Improve docs about adding custom resources (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
hisabimbola authored Dec 17, 2023
1 parent e4a6c05 commit 3a47686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,12 @@ text_width: 4em # adjusts the text width
Code hidden, click to expand
</summary>
_Ensure that advance mode is enabled for your account else you won't see the resources page. **Your User** > **Advanced Mode**. Toggle to true._
Place this file in `/config/www/laundry.js`, and add a custom resource in **HA UI** > **Sidebar** > **Config** > **Dashboards** > **Resources** > **Plus** > **Add `/local/laundry.js`**.

In newer HA versions, you can find the custom resource page in **HA UI** > **Sidebar** > **Settings** > **Dashboards** > **[3-dots, top right]** > **Resources** **+ Add Resources** > **Add `/local/laundry.js`**

```js
class LaundryCard extends HTMLElement {
// Whenever states are updated
Expand Down

0 comments on commit 3a47686

Please sign in to comment.