Example configuration to use flex-table-card in conjunction with auto-entities:
# Auto Entities configuration
type: 'custom:auto-entities'
filter:
include:
- name: "/^Luci .*$/"
- entity_id: "/light.luce_*/"
card:
# Flex Table configuration
# Filtering is obviously missing because auto-entities will take care of that
type: 'custom:flex-table-card'
title: Auto Entities Example
clickable: true
columns:
- data: friendly_name
name: Friendly Name
- data: state
name: State
css:
table+: 'padding-top: 5px;'
'tbody tr:nth-child(even)': 'background-color: #a2542f6;'
td.left: 'padding: 10px 10px 10px 10px'
th.left: 'padding: 0px 0px 10px 3px'
'th.left:nth-child(1)': 'width: 33%;'
'th.left:nth-child(2)': 'width: 33%;'
'th.left:nth-child(3)': 'width: 33%;'