I gave podman a try a few months ago and went with systemd unit files instead of compose files, since it felt like the most native approach.
- 0 Posts
- 3 Comments
Joined 2 years ago
Cake day: July 1st, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
knapoc@lemmy.worldto homeassistant@lemmy.world•Parse multiple devices from a single mqtt topic?English1·2 years 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)