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.
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?