lovelace-multiple-entity-row
lovelace-multiple-entity-row copied to clipboard
Support object in attributes
Hi, First of all - great card! Just started to play with it... I have a question - how can I set an attribute that is a field in an attribute object? This is a sample of my object:
Time: '2020-09-15T19:26:03'
Epoch: 1600190763
Uptime: '15T04:00:18'
UptimeSec: 1310418
Heap: 27
SleepMode: Dynamic
Sleep: 50
LoadAvg: 19
POWER: 'OFF'
Wifi:
AP: 1
SSId: F1
BSSId: 'B0:4E:26:BD:22:46'
Channel: 5
RSSI: 52
LinkCount: 4
Downtime: '0T00:01:51'
friendly_name: Switch - Irrigation porch
icon: 'mdi:water'
this is the card config:
- entity: switch.sonoff_irrigation_porch
type: 'custom:multiple-entity-row'
icon: 'mdi:water'
name: Irrigation porch
secondary_info: last-changed
toggle: true
state_color: true
entities:
- attribute: Wifi.RSSI
name: RSSI
unit: dBm
and this is the result:

Thanks!!
Same problem to extract this value

Have the same problem. Trying to get an attribute form an Object
This is not currently supported, but it would be added with templating support (#35). Not sure when I will get around to implement that though...
Any news on this old matter? Maybe it was solved in another way?