custom-cards / flex-table-card

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

Allow regex for data source in coloumns #97

Closed MS-HACS closed 10 months ago

MS-HACS commented 1 year ago

Following your basic example I tried to create a table with the battery level of all devices - most of them mobiles with HA app installed.

The sensors giving the battery level are named in the form sensor.<mobile>_battery_level or sensor.battery_level_<number>.

So I would have to add each sensor manually instead of letting the table card generate it what is the generel purpose of this great extension.

So what I would like to have is the ability to define some sort of expression, e.g.

columns:
  - name: Battery Level
    data: *_battery_level,battery_level_*
...
ildar170975 commented 1 year ago

Are you talking about using wildcards to define processed entities? изображение Because what you wrote for the data option seems to be wrong, it is supposed to select attributes & state.

daringer commented 10 months ago

looks like a bad configuration issue, thx @ildar170975 - closing - feel free to reopen if needed