sudo apt update && sudo apt upgrade and sudo reboot to get the latest and greatest of the software.
After that the Pi must be configured to boot into CLI-mode and log in.
| #!/bin/bash | |
| # curl -o- -L https://gist.githubusercontent.com/bdraco/43f8043cb04b9838383fd71353e99b18/raw/core_integration_pr | bash /dev/stdin -d domain -p 12345 | |
| while getopts d:p: flag | |
| do | |
| case "${flag}" in | |
| d) domain="${OPTARG}";; | |
| p) pull_request="${OPTARG}";; | |
| esac | |
| done |
| - id: washingmachine_washing | |
| alias: Tvättmaskinen - tvättar | |
| trigger: | |
| - above: 100 | |
| entity_id: sensor.tvattmaskinen_power | |
| for: 00:00:10 | |
| platform: numeric_state | |
| action: | |
| - service: input_select.select_option | |
| data: |