github-entity-row
Show GitHub repository sensor data on entity rows in Home Assistant's Lovelace UI
NOTE: This is not a standalone lovelace card, but a row element for the entities card.
Installation
Add github-entity-row.js
to your <config>/www/
folder and add the following to the configuration.yaml
file:
lovelace:
resources:
- url: /local/github-entity-row.js?v=1.0.0
type: module
OR install using HACS and add this (if in YAML mode):
lovelace:
resources:
- url: /hacsfiles/lovelace-github-entity-row/github-entity-row.js
type: module
The above configuration can be managed directly in the Configuration -> Lovelace Dashboards -> Resources panel when not using YAML mode, or added by clicking the "Add to lovelace" button on the HACS dashboard after installing the plugin.
Configuration
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:github-entity-row |
entity | string | Required | sensor.my_github_repository |
name | string | friendly_name |
Override entity friendly name |
icon | string | mdi:github-circle |
Override default entity icon |
Example
type: entities
title: GitHub
entities:
- type: custom:github-entity-row
entity: sensor.home_assistant_config
- type: custom:github-entity-row
entity: sensor.lovelace_github_entity_row
- type: custom:github-entity-row
entity: sensor.lovelace_xiaomi_vacuum_card
Usage with auto-entities card:
type: custom:auto-entities
card:
type: entities
filter:
include:
- entity_id: sensor.github* # or use other matchers
options:
type: custom:github-entity-row
<github-entity-row options>
My cards
xiaomi-vacuum-card |
multiple-entity-row |
github-entity-row |
battery-entity-row |
attribute-entity-row