![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/94b2b808-7c9c-4de0-a35b-966d14ae40fd.png)
1·
1 year agoYou mean that you just want to have one configuration entry? I doubt that it’s possible.
What you could do is creating multiple entries, but you need filter within a template.
{% if value_json['tags'].path == '/mnt/hdd' %}
{{ (value_json['fields'].used_percent | float(default=0)) | round(2) }}
{% else %}
{{ states('sensor.disk_use_percent_sdb3') }}
{% endif %}
Having had a similar use case, I ended up configuring device specific topics within telegraf.
There are probably multiple ways to solve this…
Here’s an approach I’d choose (note that I do not use Alexa, so my knowledge about the integration’s capabilities is limited):
current time = (alarm time - 20 minutes)