From 2e604a66d6be7e85f735d4af8061570431e94c7e Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sun, 10 May 2020 00:17:43 +0300 Subject: [PATCH] Update README --- README.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 38b1a28..71e564a 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,6 @@ Time Picker Card supports Lovelace's Visual Editor. Click the + button to add a ![Visual Editor](https://raw.githubusercontent.com/GeorgeSG/lovelace-time-picker-card/master/examples/visual_editor.png) -### YAML - -This is the minimal required yaml config: - -```yaml -type: 'custom:time-picker-card' -entity: input_datetime.alarm_time -``` - ## Examples ### Default config - card name shown, 24 hour mode @@ -107,7 +98,7 @@ layout: | layout | object | **Optional** | Card Layout configuration | `none` | | hide | object | **Optional** | Hide object | `none` | -## Layout Object +### Layout Object | Name | Value | Requirement | Description | Default | | -------------- | ------------------------- | ------------ | -------------------------------------------------------------------------------------------------- | -------- | @@ -115,13 +106,13 @@ layout: | align_controls | `left`, `center`, `right` | **Optional** | Horizontal alignment of the controls | `center` | | name | `header`, `inside` | **Optional** | Whether to show the name as a header or inside the card | `header` | -## Hide Object +### Hide Object | Name | Type | Requirement | Description | Default | | ---- | ------- | ------------ | ------------------- | ------- | | name | boolean | **Optional** | Hides the card name | `false` | -## Theme Variables +### Theme Variables Time Picker Card will automatically pick up colors from your lovelace theme, but if you want to customize some of them, you can use the following variables in your theme's config file: