Alok Saboo
|
834d1e1bfb
|
Added scan_interval defaults (#2898)
|
2017-06-28 15:03:36 -05:00 |
|
Fabian Affolter
|
c87e55eec1
|
Update link (#2722)
|
2017-05-28 19:39:40 +02:00 |
|
Fabian Affolter
|
f3cebc2526
|
Add link to ping sensor
|
2017-05-28 19:31:17 +02:00 |
|
Adam Mills
|
b83f3855ee
|
Rename sensor_class to device_class
|
2017-02-10 19:10:24 -05:00 |
|
Michaël Arnauts
|
7fa6801094
|
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-12-03 13:56:11 +01:00 |
|
Fabian Affolter
|
de7c1d5ac9
|
Minimizing of the configuration sample (#1008)
|
2016-09-30 20:48:56 +02:00 |
|
Fabian Affolter
|
f6524bbc52
|
Add IoT class
|
2016-09-01 17:20:19 +02:00 |
|
Fabian Affolter
|
b72a905c97
|
Add sensor_class
|
2016-05-05 10:00:44 +02:00 |
|
Fabian Affolter
|
d8681f5333
|
Add HA release
|
2016-04-30 16:39:56 +02:00 |
|
Paulus Schoutsen
|
6dc004875c
|
Move templates to new topics section
|
2016-03-12 16:03:57 -08:00 |
|
Fabian Affolter
|
44fee36ab0
|
Add another ping example
|
2016-03-04 13:29:48 +01:00 |
|
Paulus Schoutsen
|
05f2ad1f5b
|
Release 0.14 blogpost
|
2016-02-27 16:30:16 -08:00 |
|