Help with templating - executing ssh command


surely i am doing wrong but i’m stucled to what it is?
I want to run some ssh commands on remote machines (not able/want to install Glances or similar there).

Setup is:

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

  - platform: command_line
    name: "idefix_disk_boot"
    command: "ssh [email protected] df | grep boot | awk '{ print $5 }' "
    unit_of_measurement: "%"
    value_template: '{{ value }}'
    scan_interval: 300

The entities show up but no values. SSH is configured to work with pub/priv key pairs, tested on the command line.

Thanks for any hints!
/ Ralf

…of the machine running your Home Assistant instance ?

Yes, and this works.

Thinking if the problems occur because of the quatations?