Adding quotes for the "login attempts" command (#4563)

In hass.io installation, the command value must be quoted.
This commit is contained in:
Wopalecki 2018-02-01 20:55:14 +01:00 committed by Fabian Affolter
parent 5ba8fa279f
commit c9d67e8cd9

View File

@ -81,7 +81,7 @@ If you'd like to know how many failed login attempts are made to Home Assistant,
sensor:
- platform: command_line
name: badlogin
command: grep -c 'Login attempt' /home/hass/.homeassistant/home-assistant.log
command: "grep -c 'Login attempt' /home/hass/.homeassistant/home-assistant.log"
```
Make sure to configure the [logger component](/components/logger) to monitor the [http component](https://home-assistant.io/components/http/) at least the `warning` level.