mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
13 lines
336 B
Bash
13 lines
336 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
|
|
# wait for scrutiny to load
|
|
bashio::net.wait_for 8080
|
|
|
|
#####################
|
|
# ADD LOCAL DEVICES #
|
|
#####################
|
|
|
|
# search for local devices
|
|
scrutiny-collector-metrics run >/dev/null && bashio::log.info "Local Devices Added" || bashio::log.error "Local Devices Not Added"
|