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

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