ソースを参照

config template to jinja2

master
Dirk Alders 9ヶ月前
コミット
9c124d9665
1個のファイルの変更4行の追加4行の削除
  1. 4
    4
      config_example/config.j2

config_example/config.py → config_example/config.j2 ファイルの表示

@@ -8,10 +8,10 @@ from remotes import technics_eur642100 as cd_player
8 8
 
9 9
 __BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
10 10
 
11
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
12
-MQTT_USER = "<mqtt_smarthome_username>"
13
-MQTT_PASS = "<mqtt_smarthome_password>"
14
-MQTT_TOPIC = "<mqtt_remote_topic>"
11
+MQTT_SERVER = "{{ smart_sat_remotectrl_hostname }}"
12
+MQTT_USER = "{{ smart_sat_remotectrl_username }}"
13
+MQTT_PASS = "{{ smart_sat_remotectrl_password }}"
14
+MQTT_TOPIC = "{{ smart_sat_remotectrl_topic }}"
15 15
 
16 16
 SUPPORTED_REMOTES = {
17 17
     amplifier.NAME: amplifier.ALL,

読み込み中…
キャンセル
保存