mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-16 11:14:44 +00:00
Added new sensor for hassbian vlc - used in Disney Automations
This commit is contained in:
@@ -3,4 +3,11 @@
|
|||||||
state_topic: "smartthings/Garage Motion/contact"
|
state_topic: "smartthings/Garage Motion/contact"
|
||||||
payload_on: "active"
|
payload_on: "active"
|
||||||
payload_off: "inactive"
|
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
|
Reference in New Issue
Block a user