This file contains 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 - _TZ3000_mh9px7cq TS0041 Switch | |
description: Automate your Fuga TS0044 Wireless Switch using ZHA events. | |
domain: automation | |
input: | |
ts0044_switch: | |
name: _TZ3000_axpdxqgu TS0044 Switch | |
description: _TZ3000_mh9px7cq TS0044 Switch to use | |
selector: | |
device: |
This file contains 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 | |
SOURCE=/volume1 | |
DEST=/volume2 | |
APPDIR=\@appstore | |
ASK=true | |
while getopts ":y" opt; do | |
case $opt in |
This file contains 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
import HttpError from './HttpError'; | |
import { stringify } from 'query-string'; | |
export const fetchJson = (url, options = {}) => { | |
const requestHeaders = | |
options.headers || | |
new Headers({ | |
Accept: 'application/json', | |
}); |
This file contains 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
import { | |
GET_LIST, | |
GET_ONE, | |
GET_MANY, | |
GET_MANY_REFERENCE, | |
CREATE, | |
UPDATE, | |
DELETE, | |
} from 'admin-on-rest'; |