Created
March 13, 2022 10:30
-
-
Save SimedruF/c22ef554f473a79b4cf531c43c21e8e7 to your computer and use it in GitHub Desktop.
CPU and GPU temperature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- platform: command_line | |
name: CPU Temperature | |
command: 'cat /sys/class/thermal/thermal_zone1/temp' | |
unit_of_measurement: '°C' | |
value_template: '{{ value | multiply(0.001) | round(1) }}' | |
- platform: command_line | |
name: GPU Temperature | |
command: 'cat /sys/class/thermal/thermal_zone2/temp' | |
unit_of_measurement: '°C' | |
value_template: '{{ value | multiply(0.001) | round(1) }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment