Skip to content

Commit 8a0a6ea

Browse files
authored
Update docs
1 parent 6b2d76a commit 8a0a6ea

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

docs/usage/custom_cards/custom_card_esh_room.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,40 @@ hide:
1313

1414
## Credits
1515

16-
- Author: Everything Smart Home - 2022
17-
- Full credit to user [bms on the forum](https://community.home-assistant.io/t/lovelace-ui-minimalist/322687/192), they created it in full, I just put it into a PR as the basis
16+
- Authors: Everything Smart Home - 2022 and mpeterson
17+
- 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
1818
- beasthouse and basbruss on the EverythingSmartHome discord channel for emoji/humidity customization
19-
- Version: 1.0.0
19+
- mpeterson added support for a switch to control climate and also to remove the need to have an entity associated
20+
- Version: 2.0.0
2021

2122
## Changelog
2223

2324
<details>
2425
<summary>1.0.0</summary>
2526
Initial release
2627
</details>
28+
<details>
29+
<summary>2.0.0</summary>
30+
Breaking changes!
31+
This change introduces two variables to allow the display of the card with no buttons, one for light, one for climate or both for light and climate.
32+
It also now allows the use of no entity at all.
33+
</details>
2734

2835
## Description
2936

3037
This is an alternative room card to the standard one that is more rectangular than square.
3138

3239
## Variables
3340

34-
| Variable | Default | Required | Notes |
35-
| ---------- | ------- | -------- | -------------------------------------------------------------------------------------------------- |
36-
| entity | | Yes | The light entity to control |
37-
| Name | | Yes | Name of the room to display |
38-
| icon | | Yes | The icon to show |
39-
| tap_action | | Yes | The action to perform when tapping |
40-
| label | | Yes | The label to display information, this can be a template that returns a temperature or static text |
41+
| Variable | Default | Required | Notes |
42+
| -------------------------------------------- | ------- | -------- | ------------------------------------------------------------------------ |
43+
| entity | | No | The entity to represent on the room icon |
44+
| Name | | Yes | Name of the room to display |
45+
| icon | | No | The icon to show |
46+
| tap_action | | No | The action to perform when tapping |
47+
| label | | No | The label to display information, this can be a template or static text |
48+
| ulm_custom_card_esh_room_light_entity | | No | The entity to use for the light button |
49+
| ulm_custom_card_esh_room_climate_entity | | No | The entity to use for the climate button |
4150

4251
## Usage
4352

@@ -52,6 +61,9 @@ This is an alternative room card to the standard one that is more rectangular th
5261
tap_action:
5362
action: navigate
5463
navigation_path: "bathroom"
64+
variables:
65+
ulm_custom_card_esh_room_light_entity: light.bathroom_lights
66+
ulm_custom_card_esh_room_climate_entity: climate.bathroom
5567
label: '[[[ return states["sensor.room_temperature"].state + "°C" ]]]'
5668
```
5769

docs/usage/custom_cards/custom_card_nik_door.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Initial release
2525

2626
<details>
2727
<summary>2.0.0</summary>
28-
- Added Battery Level for monitoring
29-
- Added double_tap unlock to prevent accidental opening
28+
Added Battery Level for monitoring
29+
Added double_tap unlock to prevent accidental opening
3030
</details>
3131

3232
## Requirements

0 commit comments

Comments
 (0)