This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: ZHA Events - IKEA Styrbar 4 Button Remote - Multipress | |
description: | |
This automation enables the user to do single/double/triple/quadruple/quintuple presses with an Ikea STYRBAR | |
four buttons remote | |
domain: automation | |
input: | |
remote: | |
name: IKEA Styrbar remote control 4 buttons | |
description: Pick the remote you want to bind to the automation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
# List of bridges to create space delimited | |
bridges="sw-r0-eth0 sw-r0-eth1 sw-r0-eth2 sw-r0-eth3" | |
# Veths peirs to create with the following format, space delimited | |
# <veth dev 1>[|options]:<veth dev 1>[|options] | |
# where options are a comma delimited key=values pair | |
# options: master=<master bridge> or dhcp |