custom-cards / secondaryinfo-entity-row

Custom entity row for HomeAssistant, providing additional types of data to be displayed in the secondary info area of the Lovelace Entities card
172 stars 15 forks source link

Syntax error #17

Closed Vendo232 closed 5 years ago

Vendo232 commented 5 years ago

Hi

I`m getting error when trying to pull battery level on Wyze binary sensor using this script.

Can you spont an error? Capt233232ure

entities:

MizterB commented 5 years ago

I'm assuming that battery_level is an attribute of your sensor? If so, you should be using:

secondary_info: '[[ binary_sensor.wyzesense_778bb687.attributes.battery_level ]]'

Vendo232 commented 5 years ago

it worked! thank you Sir!