Skip to content

Commit

Permalink
Setup automation hallway (#415)
Browse files Browse the repository at this point in the history
* Setup automation hallway

* add another substitution for package

* remove unused automations

* upgrade variables hacs

* fix bug

* create door automation

* working starting automation

* first working version

* changes

* changes
  • Loading branch information
mvgijssel authored Aug 24, 2023
1 parent 584acab commit e5c3918
Show file tree
Hide file tree
Showing 22 changed files with 2,717 additions and 419 deletions.
3 changes: 1 addition & 2 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"files.associations": {
".bazelrc": "plaintext"
},
"editor.formatOnSave": true,
"prettier.prettierPath": "/opt/bin/prettier"
"editor.formatOnSave": true
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"search.exclude": {
"home-assistant/config/custom_components/**/*": true
},
"prettier.prettierPath": "/opt/bin/prettier",
"bazel.buildifierExecutable": "/opt/bin/buildifier"
"bazel.buildifierExecutable": "/opt/bin/buildifier",
"prettier.resolveGlobalModules": false
}
5 changes: 4 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ prettier_bin.prettier_binary(
task(
name = "prettier",
cmds = [
cmd.executable(":prettier_bin"),
cmd.shell(
cmd.executable(":prettier_bin"),
"$CLI_ARGS",
),
],
cwd = "{{ os.environ.get('BUILD_WORKING_DIRECTORY', os.getcwd()) }}",
env = {
Expand Down
Loading

0 comments on commit e5c3918

Please sign in to comment.