Z-Wave device panel status under Fold is too obscure in case of Status issue

too bad we can not see the device_status directly upon opening the device page, currently we see

so have to scroll down all the page to the Diagnostic panel to see a dead Status.

Suggesting we move it out of this fold:

to show directly above that, or, have some indication on that fold to signal a status issue

having my manual template markdown card gives me a direct clue:

  - type: markdown
    title: Z-wave device status
    card_mod:
      style: |
        .card-header {
          background-color: var(--background-color-off);
          color: var(--text-color-off);
          padding-top: 0px;
          padding-bottom: 0px;
          margin: 0px 0px 8px 0px;
        }
        ha-card {
          /*background: #083366;*/
          /*color: white;*/
          --mdc-icon-size: 50px;
        }
    content: >
      <font color=#083366><ha-icon icon= mdi:z-wave></></>

      {% set dead = states
           |selectattr('entity_id','search','node_status')
           |selectattr('state','==','dead')|list%}


      {% if dead|count != 0 %} **Dead nodes:**
      {% for q in dead %}

       > <font color= red>{{- q.name.split(':')[0] }}</font>
        {% endfor %}
      {% else %} All nodes ok
      {% endif %}

      {% for s in ['alive','asleep','awake','dead'] %}
       <font color= #0da83a>{{s}}:</font> <font color= #f89847>{{states
       |selectattr('entity_id','search','node_status')
       |selectattr('state','==',s)|list|count}}</font>
      {%- endfor %}

      ---------

      <font color= #0da83a>total:</font> <font color= #f89847>{{states
      |selectattr('entity_id','search','node_status')|list|count}}</font>

I feel the core device_info panel should have some noticeable indication of trouble

1 Like