Skip to content

Commit

Permalink
Added 'hass' in styles template
Browse files Browse the repository at this point in the history
  • Loading branch information
Clooos authored Jan 23, 2024
1 parent 94d4c5b commit 069f2c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Cond
For now, you have access to these variables in some cards (not all):

`state` will return the state of your defined `entity`.
`entity` will return your entity you defined like `switch.test` in this example.
`entity` will return your entity you defined like `switch.test` in this example.
`hass` is an advanced variable that alows you even more control, more info [here](https://developers.home-assistant.io/docs/dev_101_hass/).

But in all cards you can also use this:

Expand Down

0 comments on commit 069f2c3

Please sign in to comment.