21 Commits

Author SHA1 Message Date
emontnemery
62b6ba872b Update binary_sensor.command_line.markdown (#8119)
* Update binary_sensor.command_line.markdown

* Update source/_components/binary_sensor.command_line.markdown

Co-Authored-By: emontnemery <erik@montnemery.com>

* Update binary_sensor.command_line.markdown
2019-01-21 23:24:35 +01:00
Jorim Tielemans
5c852edbde More various improvements - letter b (#6990)
* More various fixed - letter b

Adds titles (and make other linkable)
Improved indentation
Reorder configuration keys
Remove empty lines and trailing spaces

* No idea why this happened

* String can't start with *
2018-10-21 17:05:53 +02:00
Klaas Schoute
c34762430e Update Command Line binary sensor component configuration variable (#6597)
Update style of Command Line binary sensor component documentation to follow new configuration variables description.
Related to #6385.
2018-10-08 20:09:01 +02:00
Jorim Tielemans
5465025df8 real life -> real-life (#6384) 2018-09-30 17:03:09 +02:00
Fabian Affolter
dcd46c2d86
Update category (#6182) 2018-09-03 12:20:17 +02:00
lich
c759cfd7a5 Customizable command timeout (#5782)
* Customizable command timeout

* update the binary_sensor.command_line
2018-07-17 22:59:39 +02:00
Patrik Hermansson
377a69dcf6 Update binary_sensor.command_line.markdown (#5669)
* Update binary_sensor.command_line.markdown

Added example for system services.

* Update style
2018-07-07 22:59:25 +02:00
Alok Saboo
1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00
Florian Klien
dd51ad0df5 fixed double 'the' (#3447)
* fixed double 'the'

mostly 's/the the /the /', little style changes where 'is' or 'to' was missing

* removed duplicate words

removed duplicate words like 'to to', 'you you' or 'account account' etc.

a batch of pizza-toasts burnt for this.
2017-09-26 20:30:04 +02:00
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