Skip to content

Commit

Permalink
fix markdown table in docs (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 authored Aug 20, 2024
1 parent 116b30f commit 5ddebc0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/cards/fan.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A fan card allows you to control a fan entity.
All the options are available in the lovelace editor but you can use `yaml` if you want.

| Name | Type | Default | Description |
| :------------------------ | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- | --- |
| :------------------------ | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- |
| `entity` | string | Required | Fan entity |
| `icon` | string | Optional | Custom icon |
| `name` | string | Optional | Custom name |
Expand All @@ -24,7 +24,7 @@ All the options are available in the lovelace editor but you can use `yaml` if y
| `icon_animation` | boolean | `false` | Animate the icon when fan is `on` |
| `show_percentage_control` | boolean | `false` | Show a slider to control speed |
| `show_oscillate_control` | boolean | `false` | Show a button to control oscillation |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used if section, it can produce a layout shift for cards below | |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used if section, it can produce a layout shift for cards below |
| `tap_action` | action | `toggle` | Home assistant action to perform on tap |
| `hold_action` | action | `more-info` | Home assistant action to perform on hold |
| `double_tap_action` | action | `more-info` | Home assistant action to perform on double_tap |
4 changes: 2 additions & 2 deletions docs/cards/humidifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A humidifier card allows you to control a humidifier entity.
All the options are available in the lovelace editor but you can use `yaml` if you want.

| Name | Type | Default | Description |
| :----------------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- | --- |
| :----------------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- |
| `entity` | string | Required | Humidifier entity |
| `icon` | string | Optional | Custom icon |
| `name` | string | Optional | Custom name |
Expand All @@ -22,7 +22,7 @@ All the options are available in the lovelace editor but you can use `yaml` if y
| `secondary_info` | `name` `state` `last-changed` `last-updated` `none` | `state` | Info to show as secondary info |
| `icon_type` | `icon` `entity-picture` `none` | `icon` | Type of icon to display |
| `show_target_humidity_control` | boolean | Optional | Show target humidity control |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below | |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below |
| `tap_action` | action | `more-info` | Home assistant action to perform on tap |
| `hold_action` | action | `more-info` | Home assistant action to perform on hold |
| `double_tap_action` | action | `more-info` | Home assistant action to perform on double_tap |
4 changes: 2 additions & 2 deletions docs/cards/light.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A light card allows you to control a light entity.
All the options are available in the lovelace editor but you can use `yaml` if you want.

| Name | Type | Default | Description |
| :------------------------ | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- | --- |
| :------------------------ | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- |
| `entity` | string | Required | Light entity |
| `icon` | string | Optional | Custom icon |
| `icon_color` | string | `blue` | Custom color for icon and brightness bar when the lights is on and `use_light_color` is `false` |
Expand All @@ -25,7 +25,7 @@ All the options are available in the lovelace editor but you can use `yaml` if y
| `show_brightness_control` | boolean | `false` | Show a slider to control brightness |
| `show_color_temp_control` | boolean | `false` | Show a slider to control temperature color |
| `show_color_control` | boolean | `false` | Show a slider to control RGB color |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below | |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below |
| `use_light_color` | boolean | `false` | Colorize the icon and slider according light temperature or color |
| `tap_action` | action | `toggle` | Home assistant action to perform on tap |
| `hold_action` | action | `more-info` | Home assistant action to perform on hold |
Expand Down
4 changes: 2 additions & 2 deletions docs/cards/media-player.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A media player card allows you to control a media player entity.
All the options are available in the lovelace editor but you can use `yaml` if you want.

| Name | Type | Default | Description |
| :--------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- | --- |
| :--------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- |
| `entity` | string | Required | Media Player entity |
| `icon` | string | Optional | Custom icon |
| `name` | string | Optional | Custom name |
Expand All @@ -25,7 +25,7 @@ All the options are available in the lovelace editor but you can use `yaml` if y
| `show_volume_level` | boolean | `false` | Show volume level next to media state when media is playing |
| `media_controls` | list | `[]` | List of controls to display (on_off, shuffle, previous, play_pause_stop, next, repeat) |
| `volume_controls` | list | `[]` | List of controls to display (volume_mute, volume_set, volume_buttons) |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below | |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below |
| `tap_action` | action | `more-info` | Home assistant action to perform on tap |
| `hold_action` | action | `more-info` | Home assistant action to perform on hold |
| `double_tap_action` | action | `more-info` | Home assistant action to perform on double_tap |
4 changes: 2 additions & 2 deletions docs/cards/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An update card allows you to control an update entity.
All the options are available in the lovelace editor but you can use `yaml` if you want.

| Name | Type | Default | Description |
| :--------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- | --- |
| :--------------------- | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------------------- |
| `entity` | string | Required | Update entity |
| `name` | string | Optional | Custom name |
| `icon` | string | Optional | Custom icon |
Expand All @@ -22,7 +22,7 @@ All the options are available in the lovelace editor but you can use `yaml` if y
| `secondary_info` | `name` `state` `last-changed` `last-updated` `none` | `state` | Info to show as secondary info |
| `icon_type` | `icon` `entity-picture` `none` | `icon` | Type of icon to display |
| `show_buttons_control` | boolean | `false` | Show buttons to install and skip update |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below | |
| `collapsible_controls` | boolean | `false` | Collapse controls when off. When used in section, it can produce a layout shift for cards below |
| `tap_action` | action | `more-info` | Home assistant action to perform on tap |
| `hold_action` | action | `more-info` | Home assistant action to perform on hold |
| `double_tap_action` | action | `more-info` | Home assistant action to perform on double_tap |

0 comments on commit 5ddebc0

Please sign in to comment.