Skip to content

Commit

Permalink
Remove automatic formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
PolarFox committed Jun 5, 2023
1 parent cd45a9b commit 751e669
Showing 1 changed file with 32 additions and 33 deletions.
65 changes: 32 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,48 +58,47 @@ entity: sensor.weather_station_uv
## Options
| Name | Type | Requirement | Description | Default |
| ----------------- | ------- | ------------ | -------------------------------------------- | ------------------- |
| type | string | **Required** | `custom:uv-index-card` | |
| name | string | **Optional** | Card name | `UV Index` |
| show_error | boolean | **Optional** | Show what an error looks like for the card | `false` |
| show_warning | boolean | **Optional** | Show what a warning looks like for the card | `false` |
| entity | string | **Required** | Home Assistant entity ID. | `none` |
| language | string | **Optional** | The 2 character that determines the language | `en` |
| tap_action | object | **Optional** | Action to take on tap | `action: more-info` |
| hold_action | object | **Optional** | Action to take on hold | `none` |
| double_tap_action | object | **Optional** | Action to take on double tap | `none` |
| Name | Type | Requirement | Description | Default |
| ----------------- | ------- | ------------ | ------------------------------------------- | ------------------- |
| type | string | **Required** | `custom:uv-index-card` | |
| name | string | **Optional** | Card name | `UV Index` |
| show_error | boolean | **Optional** | Show what an error looks like for the card | `false` |
| show_warning | boolean | **Optional** | Show what a warning looks like for the card | `false` |
| entity | string | **Required** | Home Assistant entity ID. | `none` |
| language | string | **Optional** | The 2 character that determines the language| `en` |
| tap_action | object | **Optional** | Action to take on tap | `action: more-info` |
| hold_action | object | **Optional** | Action to take on hold | `none` |
| double_tap_action | object | **Optional** | Action to take on double tap | `none` |

## Action Options

| Name | Type | Requirement | Description | Default |
| --------------- | ------ | ------------ | -------------------------------------------------------------------------------------------------- | ----------- |
| action | string | **Required** | Action to perform (more-info, toggle, call-service, navigate url, none) | `more-info` |
| navigation_path | string | **Optional** | Path to navigate to (e.g. /lovelace/0/) when action defined as navigate | `none` |
| url | string | **Optional** | URL to open on click when action is url. The URL will open in a new tab | `none` |
| service | string | **Optional** | Service to call (e.g. media_player.media_play_pause) when action defined as call-service | `none` |
| service_data | object | **Optional** | Service data to include (e.g. entity_id: media_player.bedroom) when action defined as call-service | `none` |
| haptic | string | **Optional** | Haptic feedback _success, warning, failure, light, medium, heavy, selection_ | `none` |
| repeat | number | **Optional** | How often to repeat the `hold_action` in milliseconds. | `none` |
| Name | Type | Requirement | Description | Default |
| --------------- | ------ | ------------ | -------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| action | string | **Required** | Action to perform (more-info, toggle, call-service, navigate url, none) | `more-info` |
| navigation_path | string | **Optional** | Path to navigate to (e.g. /lovelace/0/) when action defined as navigate | `none` |
| url | string | **Optional** | URL to open on click when action is url. The URL will open in a new tab | `none` |
| service | string | **Optional** | Service to call (e.g. media_player.media_play_pause) when action defined as call-service | `none` |
| service_data | object | **Optional** | Service data to include (e.g. entity_id: media_player.bedroom) when action defined as call-service | `none` |
| haptic | string | **Optional** | Haptic feedback _success, warning, failure, light, medium, heavy, selection_ | `none` |
| repeat | number | **Optional** | How often to repeat the `hold_action` in milliseconds. | `none` |


### Language

The following languages are supported:

| Language | Yaml value | Supported | Translated by |
| ---------- | ---------- | --------- | ---------------------------------------------- |
| Czech | `cs` | v1.2.1 | [@MiisaTrAnCe](https://github.com/MiisaTrAnCe) |
| Dutch | `nl` | v1.2.0 | [@WoBBeLNL](https://github.com/WoBBeLnl) |
| English | `en` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| French | `fr` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| German | `de` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| Hungarian | `hu` | v1.2.1 | [@erelke](https://github.com/erelke) |
| Italian | `it` | v1.2.0 | [@SiriosDev](https://github.com/SiriosDev) |
| Portuguese | `pt` | v1.2.0 | [@ViPeR5000](https://github.com/viper5000) |
| Swedish | `sv` | v1.2.1 | [@el97](https://github.com/el97) |
| Finnish | `fi` | | [@PolarFox](https://github.com/PolarFox) |

| Language | Yaml value | Supported | Translated by |
| --------- | ---------- | --------- | ----------------------------------------------------------------------------------- |
| Czech | `cs` | v1.2.1 | [@MiisaTrAnCe](https://github.com/MiisaTrAnCe) |
| Dutch | `nl` | v1.2.0 | [@WoBBeLNL](https://github.com/WoBBeLnl) |
| English | `en` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| French | `fr` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| German | `de` | v1.0.0 | [@t1gr0u](https://github.com/t1gr0u) |
| Hungarian | `hu` | v1.2.1 | [@erelke](https://github.com/erelke) |
| Italian | `it` | v1.2.0 | [@SiriosDev](https://github.com/SiriosDev) |
| Portuguese| `pt` | v1.2.0 | [@ViPeR5000](https://github.com/viper5000) |
| Swedish | `sv` | v1.2.1 | [@el97](https://github.com/el97) |
| Finnish | `fi` | | [@PolarFox](https://github.com/PolarFox) |
#### How to add a language

If you wish to add a language please follow these steps:
Expand Down

0 comments on commit 751e669

Please sign in to comment.