diff --git a/docs/usage/custom_cards/custom_card_esh_room.md b/docs/usage/custom_cards/custom_card_esh_room.md index 9d6915f3b..a7461c2ad 100644 --- a/docs/usage/custom_cards/custom_card_esh_room.md +++ b/docs/usage/custom_cards/custom_card_esh_room.md @@ -13,7 +13,10 @@ hide: ## Credits -- Authors: Everything Smart Home - 2022 and mpeterson +- Authors: + - Everything Smart Home - 2022 + - mpeterson + - rensknoors - Full credit to user [bms on the forum](https://community.home-assistant.io/t/lovelace-ui-minimalist/322687/192), they created the design and base of it in full, EverythingSmartHome put it into a PR as the basis - beasthouse and basbruss on the EverythingSmartHome discord channel for emoji/humidity customization - mpeterson added support for a switch to control climate and also to remove the need to have an entity associated @@ -44,6 +47,10 @@ Fixes text overflow issue over the climate button. 2.1.1 Add support for the new popup framework while maintaining backwards compatibility with the old one. +
+2.2.0 +Introduces a new variable that lets you set the card background to the color of a light entity. +
## Description @@ -62,6 +69,7 @@ This is an alternative room card to the standard one that is more rectangular th | ulm_custom_card_esh_room_climate_entity | | No | The entity to use for the climate button | | ulm_card_light_enable_popup | `false` | No | Enable `popup_light` | | ulm_card_thermostat_enable_popup | `false` | No | Enable `popup_thermostat` | +| ulm_card_ulm_card_dynamic_color | `false` | No | Enables dynamic background color (requires `ulm_custom_card_esh_room_light_entity`) | ## Usage diff --git a/docs/usage/custom_cards/custom_card_esh_welcome.md b/docs/usage/custom_cards/custom_card_esh_welcome.md index b3d3d5510..677b0e46e 100644 --- a/docs/usage/custom_cards/custom_card_esh_welcome.md +++ b/docs/usage/custom_cards/custom_card_esh_welcome.md @@ -96,18 +96,6 @@ Do not use `triggers_update: "all"`! This will lead to unwanted behavior with th color: "red" ``` -## Customizations - -Single Line Text: - -![Lewis](https://user-images.githubusercontent.com/51805396/184032046-383c63cc-a1a4-4d01-bcee-ae3f1d72c571.png) - -To change the header text from 2 lines to a single, continuous line (as seen above), you must replace line 119 in custom_card_esh_welcome.yaml with the following: - -```yaml - return welcome + ', '+ user.name + '!'; -``` - ## Template code ??? note "Template Code" diff --git a/docs/usage/custom_cards/custom_template_shogun160_battery_info.md b/docs/usage/custom_cards/custom_template_shogun160_battery_info.md new file mode 100644 index 000000000..3400942cb --- /dev/null +++ b/docs/usage/custom_cards/custom_template_shogun160_battery_info.md @@ -0,0 +1,61 @@ +--- +title: Custom Template Battery Info +hide: + - toc +--- + + + +# Custom Template "Battery Info" + +ui_minimalist_battery_info_example + +## Credits + +- Full credit to user [basbruss](https://github.com/basbruss), who created the design and base of it in his person card + +## Changelog + +
+1.0.0 +Initial release +
+ +## Description + +This is an template to add the battery level to every ui minimalist card + +## Variables + +| Variable | Default | Required | Notes | +| -------------------------------------------- | ------- | -------- | ------------------------------------------------------------------------ | +| ulm_battery_entity | | No | The entity to represent the battery_level + +## Usage with battery or battery_level attribute from entity + +```yaml + +- type: 'custom:button-card' + template: + - card_binary_sensor + - battery_info + entity: binary_sensor.badezimmer_tuer_contact + variables: + ulm_show_last_changed: false + +``` + +## Usage with variable ulm_battery_entity + +```yaml + +- type: 'custom:button-card' + template: + - card_binary_sensor + - battery_info + entity: binary_sensor.badezimmer_tuer_contact + variables: + ulm_show_last_changed: false + ulm_battery_entity: sensor.badezimmer_tuer_battery_level + +```