Commit 02d8f8a 1 parent 190829a commit 02d8f8a Copy full SHA for 02d8f8a
File tree 6 files changed +46
-3
lines changed
6 files changed +46
-3
lines changed Original file line number Diff line number Diff line change
1
+ * text =auto eol =lf
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ coverage.xml
18
18
.storage
19
19
automations.yaml
20
20
blueprints
21
- configuration.yaml
21
+ config /*
22
+ ! config /configuration.yaml
22
23
deps
23
24
home-assistant_v2 *
24
25
home-assistant.log *
Original file line number Diff line number Diff line change
1
+ # https://www.home-assistant.io/integrations/default_config/
2
+ default_config :
3
+
4
+ # https://www.home-assistant.io/integrations/homeassistant/
5
+ homeassistant :
6
+ debug : true
7
+
8
+ # https://www.home-assistant.io/integrations/logger/
9
+ logger :
10
+ default : info
11
+ logs :
12
+ custom_components.amshan : debug
13
+
14
+ debugpy :
15
+ start : true
16
+ wait : true
Original file line number Diff line number Diff line change
1
+ # Loads default set of integrations. Do not remove.
2
+ default_config :
3
+
4
+ # Load frontend themes from the themes folder
5
+ frontend :
6
+ themes : !include_dir_merge_named themes
7
+
8
+ automation : !include automations.yaml
9
+ script : !include scripts.yaml
10
+ scene : !include scenes.yaml
11
+
12
+ homeassistant :
13
+ debug : true
Original file line number Diff line number Diff line change 1
- pip >= 21.0 , < 23 .1
1
+ pip >= 21.3 .1
2
2
colorlog
3
3
homeassistant
Original file line number Diff line number Diff line change 4
4
5
5
cd " $( dirname " $0 " ) /.."
6
6
7
+ # Create config dir if not present
8
+ if [[ ! -d " ${PWD} /config" ]]; then
9
+ mkdir -p " ${PWD} /config"
10
+ hass --config " ${PWD} /config" --script ensure_config
11
+ fi
12
+
13
+ # Set the path to custom_components
14
+ # # This let's us have the structure we want <root>/custom_components/amshan
15
+ # # while at the same time have Home Assistant configuration inside <root>/config
16
+ # # without resulting to symlinks.
17
+ export PYTHONPATH=" ${PYTHONPATH} :${PWD} /custom_components"
18
+
7
19
# Start Home Assistant
8
- hass -c . --debug
20
+ hass --config " ${PWD} /config " --debug
You can’t perform that action at this time.
0 commit comments