jampez77 / Multiline-Entity-Card

A custom entity card for Home Assistant that allows text to span multiple lines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiline Entity Card

A custom entity card modelled on the original Entity card for Home Assistant that allows text to span multiple lines.

GitHub Release License Project Maintenance hacs_badge

Enjoying this? Help me out with a 🍻 or ☕!

coffee

Installation through HACS

Use HACS to install the Multiline Entity Card plugin.

Configuration

type: 'custom:multiline-entity-card'

Example:

type: 'custom:multiline-entity-card'
name: "Master Bedroom"
entity: sensor.master_bedroom_reminders
attribute: next_reminder
show_icon: true
image: /local/image/file.png
show_name: true
unit_of_measurement: prefix / suffix

tap_action:
  action: more-info
  #Optional entity_id to get more-info on another entity. Default is curent entity
  data:
    target:
      entity_id: input_boolean.toggle


 tap_action:
  action: call-service
  service: input_boolean.toggle
  data: {}
  target:
    entity_id: input_boolean.test_toggle

 tap_action:
  action: navigate
  navigation_path: /config

About

A custom entity card for Home Assistant that allows text to span multiple lines.

License:MIT License


Languages

Language:JavaScript 100.0%