XaF/qolsysgw

Feature request: Add a last error message entity

Closed this issue · 4 comments

The last_error time entity is super useful. I'd love to have a text field that goes with it that easily displays what the last error was. It'll make it much easier to start digging in on what to repair.

XaF commented

You can create that directly in Home Assistant. You can create a sensor that tracks an attribute of another sensor, in this case the last error message available as attribute of the last error sensor!

XaF commented

I believe something like:

template:
  - sensor:
      - name: qolsys_panel_last_error_desc
        state: "{{state_attr('sensor.qolsys_panel_last_error', 'desc')}}"

WHOA. I had no idea. THANK YOU. Perhaps add it to the docs?

XaF commented

I do need to write documentation about the available attributes of the entities at some point!