Files
fresh-home/lovelace/details/view-watchman.yaml
T
CeeWeasel 105fb7cf86 database should now be good and shouldn't cause random restarts
some other minor tweask and renames to appease the watchman
2026-02-10 09:26:10 -05:00

66 lines
2.0 KiB
YAML

title: Watchman
path: watchman
icon: mdi:eye-check
type: sections
max_columns: 4
visible:
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
sections:
- type: grid
cards:
- type: markdown
content: >-
<h2>Missing Entities: {{ states.sensor.watchman_missing_entities.state }}</h2>
{%- for item in state_attr("sensor.watchman_missing_entities","entities") %}
<hr> <table><tr> <td> <ha-icon icon='mdi: {%- if item.state=="missing"-%}cloud-alert' {%- elif item.state=="unavail"
-%}cloud-off-outline' {%- else-%}cloud-question' {%- endif -%} ></ha-icon> {{
item.id }} [{{item.state}}] <a title="{{item.occurrences}}">
{{item.occurrences.split('/')[-1].split(':')[0]}}</a> </td></tr></table>
{%- endfor %}
- type: grid
cards:
- type: markdown
content: >-
<h2> Missing Actions: {{ states.sensor.watchman_missing_actions.state }}</h2>
{%- for item in state_attr("sensor.watchman_missing_actions","entities") %}
<hr><table><tr><td><ha-icon icon='mdi:cloud-alert'></ha-icon> {{item.id }}
<a title="{{item.occurrences}}">{{item.occurrences.split('/')[-1].split(':')[0]}}
</a></td></tr></table>
{%- endfor %}
header:
card:
type: markdown
content: |
# Watchman Report
text_only: true
badges:
- type: entity
show_name: true
show_state: true
show_icon: true
entity: sensor.watchman_last_updated
name: Last Updated
tap_action:
action: perform-action
perform_action: watchman.report
target: {}
data:
parse_config: true
create_file: true
- type: entity
show_name: true
show_state: true
show_icon: true
entity: sensor.watchman_missing_entities
name: Missing Entities
tap_action:
action: none
- type: entity
show_name: true
show_state: true
show_icon: true
entity: sensor.watchman_missing_actions
name: Missing Actions
tap_action:
action: none