mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 22:47:01 +01:00
add cardGrid cardEntities
This commit is contained in:
0
docs/card-climate.md
Normal file
0
docs/card-climate.md
Normal file
39
docs/card-entities.md
Normal file
39
docs/card-entities.md
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# Entities Page
|
||||||
|
|
||||||
|
```
|
||||||
|
cards:
|
||||||
|
- type: cardEntities
|
||||||
|
title: Test Entities Card
|
||||||
|
entities:
|
||||||
|
- entity: light.bed_light
|
||||||
|
- entity: switch.decorative_lights
|
||||||
|
- entity: cover.hall_window
|
||||||
|
- entity: sensor.outside_temperature
|
||||||
|
```
|
||||||
|
|
||||||
|
List of supported config keys of this card:
|
||||||
|
|
||||||
|
key | optional | type | default | description
|
||||||
|
-- | -- | -- | -- | --
|
||||||
|
`type` | False | string | `None` | Type of the card
|
||||||
|
`entities` | False | complex | `None` | contains entities of the card, only valid on cardEntities and cardGrid and cardQR
|
||||||
|
`title` | True | string | `None` | Title of the Page
|
||||||
|
`key` | True | string | `None` | Used by navigate items in combination with the type (cardEntities_key)
|
||||||
|
|
||||||
|
List of supported entitiy types for this page:
|
||||||
|
|
||||||
|
- cover
|
||||||
|
- switch
|
||||||
|
- input_boolean
|
||||||
|
- binary_sensor
|
||||||
|
- sensor
|
||||||
|
- button
|
||||||
|
- number
|
||||||
|
- scenes
|
||||||
|
- script
|
||||||
|
- input_button
|
||||||
|
- light
|
||||||
|
- input_text (read-only)
|
||||||
|
- lock
|
||||||
|
- fan
|
||||||
|
- automation
|
||||||
44
docs/card-grid.md
Normal file
44
docs/card-grid.md
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Grid Page
|
||||||
|
|
||||||
|
```
|
||||||
|
cards:
|
||||||
|
- type: cardGrid
|
||||||
|
title: Test Grid Card
|
||||||
|
entities:
|
||||||
|
- entity: light.bed_light
|
||||||
|
- entity: switch.decorative_lights
|
||||||
|
- entity: sensor.outside_temperature
|
||||||
|
name: Outside Temp
|
||||||
|
- entity: sensor.carbon_monoxide
|
||||||
|
- entity: light.entrance_color_white_lights
|
||||||
|
name: Entrance
|
||||||
|
- entity: light.office_rgbw_lights
|
||||||
|
name: Office RGBW
|
||||||
|
icon: mdi:office-building
|
||||||
|
```
|
||||||
|
|
||||||
|
List of supported config keys of this card:
|
||||||
|
|
||||||
|
key | optional | type | default | description
|
||||||
|
-- | -- | -- | -- | --
|
||||||
|
`type` | False | string | `None` | Type of the card
|
||||||
|
`entities` | False | complex | `None` | contains entities of the card, only valid on cardEntities and cardGrid and cardQR
|
||||||
|
`title` | True | string | `None` | Title of the Page
|
||||||
|
`key` | True | string | `None` | Used by navigate items in combination with the type (cardEntities_key)
|
||||||
|
|
||||||
|
List of supported entitiy types for this page:
|
||||||
|
|
||||||
|
- cover
|
||||||
|
- switch
|
||||||
|
- input_boolean
|
||||||
|
- binary_sensor
|
||||||
|
- sensor
|
||||||
|
- button
|
||||||
|
- number
|
||||||
|
- scenes
|
||||||
|
- script
|
||||||
|
- input_button
|
||||||
|
- light
|
||||||
|
- input_text (read-only)
|
||||||
|
- lock
|
||||||
|
- automation
|
||||||
@@ -46,7 +46,7 @@ nspanel-1:
|
|||||||
title: Example 2
|
title: Example 2
|
||||||
```
|
```
|
||||||
|
|
||||||
This is he full list of configuration options supported for the config key:
|
This is the full list of configuration options supported for the config key:
|
||||||
|
|
||||||
key | optional | type | default | description
|
key | optional | type | default | description
|
||||||
-- | -- | -- | -- | --
|
-- | -- | -- | -- | --
|
||||||
@@ -65,9 +65,9 @@ key | optional | type | default | description
|
|||||||
`dateAdditonalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
|
`dateAdditonalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
|
||||||
`timeAdditonalTemplate` | True | string | `""` | Addional Text dispayed below Time, can contain a Homeassistant Template
|
`timeAdditonalTemplate` | True | string | `""` | Addional Text dispayed below Time, can contain a Homeassistant Template
|
||||||
`dateFormat` | True | string | `%A, %d. %B %Y` | date format used if babel is not installed
|
`dateFormat` | True | string | `%A, %d. %B %Y` | date format used if babel is not installed
|
||||||
`cards` | False | complex | | configuration for cards that are displayed on panel
|
`cards` | False | complex | | configuration for cards that are displayed on panel; see docs for cards
|
||||||
`screensaver` | True | complex | | configuration for screensaver
|
`screensaver` | True | complex | | configuration for screensaver; see docs for screensaver
|
||||||
`hiddenCards` | True | complex | | configuration for cards that can be accessed though navigate items
|
`hiddenCards` | True | complex | | configuration for cards that can be accessed though navigate items; see docs for cards
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Details on sleepBrightness/screenBrightness and other configs related to screen brightness</summary>
|
<summary>Details on sleepBrightness/screenBrightness and other configs related to screen brightness</summary>
|
||||||
|
|||||||
BIN
docs/img/card-entities.png
Normal file
BIN
docs/img/card-entities.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
BIN
docs/img/card-grid.png
Normal file
BIN
docs/img/card-grid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
@@ -70,5 +70,6 @@ nav:
|
|||||||
- "Overview": config-overview.md
|
- "Overview": config-overview.md
|
||||||
- "Screensaver": config-screensaver.md
|
- "Screensaver": config-screensaver.md
|
||||||
- "Cards":
|
- "Cards":
|
||||||
- "Entities / Grid Card": card-entities.md
|
- "Entities Card": card-entities.md
|
||||||
|
- "Grid Card": card-grid.md
|
||||||
- "Climate/Thermo Card": card-climate.md
|
- "Climate/Thermo Card": card-climate.md
|
||||||
|
|||||||
Reference in New Issue
Block a user