Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106533

Shell command fails to parse when colon is part of the command

$
0
0

Consider the following shell_command:

shell_command:
  toggle_adguard_protection: curl -H "Authorization: Basic {{auth}}" -d "{'protection_enabled': {{enable_protection}}}" "http://{{ip_address}}:{{port}}/control/dns_config

However, the configuration validation fails on the colon after the Authorization part.
Any idea how to work around this?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>