I need to extract 2 values from the below command using value_template which I underline below. what is the correct command of value_template to extract just that 2 values of 38.0(CPU temp) & 36.9(NVME SSD temp) respectively as there is too many text there? I need display this value on HA.
I try to seach through the forum but non of the topic match my question.
Thanks in advances.
root@pve:~# sensors -A
iwlwifi_1-virtual-0
temp1: N/A
acpitz-acpi-0
temp1: +39.0°C (crit = +119.0°C)
coretemp-isa-0000
Package id 0: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +35.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +37.0°C (high = +100.0°C, crit = +100.0°C)
nvme-pci-0100
Composite: +36.9°C (low = -273.1°C, high = +81.8°C)
(crit = +84.8°C)
Sensor 1: +36.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +37.9°C (low = -273.1°C, high = +65261.8°C)