Added new sensor for hassbian vlc - used in Disney Automations

This commit is contained in:
Jeffrey Stone 2019-10-13 16:00:46 -04:00
parent d38242770b
commit f9965e81d1
1 changed files with 8 additions and 1 deletions

View File

@ -3,4 +3,11 @@
state_topic: "smartthings/Garage Motion/contact"
payload_on: "active"
payload_off: "inactive"
device_class: motion
device_class: motion
- platform: command_line
name: vlc player
command: 'pidof vlc | wc -l'
payload_on: 1
payload_off: 0
scan_interval: 10