Thank you very much, will go this way.
Works like a charm (with csv export), thanks once again, your help was fantastic
Please add a link to your solution into your post or - if it was not published - a code inside “Hide Details”. Would be useful for other people.
Hey hey,
thanks for inspiration and new ideas. I’m new to that extension but have no clue how to start solving my problem.
I have multiple fyta plant sensors, but instead every flower get its own card, I want to have a summarized view. Here a peek in my currently set-up:
I just want a Table, left the written entities, on top a picture of the plant, name and species. The cell data are the values in color of the status. Maybe in the next step I would sort for next watering, pending fertilizing, need of lighter place…
My apologies if it isn’t understandable, I just want to find a way to start this project.
Thanks
One row = 1 entity.
If you need to show states of different entities in columns, you can only use Markdown card which supports tables.
So i have a table of IP addresses. I want to modify it so it uses each ip to list the name of the VLAN instead (i.e. if starts with 192.168.1 then “Secure Network”, if starts with 192.168.2 then “IoT Network”, etc.).
Is that possible to format?
type: custom:flex-table-card
columns:
- name: Name
data: friendly_name
- name: IP Address
data: ip
Check examples with “modify”
Thanks! Got it working with the below:
type: custom:flex-table-card
columns:
- name: Name
data: friendly_name
- name: IP Address
data: ip
modify: |-
if(x.startsWith("192.168.1")) {
"Secure VLAN"
}
else if(x.startsWith("192.168.10")) {
"IoT VLAN"
}
else if(x.startsWith("192.168.20")) {
"Cameras VLAN"
}
else {
x
}
Suggest to close the issue you created in GitHub.