myTselection/telenet_telemeter

smallband (squeezed) as a selectable attribute

Closed this issue · 3 comments

I've been trying to set up a smallband indicator in a similar screen like your example, but I can't seem to get it to work ... I know it's in the attributes of the sensor, but can't seem to use it in a card.

image

Perhaps this could be a selectable item for sensor.telenet_telemeter?

aha, I didn't know this 'squeezed' element was used to denote this. I can add it as a direct attribute on the sensor.
For now, it's only available as a deeply nested attribute within telemeter_json
so for now you could try: {{state_attr('sensor.telenet_telemeter','telemeter_json')['internetusage'][0]['availableperiods'][0]['usages'][0]['squeezed']}}

That did the trick!
afbeelding
Thank you for your help, and looking forward to continued developement.

Kind regards,
Sven

I forgot to mention in here a new release was release yesterday r0.8.0, which has this extra attribute as a direct attribute on the telenet_telemeter and telenet_telemeter_peak sensors, so they are much easier to reach.