Skip to content

Commit

Permalink
docs: 📝 Update docs for Binary Sensor cards
Browse files Browse the repository at this point in the history
  • Loading branch information
AneeshBhatnagar committed Nov 29, 2023
1 parent 77424a7 commit 6edfbfe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/usage/cards/card_binary_sensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,22 @@ The `binary-sensor-card` is to show the state (on/off, open/close, etc.) of a bi
ulm_show_last_changed: true
```

!!! Warning "⚠️ Breaking Change `v1.3.8`"

`ulm_show_last_changed` is renamed to `ulm_card_binary_sensor_show_last_changed`:
```yaml
variables:
ulm_card_binary_sensor_show_last_changed: true
```

## Usage

```yaml
- type: 'custom:button-card'
template: card_binary_sensor
variables:
ulm_card_binary_sensor_alert: true
ulm_show_last_changed: true
ulm_card_binary_sensor_show_last_changed: true
entity: binary_sensor.garage_door
```
Expand Down
9 changes: 8 additions & 1 deletion docs/usage/cards/card_binary_sensor_alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ The `binary-sensor-card` is to show the state (on/off, open/close, etc.) of a bi
variables:
ulm_show_last_changed: true
```
!!! Warning "⚠️ Breaking Change `v1.3.8`"

`ulm_show_last_changed` is renamed to `ulm_card_binary_sensor_show_last_changed`:
```yaml
variables:
ulm_card_binary_sensor_show_last_changed: true
```

## Usage

Expand All @@ -38,7 +45,7 @@ The `binary-sensor-card` is to show the state (on/off, open/close, etc.) of a bi
template: card_binary_sensor_alert
variables:
ulm_card_binary_sensor_alert: true
ulm_show_last_changed: true
ulm_card_binary_sensor_show_last_changed: true
entity: binary_sensor.garage_door
```
Expand Down

0 comments on commit 6edfbfe

Please sign in to comment.