Hi,
Have an Generic x86-64 HomeAssistant (HA) Operating System which I am able to run a bin file (with json output) from CLI correct… i.e:
[~]$ /usr/bin/speedtest.bin --f json-pretty --accept-license
but when attempting to launch same bin file from the configuration.yaml, it returns the below error on HA Log File:
Command failed: /usr/bin/speedtest.bin --f json-pretty --accept-license
Below sample excerpt from configuration.yaml (check configuration is valid on HA) but am unsure if I am missing a step:
— configuration.yaml —
sensor:
- platform: command_line
name: Speedtestdotnet-download
command: ‘/usr/bin/speedtest.bin --f json-pretty --accept-license’
value_template: “{{ value_json.download[‘bandwidth’] }}”
command_timeout: 30
scan_interval: 1800
Is there anything I am doing incorrectly?