No description
Find a file
Michaël Arnauts d33fbaef7d Fix binary_sensor.command_line example (#1501)
The example to check if an IP is alive didn't work. It seems that the `&> /dev/null` redirector didn't work. `> /dev/null 2>&1` works fine however.

This can be verified with the following config:
```yaml
- platform: command_line
  name: "testtrue1"
  command: "true &> /dev/null && echo success || echo fail"
  scan_interval: 5
  payload_on: "success"
  payload_off: "fail"

- platform: command_line
  name: "testfalse1"
  command: "false &> /dev/null && echo success || echo fail"
  scan_interval: 5
  payload_on: "success"
  payload_off: "fail"

- platform: command_line
  name: "testtrue2"
  command: "true > /dev/null 2>&1 && echo success || echo fail"
  scan_interval: 5
  payload_on: "success"
  payload_off: "fail"

- platform: command_line
  name: "testfalse2"
  command: "false > /dev/null 2>&1 && echo success || echo fail"
  scan_interval: 5
  payload_on: "success"
  payload_off: "fail"
```

Also a `-W 1` lowers the timeout to one second.
2016-11-28 21:42:24 +01:00
.github Use same style for template as in ha 2016-10-15 13:22:54 +02:00
.themes/classic Remove broken oscailte submodule 2015-07-14 18:49:32 -07:00
_deploy@69146ecaf4 Update github edit link 2016-08-21 18:09:35 -07:00
plugins Update getting started 2016-04-16 17:10:09 -07:00
sass Group components by version released 2016-10-24 02:33:26 -07:00
source Fix binary_sensor.command_line example (#1501) 2016-11-28 21:42:24 +01:00
.editorconfig
.gitattributes Added .gitattributes file to keep CRLF's out of the codebase. 2013-03-06 01:29:40 +01:00
.gitignore Remove Gemfile.lock from gitignore 2015-10-27 23:51:26 -07:00
.gitmodules Update deploy to point at master 2016-08-21 16:52:23 -07:00
.powrc Adding .powrc to allow RVM to work when POW is updated to version 0.4.0 and beyond. 2012-06-08 13:58:52 -05:00
.ruby-version Upgrade ruby/jekyll/style 2016-08-22 01:01:17 -07:00
.slugignore
.travis.yml Update script 2016-08-22 01:13:26 -07:00
_config.yml Release 0.33.4 2016-11-24 15:54:03 -08:00
config.rb Fix http generated images path when using Compass sprites 2013-07-13 23:22:29 +12:00
config.ru More fixes 2015-10-27 00:53:57 -07:00
Gemfile Upgrade ruby/jekyll/style 2016-08-22 01:01:17 -07:00
Gemfile.lock Upgrade ruby/jekyll/style 2016-08-22 01:01:17 -07:00
Rakefile Update deploy branch 2016-08-21 16:55:10 -07:00
README.markdown Merge remote-tracking branch 'origin/current' into next 2016-11-04 23:24:11 -07:00

Home Assistant website

This is the source for the Home-Assistant.io website.

Setup

Setting up to contribute to documentation and the process for submitting pull requests is explained here.

Site preview

In order to make the preview available on http://127.0.0.1:4000, use the command as follows:

$ rake preview