I need some help! I have the following array: https://gist.github.com/guilhermelirio/2fc6d2f0ce5e08489c3b2728091916ff
I created a Restfull sensor to know the temperature of my video card, but the value always shows unavailable.
sensor.yaml:
- platform: rest
name: pc_sensors
resource: http://192.168.6.53:10445/metrics/json
json_attributes:
- unit
- sensor_type
- sensor
- source
- value
- valueType
- entity
- metricName
- metric
value_template: '{{ value_json }}'
- platform: template
sensors:
rtx_2080_temp:
friendly_name: 'RTX AORUS 2080 Temp'
value_template: '{{ states.sensor.pc_sensors[45].attributes["value"] }}'
unit_of_measurement: '°C'
device_class: temperature
How do I get to capture exactly the temperature value of the video card?
Obs: sorry for my english!