Update with comments from @Bart274

This commit is contained in:
Fabian Affolter 2016-01-19 10:11:03 +01:00
parent 6b0cbae7e1
commit 52b601ec20

View File

@ -46,10 +46,10 @@ Check the state of an [SickRage](https://github.com/sickragetv/sickrage) instanc
# Example configuration.yaml entry # Example configuration.yaml entry
binary_sensor: binary_sensor:
platform: command_sensor platform: command_sensor
command: netstat -na | find "33322" | find /c "LISTENING" > nul && (Echo 1 ) || (Echo 0) command: netstat -na | find "33322" | find /c "LISTENING" > nul && (echo "Running") || (echo "Not running")
name: 'sickragerunning' name: 'sickragerunning'
payload_on: "1" payload_on: "Running"
payload_of: "0" payload_off: "Not running"
``` ```
### {% linkable_title Check RasPlex %} ### {% linkable_title Check RasPlex %}