feat(plant): tsys3 GPU temp sensor - match nouveau hwmon too [#763]

Maxwell card runs in-tree nouveau on kernel 7.0.14 (no proprietary
branch supports both 7.0 and Maxwell); regex widened with a
non-capturing alternation, template downstream unchanged.

Detail: https://projects.knownelement.com/issues/763
This commit is contained in:
2026-09-03 14:02:09 -05:00
parent 6c5efbb609
commit db4624a2df
+1 -1
View File
@@ -513,7 +513,7 @@ sensor:
accept_errors: true accept_errors: true
unique_id: pfv_tsys3_gpu_temperature_raw unique_id: pfv_tsys3_gpu_temperature_raw
value_template: >- value_template: >-
{% set m = value | regex_findall('(?s)nvidia.*?temp1:\s*\+?(-?\d+\.?\d*)') %} {% set m = value | regex_findall('(?s)(?:nvidia|nouveau).*?temp1:\s*\+?(-?\d+\.?\d*)') %}
{{ m | first | float if m }} {{ m | first | float if m }}
- platform: snmp - platform: snmp