mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update with comments from @Bart274
This commit is contained in:
parent
6b0cbae7e1
commit
52b601ec20
@ -46,10 +46,10 @@ Check the state of an [SickRage](https://github.com/sickragetv/sickrage) instanc
|
||||
# Example configuration.yaml entry
|
||||
binary_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'
|
||||
payload_on: "1"
|
||||
payload_of: "0"
|
||||
payload_on: "Running"
|
||||
payload_off: "Not running"
|
||||
```
|
||||
|
||||
### {% linkable_title Check RasPlex %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user