mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 11:56:50 +00:00
Add troubleshooting section to command_line (#36190)
This commit is contained in:
parent
7fa7b42e94
commit
ec199cd77b
@ -290,6 +290,22 @@ command_line:
|
||||
default: 30
|
||||
{% endconfiguration %}
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
As **Command line** {% term integration %} is a yaml only integration, turning on extended logging needs to be done by setting the logging information in your {% term "`configuration.yaml`" %} file.
|
||||
|
||||
Entering this example in your configuration sets the default logging to info, and for `command_line` to debug. Once done, restart Home Assistant to enable.
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
# Set logging
|
||||
logger:
|
||||
default: info
|
||||
logs:
|
||||
homeassistant.components.command_line: debug
|
||||
```
|
||||
{% endraw%}
|
||||
|
||||
{% note %}
|
||||
|
||||
While `command` is accepting a template for `sensor` and `binary_sensor`, it's only the arguments that can be a template. This means the command name itself cannot be generated by a template, but it must be literally provided.
|
||||
|
Loading…
x
Reference in New Issue
Block a user