so i got new notification that i needed to switch to the new command_line: way i modded my stuff but its wont work
the error code i get is
Platform error device_tracker.bluetooth_tracker - Requirements for bluetooth_tracker not found: ['pybluez==0.22'].
Invalid config for [command_line]: [host] is an invalid option for [command_line]. Check: command_line->command_line->6->binary_sensor->host. (See /config/configuration.yaml, line 16).
my configuration.yaml is
command_line: !include /config/yamls/command_line.yaml
my command_line.yaml is
- binary_sensor:
name: Mitchflix Server
command: "ping -W 1 -c 1 192.168.1.9 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Mitchs Server
command: "ping -W 1 -c 1 192.168.1.8 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Mitchs Router
command: "ping -W 1 -c 1 192.168.1.1 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Main Server
command: "ping -W 1 -c 1 192.168.0.3 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Backup Server
command: "ping -W 1 -c 1 192.168.0.4 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Router
command: "ping -W 1 -c 1 192.168.0.1 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
# Cell Phone Detection
#- platform: ping
- binary_sensor:
name: Mikes Cell Phone
host: 192.168.0.40
scan_interval: 1
count: 1
#- platform: command_line
- binary_sensor:
name: Mitchs Cell Phone
command: "ping -W 1 -c 1 192.168.0.41 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Building Network Switch 1
command: "ping -W 1 -c 1 192.168.0.5 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"
#- platform: command_line
- binary_sensor:
name: Building Network Switch 2
command: "ping -W 1 -c 1 192.168.0.6 > /dev/null 2>&1 && echo Up || echo Down"
device_class: connectivity
payload_on: "Up"
payload_off: "Down"