-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'UI-Lovelace-Minimalist:main' into tab-view
- Loading branch information
Showing
70 changed files
with
3,175 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
title: Custom Camera Card | ||
hide: | ||
- toc | ||
--- | ||
<!-- markdownlint-disable MD046 --> | ||
|
||
# Custom-card "Camera" | ||
|
||
This is a `custom-card` to display a camera live view. | ||
|
||
![Screenshot](../../docs/assets/img/screenshot_custom_camera1.png) | ||
![Screenshot](../../docs/assets/img/screenshot_custom_camera2.png) | ||
|
||
## Credits | ||
|
||
Author: Eltarius, from the script of [Clemalex](https://forum.hacf.fr/t/dashboard-minimalist/5507/183?u=clemalex) - 2022 | ||
Version: 1.0.0 | ||
|
||
## Changelog | ||
|
||
<details> | ||
<summary>1.0.0</summary> | ||
Initial release. | ||
</details> | ||
|
||
## Usage | ||
|
||
```yaml | ||
- type: "custom:button-card" | ||
entity: "camera.sensor" | ||
template: "custom_card_camera" | ||
show_icon: false #True if you set ulm_custom_card_camera_title: true | ||
variables: | ||
ulm_custom_card_camera_title: true | ||
ulm_custom_card_camera_name: "name" | ||
ulm_custom_card_camera_label: "label" | ||
``` | ||
## Variables | ||
<table> | ||
<tr> | ||
<th>Variable</th> | ||
<th>Example</th> | ||
<th>Required</th> | ||
<th>Default</th> | ||
<th>Explanation</th> | ||
</tr> | ||
<tr> | ||
<td>ulm_custom_card_camera_title</td> | ||
<td>true</td> | ||
<td>yes</td> | ||
<td></td> | ||
<td>If you want header card</td> | ||
</tr> | ||
<tr> | ||
<td>ulm_custom_card_camera_name</td> | ||
<td>"Garden"</td> | ||
<td>no</td> | ||
<td></td> | ||
<td>Name of your choice</td> | ||
</tr> | ||
<tr> | ||
<td>ulm_custom_card_camera_label</td> | ||
<td>"Room"</td> | ||
<td>no</td> | ||
<td></td> | ||
<td>Label of your choice</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
custom_card_camera: | ||
template: | ||
- "blue_no_state" | ||
show_name: false | ||
show_label: false | ||
styles: | ||
card: | ||
- border-radius: "20px" | ||
- box-shadow: "var(--box-shadow)" | ||
- padding: |- | ||
[[[ | ||
if(variables.ulm_custom_card_camera_title) | ||
return "12px"; | ||
else | ||
return "0px"; | ||
]]] | ||
img_cell: | ||
- border-radius: "50%" | ||
- place-self: "center" | ||
- width: "42px" | ||
- height: "42px" | ||
grid: | ||
- grid-template-areas: "'i item1' 'i item1' 'item2 item2'" | ||
- grid-template-columns: "min-content auto" | ||
- grid-template-rows: "min-content min-content min-content" | ||
- row-gap: |- | ||
[[[ | ||
if(variables.ulm_custom_card_camera_title) | ||
return "12px"; | ||
else | ||
return "0px"; | ||
]]] | ||
custom_fields: | ||
item1: | ||
card: | ||
type: "custom:button-card" | ||
show_name: "[[[ return variables.ulm_custom_card_camera_title; ]]]" | ||
show_label: "[[[ return variables.ulm_custom_card_camera_title; ]]]" | ||
show_icon: "[[[ return variables.ulm_custom_card_camera_title; ]]]" | ||
name: "[[[ return variables.ulm_custom_card_camera_name; ]]]" | ||
label: "[[[ return variables.ulm_custom_card_camera_label; ]]]" | ||
styles: | ||
card: | ||
- box-shadow: "none" | ||
- padding: "0" | ||
name: | ||
- align-self: "end" | ||
- justify-self: "start" | ||
- font-weight: "bold" | ||
- font-size: "14px" | ||
- margin-left: "12px" | ||
- filter: "opacity(100%)" | ||
label: | ||
- justify-self: "start" | ||
- align-self: "start" | ||
- font-weight: "bolder" | ||
- font-size: "12px" | ||
- filter: "opacity(40%)" | ||
- margin-left: "12px" | ||
grid: | ||
- grid-template-areas: "'n' 'l'" | ||
- grid-template-columns: "auto" | ||
- grid-template-rows: "min-content min-content" | ||
item2: | ||
card: | ||
type: "picture-entity" | ||
camera_image: "[[[ return entity.entity_id ]]]" | ||
camera_view: "live" | ||
entity: "[[[ return entity.entity_id ]]]" | ||
show_name: false | ||
show_state: false | ||
tap_action: | ||
action: "more-info" |
7 changes: 7 additions & 0 deletions
7
custom_cards/custom_card_damix48_power_details/languages/de.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
ulm_custom_card_damix48_power_details_language_variables: | ||
variables: | ||
ulm_custom_card_damix48_power_details_hour: "Stunde" | ||
ulm_custom_card_damix48_power_details_hours: "Stunden" | ||
ulm_custom_card_damix48_power_details_in_the_last: "In der letzten" | ||
ulm_custom_card_damix48_power_details_in_the_lasts: "In den letzten" |
7 changes: 7 additions & 0 deletions
7
custom_cards/custom_card_damix48_power_details/languages/es.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
ulm_custom_card_damix48_power_details_language_variables: | ||
variables: | ||
ulm_custom_card_damix48_power_details_hour: "hora" | ||
ulm_custom_card_damix48_power_details_hours: "horas" | ||
ulm_custom_card_damix48_power_details_in_the_last: "En la última" | ||
ulm_custom_card_damix48_power_details_in_the_lasts: "En las últimas" |
11 changes: 11 additions & 0 deletions
11
custom_cards/custom_card_eraycetinay_elapsed_time/languages/es.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
ulm_custom_card_eraycetinay_elapsed_time_language_variables: | ||
variables: | ||
custom_card_eraycetinay_elapsed_time_day: "día" | ||
custom_card_eraycetinay_elapsed_time_days: "días" | ||
custom_card_eraycetinay_elapsed_time_hour: "hora" | ||
custom_card_eraycetinay_elapsed_time_hours: "horas" | ||
custom_card_eraycetinay_elapsed_time_minute: "minuto" | ||
custom_card_eraycetinay_elapsed_time_minutes: "minutos" | ||
custom_card_eraycetinay_elapsed_time_ago: "atrás" | ||
custom_card_eraycetinay_elapsed_time_justnow: "justo ahora" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
ulm_custom_card_eraycetinay_lock_language_variables: | ||
variables: | ||
custom_card_eraycetinay_lock_locked: "verriegelt" | ||
custom_card_eraycetinay_lock_unlocked: "entriegelt" | ||
custom_card_eraycetinay_lock_locking: "verriegeln" | ||
custom_card_eraycetinay_lock_unlocking: "entriegeln" | ||
custom_card_eraycetinay_lock_unavailable: "nicht verfügbar" | ||
custom_card_eraycetinay_lock_jammed: "blockiert" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
ulm_custom_card_eraycetinay_lock_language_variables: | ||
variables: | ||
custom_card_eraycetinay_lock_locked: "bloqueado" | ||
custom_card_eraycetinay_lock_unlocked: "desbloqueado" | ||
custom_card_eraycetinay_lock_locking: "bloqueando" | ||
custom_card_eraycetinay_lock_unlocking: "desbloqueando" | ||
custom_card_eraycetinay_lock_unavailable: "no disponible" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
custom_card_heat_pump_language_variables: | ||
variables: | ||
custom_card_heat_pump_dry: "Trocknen" | ||
custom_card_heat_pump_heat: "Heizen" | ||
custom_card_heat_pump_heat_cool: "Auto" | ||
custom_card_heat_pump_cool: "Kühlen" | ||
custom_card_heat_pump_fan_only: "Nur Lüften" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
custom_card_heat_pump_language_variables: | ||
variables: | ||
custom_card_heat_pump_off: "Apagada" | ||
custom_card_heat_pump_dry: "Seco" | ||
custom_card_heat_pump_heat: "Calor" | ||
custom_card_heat_pump_heat_cool: "Automático" | ||
custom_card_heat_pump_cool: "Frío" | ||
custom_card_heat_pump_fan_only: "Sólo ventilador" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.