add cardGrid cardEntities

This commit is contained in:
joBr99
2022-06-11 22:37:07 +02:00
parent b308f86db0
commit 264a93e366
7 changed files with 89 additions and 5 deletions

0
docs/card-climate.md Normal file
View File

39
docs/card-entities.md Normal file
View 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
View 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

View File

@@ -46,7 +46,7 @@ nspanel-1:
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
-- | -- | -- | -- | --
@@ -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') }}"`
`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
`cards` | False | complex | | configuration for cards that are displayed on panel
`screensaver` | True | complex | | configuration for screensaver
`hiddenCards` | True | complex | | configuration for cards that can be accessed though navigate items
`cards` | False | complex | | configuration for cards that are displayed on panel; see docs for cards
`screensaver` | True | complex | | configuration for screensaver; see docs for screensaver
`hiddenCards` | True | complex | | configuration for cards that can be accessed though navigate items; see docs for cards
<details>
<summary>Details on sleepBrightness/screenBrightness and other configs related to screen brightness</summary>

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB