Skip to content

Instantly share code, notes, and snippets.

@AlexxIT
Last active April 18, 2024 22:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save AlexxIT/120f20eef4f39071e67f698207490db9 to your computer and use it in GitHub Desktop.
Save AlexxIT/120f20eef4f39071e67f698207490db9 to your computer and use it in GitHub Desktop.
type: 'custom:flex-table-card'
clickable: true
sort_by: state-
columns:
- data: friendly_name
name: Friendly Name
- data: ieee
name: IEEE
modify: x+''
- data: nwk
name: NWK
modify: x+''
- data: msg_received
name: Recv
modify: x+''
- data: msg_missed
name: Miss
modify: x+''
- data: unresponsive
name: Unresp
modify: x+''
- data: link_quality
name: LQI
modify: x+''
- data: rssi
name: RSSI
modify: x+''
- data: type
name: Type
modify: x+''
- data: parent
name: Parent
modify: x+''
- data: last_msg
name: Last Msg
modify: x+''
- data: state
name: Last seen
modify: 'x.replace("unavailable","")'
entities:
include: sensor.*_zigbee
css:
table+: 'padding-top: 15px;'
'tbody tr:nth-child(even)': 'background-color: #a2542f6;'
td.left: 'padding: 10px 10px 10px 10px'
th.left: 'padding: 0px 0px 10px 3px'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment