Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

thomasloven/lovelace-time-input-row

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

time-input-row

DEPRECATED!

time-input-row is now a standard feature of lovelace

no support is given for this project

Change the value of an input_datetime right on a lovelace card.

datetime

Installation instructions

This row requires card-tools to be installed.

For installation instructions see this guide.

The recommended type of this plugin is: js

If you are using custom_updater:

resources:
- url: /customcards/github/thomasloven/card-tools.js
  type: js
- url: /customcards/github/thomasloven/time-input-row.js
  type: js

Usage instructions

The code for the screenshot above:

lovelace

title: time-input-row
cards:
  - type: entities
    title: Default
    entities:
      - input_datetime.time
      - input_datetime.date
      - input_datetime.datetime

  - type: entities
    title: Time-input-row
    entities:
      - entity: input_datetime.time
        type: custom:time-input-row
      - entity: input_datetime.date
        type: custom:time-input-row
      - entity: input_datetime.datetime
        type: custom:time-input-row

configuration.yaml

input_datetime:
  time:
    name: Time
    has_date: false
    has_time: true
    initial: "12:34:00"
  date:
    name: Date
    has_date: true
    has_time: false
    initial: "2019-04-01"
  datetime:
    name: Date and Time
    has_date: true
    has_time: true
    initial: "2019-04-01 12:34:00"

Secret feature

If you want to see something funny, add the property silly_format: true. Can you believe some people actually want it this way?


Buy Me A Coffee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published