i have spent last 2 hours trying to add this simple sensor… i have read several published documents and others findings but still cant make it work. just unclear whats wrong. I am able to reload the YAML with no error but the sensor never shows up when i go to developer states where i see all the other sensors. i mean its not even there, not that it is not reading anything it just doesnt exist.
grateful to any help anyone can give
this is found in my main config file.
i have tried the command line in quotes and without quotes.
command_line:
- sensor:
name: CPU Temp
command: 'cat /sys/class/thermal/thermal_zone0/temp'
unit_of_measurement: "°C"
value_template: "{{ value | multiply(0.001) | round(2) }}"
#sensor:
#- name: "CPU Temperature"
#platform: command_line
#command: "cat /sys/class/thermal/thermal_zone0/temp"
#unit_of_measurement: "°F"
#value_template: "{{ value | multiply(0.001) | multiply(1.8) | round(1) | float + 32}}" type or paste code here
ok so i have it loaded in my config file and it loads fine but again i dont see the sensor? i should be able to see it just as any other sensor correct?
pasted where i have it in, its at the bottom. all the other sensors work. apricate your time looking at it.