No description
![]() 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. |
||
---|---|---|
.github | ||
.themes/classic | ||
_deploy@69146ecaf4 | ||
plugins | ||
sass | ||
source | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.powrc | ||
.ruby-version | ||
.slugignore | ||
.travis.yml | ||
_config.yml | ||
config.rb | ||
config.ru | ||
Gemfile | ||
Gemfile.lock | ||
Rakefile | ||
README.markdown |
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