Skip to content

xBourner/status-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stars - status-card forks - status-card GitHub release GitHub issues

status-card

A status card for home assistant dashboard

This is my first custom card for Home Assistant. I am not a coder and have no background in coding. I always tried to achieve something like this with different approaches but nothing was the way in wanted to. So i tried a bit and i was able to create my own custom card.

image

This card i highly influenced by Dwains Dashboard. I tried to to have this in every dashboard i want and dont want to be restricted by Dwains Dashboard.

I also made some tweaks so it has some more functions. I added a graphical Interface to edit the card. Everything is managable from GUI :)

Features

  • shows person entities
  • shows all entities which aren't off grouped by domain or deivce class
  • filter for areas/floors
  • customization of domains and device classes
  • can show extra entities
  • you can hide certain entities
  • graphical editor
  • should work in all available HA languages

How does it work?

This card shows every person entity which is present in your HA environment. You can also disable that person entities will be shown. Also this card goes through a bunch of domains and device classes and looks for the state of all entities inside them.

If the entity is on, home or open (or something else which isn't off) it will show up in the card. Please keep attention that it will only show entities which are linked to any area. Without this it would be a mess.

Screenshots

Graphical Editor

image

Area/Floor & Label Filter

Use this to only show entities linked to an area/floor. You can combine this with the Label Filter. Only entities with this label will be shown. Area/Floor can be combined with the Label Filter.
image

Adding Extra Entities

Choose an extra Entity which you want to see in your status card. Choose the entity, after that you can pick the state and choose an icon and color to show it. You can also change the sort order to display it somewhere else in the card. image

Customization of Domains or Device Classes

You can specify the look of the domains and device classes. You can change the icon, icon color and sort order. You can also completly hide them.

image

Hiding Names for Person, Domains, Device Classes & Extra Entities

image

Bulk Mode

Bulk Mode will list all entities instead of showing entity cards. You can use this to have a quick access to copy all unwanted entities and paste them into hidden_entities via yaml.

image

Installation

Hacs

Add this repository via HACS Custom repositories as a Dashboard.

https://github.com/xBourner/status-card

image

(How to add Custom Repositories)

Settings

All settings are optional. The card should work without setting any parameters in yaml or via GUI.

type: custom:dev-status-card
bulkMode: false  # enable buk mode for accessing entities as text you can copy (easy to add hidden_entities)
showPerson: true  # show person entities in card
showBadgeName: false  # show names for domains/device classes/exta entities
showPersonName: false # show names for person entities
area_filter:  # option to filter for an area/floor (only entities from that area/floor will be shown)
  area: living_room #  !only one filter per card!
  floor: first_floor #  !only one filter per card!
label_filter: window # set this to only show entities which have this label assigned
hide:  # domains/device classes which are hidden from card
  light: false
names:  # domain/device classes that will show another name
  light: asd
icons:  # domain/device classes that will show another icon
  light: mdi:account-plus
colors:  # domain/device classes that will show another icon color
  light: dark-grey
newSortOrder: # change the sort order of a domain/device class/extra entity
  light: 10
  extra:
    light.living-room: 4
extra_entities: # settings for extra entity that will be shown in card when the state is the same like you configured
  - entity: light.living-room
    status: "off"
    icon: mdi:ceiling-fan-light
    color: lime
hidden_entities: # enttites which will be hidden from card
  - update.0x5c0272fffeae0368
hidden_labels: # labels which will be hidden from card
  - Window