mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Adding quotes for the "login attempts" command (#4563)
In hass.io installation, the command value must be quoted.
This commit is contained in:
parent
5ba8fa279f
commit
c9d67e8cd9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user