Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102449

Get attributes deep in detail

$
0
0

@jasondreher wrote:

How do I get an attribute deep in this sensor? I want to get the timerLabel. How do I do this?
I can get {{states.sensor.kitchen_next_timer.attributes.total_active}} which shows “2” but how do I get something deeper?

recurrence: Never Repeat
prior_value: '2020-05-30T10:27:42-05:00'
total_active: 2
total_all: 3
sorted_active: >-
  [["f87c2c79-d811-3b53-a1b9-7bef6f7e82a3", {"alarmTime": 0, "automationId":
  null, "createdDate": 1590852272449, "deferredAtTime": null, "deliveryType":
  null, "deviceName": null, "deviceSerialNumber": "",
  "deviceType": "", "extensibleAttribute": null,
  "geoLocationTriggerData": null, "id":
  "--f87c2c79-d811-3b53-a1b9-7bef6f7e82a3",
  "lastOccurrenceTimeInMilli": 0, "lastUpdatedDate": 0, "musicAlarmId": null,
  "musicEntity": null, "notificationIndex":
  "f87c2c79-d811-3b53-a1b9-7bef6f7e82a3", "originalDate": null, "originalTime":
  null, "personProfile": null, "provider": null, "rRuleData": null,
  "recurrenceEligibility": false, "recurringPattern": null, "remainingTime":
  169000.0, "reminderAppLabel": null, "reminderLabel": null, "reminderSubLabel":
  null, "skillInfo": null, "snoozedToTime": null, "sound": {"displayName":
  "Simple Timer", "folder": null, "id": "system_alerts_melodic_02",
  "providerId": "ECHO", "sampleUrl":
  "https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_02.mp3"},
  "status": "ON", "targetPersonProfiles": null, "timeZoneId": null,
  "timerLabel": "Muffin", "tmwNotificationProperties": null, "triggerTime": 0,
  "type": "Timer", "version": "2"}], ["91db0c14-ecac-3ed1-90d6-",
  {"alarmTime": 0, "automationId": null, "createdDate": 1590852282598,
  "deferredAtTime": null, "deliveryType": null, "deviceName": null,
  "deviceSerialNumber": "", "deviceType": "",
  "extensibleAttribute": null, "geoLocationTriggerData": null, "id":
  "--91db0c14-ecac-3ed1-90d6-",
  "lastOccurrenceTimeInMilli": 0, "lastUpdatedDate": 0, "musicAlarmId": null,
  "musicEntity": null, "notificationIndex":
  "91db0c14-ecac-3ed1-90d6-", "originalDate": null, "originalTime":
  null, "personProfile": null, "provider": null, "rRuleData": null,
  "recurrenceEligibility": false, "recurringPattern": null, "remainingTime":
  239000.0, "reminderAppLabel": null, "reminderLabel": null, "reminderSubLabel":
  null, "skillInfo": null, "snoozedToTime": null, "sound": {"displayName":
  "Simple Timer", "folder": null, "id": "system_alerts_melodic_02",
  "providerId": "ECHO", "sampleUrl":
  "https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_02.mp3"},
  "status": "ON", "targetPersonProfiles": null, "timeZoneId": null,
  "timerLabel": "Banana", "tmwNotificationProperties": null, "triggerTime": 0,
  "type": "Timer", "version": "2"}]]

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>