mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
Update entities.md
This commit is contained in:
@@ -9,7 +9,8 @@ It is possible to overwrite and configure varrious things on Entities.
|
|||||||
key | optional | type | default | description
|
key | optional | type | default | description
|
||||||
-- | -- | -- | -- | --
|
-- | -- | -- | -- | --
|
||||||
`entity` | False | string | `None` | name of ha entity
|
`entity` | False | string | `None` | name of ha entity
|
||||||
`name` | True | string | `None` | Used to override names
|
`name` | True | string | `None` | Used to override names (supports home assistant templates)
|
||||||
|
`value` | True | string | `None` | Used to override the value (supports home assistant templates)
|
||||||
`icon` | True | string | `None` | Used to override icons
|
`icon` | True | string | `None` | Used to override icons
|
||||||
`color` | True | array | `None` | Overwrite color of entity `color: [255, 0, 0]`
|
`color` | True | array | `None` | Overwrite color of entity `color: [255, 0, 0]`
|
||||||
`state` | True | string | `None` | Only displayed if Entity state is equal to this value
|
`state` | True | string | `None` | Only displayed if Entity state is equal to this value
|
||||||
@@ -18,6 +19,7 @@ key | optional | type | default | description
|
|||||||
`assumed_state` | True | string | `None` | Only for cover items, up, down and stop buttons are always shown
|
`assumed_state` | True | string | `None` | Only for cover items, up, down and stop buttons are always shown
|
||||||
`action_name` | True | string | `None` | Only valid for script; Button label
|
`action_name` | True | string | `None` | Only valid for script; Button label
|
||||||
|
|
||||||
|
|
||||||
## Override Icons or Names
|
## Override Icons or Names
|
||||||
|
|
||||||
To overwrite Icons or Names of entities you can configure an icon and/or name in your configuration, please see the following example.
|
To overwrite Icons or Names of entities you can configure an icon and/or name in your configuration, please see the following example.
|
||||||
|
|||||||
Reference in New Issue
Block a user