Browse Source

config template to jinja2

master
Dirk Alders 9 months ago
parent
commit
14a17c9527
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      bt-audioparser/config_example/config.j2

bt-audioparser/config_example/config.py → bt-audioparser/config_example/config.j2 View File

@@ -3,10 +3,10 @@
3 3
 import os
4 4
 import report
5 5
 
6
-MQTT_USER = "<mqtt_smarthome_username>"
7
-MQTT_PASS = "<mqtt_smarthome_password>"
8
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
9
-MQTT_TOPIC = "<mqtt_bt_audio_topic>"
6
+MQTT_USER = "{{ audio_bt_username }}"
7
+MQTT_PASS = "{{ audio_bt_password }}"
8
+MQTT_SERVER = "{{ audio_bt_hostname }}"
9
+MQTT_TOPIC = "{{ audio_bt_topic }}"
10 10
 
11 11
 #
12 12
 # Logging

Loading…
Cancel
Save