mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +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
|
# 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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user