HI,
i have a sensor that has a list as one of its attributes.
{{states.sensor.solaredge_equipment}} has the following result:
<template state sensor.solaredge_equipment=on; reporters=count=1, list=[{'name': 'Inverter 1', 'manufacturer': 'SolarEdge', 'model': 'SE7k', 'serialNumber': 'serial number', 'kWpDC': None}], friendly_name=SolarEdge Equipment, custom_ui_state_card=state-card-custom-ui, state_card_mode=badges @ 2018-01-30T09:45:55.951846+01:00>
I can narrow it down to the list, but then i don’t know how to filter out the separate list items. the list structure is new to me and i can’t find any documentation how templating works with this structure.
{{states.sensor.solaredge_equipment.attributes.reporters.list}} results in :
[{'name': 'Inverter 1', 'manufacturer': 'SolarEdge', 'model': 'SE7k', 'serialNumber': 'serial number', 'kWpDC': None}]
I want these items to be displayed separately but the [ ] is keeping me from succes…
Please have a look?
Cheers,
Marius