Hello I have been trying to retrive a part of an attribute. How do i do to get only the value of typeId?
{{ state_attr("sensor.last_activity" ,"activityType").typeId }}
or
{{ state_attr("sensor.last_activity" ,"activityType")["typeId"] }}