Files
hassio-repository/coffee_maker/run.sh
Pascal Vizeli c9129f8f5e Create run.sh
2017-05-04 08:43:42 +02:00

9 lines
151 B
Bash

#!/bin/bash
sed -e
CONFIG_PATH=/data/options.json
DEVICE=$(jq --raw-output ".device" $CONFIG_PATH)
echo "We can now make coffee on device: $DEVICE"