Skip to content

amitfin/lovelace-daily-schedule-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily Schedule Card

HACS Badge

GitHub Release

Project Maintenance

Dedicated UI for Daily Schedule Integration entities with an optimized view and simplified editing capabilities.

Note: The custom integration is a prerequisite and can be installed via HACS using this link.

Configuration

General

Name Type Required Default Description
type string True - Must be custom:daily-schedule-card
title string False - Title of the card
card bool False True if title is supplied Whether to render an entire card or rows inside the entities card
template string False Null Template for rendering the value. Has access to entity_id

Entities

Name Type Required Default Description
entity string True - The binary_sensor entity ID
name string False Friendly name of the entity Name to display
template string False Null Per-entity template (overrides card's template)

Note: you can also just give the entity ID (with no entity:) if you don't need to specify the name explicitly.

Entities Card Example

type: entities
entities:
  - type: custom:daily-schedule-card
    entities:
      - entity: binary_sensor.venta_schedule
        name: Venta

Entire Card Example

type: custom:daily-schedule-card
title: Timers
entities:
  - binary_sensor.swimming_pool_filter_schedule

Template Example

type: custom:daily-schedule-card
card: true
template: >-
  {{ state_attr(entity_id, 'schedule') | rejectattr('disabled',
  'true') | map(attribute='from') | map('truncate', 2, True, '')
  | join(' | ') }}
entities:
  - binary_sensor.let_the_dog_out

Install

If you use HACS, the custom card will automatically be registered as needed.

If you don't use HACS, you can download js file from latest releases. Follow these instructions to register the custom card.

Usage

demo

demo.mov