-
Notifications
You must be signed in to change notification settings - Fork 443
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 popup
- Loading branch information
Showing
41 changed files
with
2,399 additions
and
443 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" |
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
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 @@ | ||
--- | ||
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
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
6 changes: 0 additions & 6 deletions
6
custom_cards/custom_card_httpedo13_thermostat/languages/en.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
custom_cards/custom_card_httpedo13_thermostat/languages/pl.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
custom_cards/custom_card_httpedo13_thermostat/languages/pt.yaml
This file was deleted.
Oops, something went wrong.
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.