-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
… fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Display warnings on top of dashboard (experiment)
- Loading branch information
Showing
2 changed files
with
78 additions
and
81 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
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 |
---|---|---|
@@ -1,79 +1,81 @@ | ||
- type: vertical-stack | ||
cards: | ||
- type: custom:layout-card | ||
layout_type: custom:horizontal-layout | ||
layout: | ||
max_cols: 6 | ||
cards: | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
type: panel | ||
cards: | ||
- type: vertical-stack | ||
cards: | ||
- type: custom:layout-card | ||
layout_type: custom:horizontal-layout | ||
layout: | ||
max_cols: 6 | ||
cards: | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.intrusion_activity | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.intrusion_activity | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.intrusion_activity | ||
name: Intrusion | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
name: Intrusion | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.smoke_detected | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.smoke_detected | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.smoke_detected | ||
name: Smoke | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
name: Smoke | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.carbon_monoxide_detected | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.carbon_monoxide_detected | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.carbon_monoxide_detected | ||
name: Carbon monoxide | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
name: Carbon monoxide | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.kitchen_door_lock_jammed | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.kitchen_door_lock_jammed | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.kitchen_door_lock_jammed | ||
name: Lock jammed | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
name: Lock jammed | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.all_leaks | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.all_leaks | ||
state: "on" | ||
card: #} | ||
type: tile | ||
entity: binary_sensor.all_leaks | ||
name: Water leak | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: or | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.all_leaks | ||
state: "on" | ||
- condition: state | ||
entity: valve.main_water_shut_off | ||
state: "off" | ||
card: #} | ||
type: tile | ||
entity: valve.main_water_shut_off | ||
name: Main water valve | ||
vertical: true | ||
name: Water leak | ||
vertical: true | ||
- {# type: conditional | ||
conditions: | ||
- condition: or | ||
conditions: | ||
- condition: state | ||
entity: binary_sensor.all_leaks | ||
state: "on" | ||
- condition: state | ||
entity: valve.main_water_shut_off | ||
state: "off" | ||
card: #} | ||
type: tile | ||
entity: valve.main_water_shut_off | ||
name: Main water valve | ||
vertical: true | ||
|
||
- type: custom:layout-card | ||
layout_type: custom:masonry-layout | ||
cards: | ||
{% filter indent(width = 8) %} | ||
- type: custom:layout-card | ||
layout_type: custom:masonry-layout | ||
cards: | ||
{% filter indent(width = 12) %} | ||
{{ cards | tojson }} | ||
{% endfilter %} |