Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept
GNU General Public License v3.0
198
stars
23
forks
source link
Check for null/"undefined" after modify evaluated in render_data #14
This PR allows modify setting to change a value to null or "undefined" in order to dynamically hide a table row based on a modified column value. My use case is that my MQTT battery sensors report a state of "unknown" rather than "undefined" when no value is available, but flex-table-card checks only for "undefined" when determining whether to exclude a row if strict is set to true. So I need the strict check to be applied after the modify is evaluated.
This PR allows modify setting to change a value to null or "undefined" in order to dynamically hide a table row based on a modified column value. My use case is that my MQTT battery sensors report a state of "unknown" rather than "undefined" when no value is available, but flex-table-card checks only for "undefined" when determining whether to exclude a row if strict is set to true. So I need the strict check to be applied after the modify is evaluated.