Command Failed

Hi guys, i try to get another rasp temp cpu (not where is hassio) and i try with this command in sensor.yaml:

- platform: command_line
name: "OdroidZM Temp"
command: 'ssh [email protected] cat /sys/class/thermal/thermal_zone0/temp'
unit_of_measurement: '°C'
value_template: '{{ value | multiply(0.001) | round(1)}}'

but i get this error:

Command failed: ssh ecc ecc.

where i do wrong?

i’ve set ssh key and if i try to write in hassio ssh and i get right information

thanks

You should try it in the homeassistant container.
From the hassio ssh, start a shell in HA container

docker exec -i -t homeassistant /bin/sh

Then run your command and see how it goes.

hi @VDRainer, sorry for my bad english but the output outside docker on hassio ssh is right , but if i launch on ha system it get error…