using secrets
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -168,3 +168,4 @@ data/
|
||||
state.json
|
||||
database.db
|
||||
coordinator_backup.json
|
||||
secret.yaml
|
||||
|
||||
@@ -1,28 +1,16 @@
|
||||
# Home Assistant integration (MQTT discovery)
|
||||
homeassistant: true
|
||||
|
||||
# allow new devices to join
|
||||
permit_join: true
|
||||
|
||||
# MQTT settings
|
||||
mqtt:
|
||||
# MQTT base topic for zigbee2mqtt MQTT messages
|
||||
base_topic: zigbee2mqtt
|
||||
# MQTT server URL
|
||||
server: 'mqtt://mqtt.localdomain:1883'
|
||||
# MQTT server authentication, uncomment if required:
|
||||
user: homeassistant
|
||||
password: my-password
|
||||
|
||||
# Serial settings
|
||||
server: '!secret.yaml server'
|
||||
user: '!secret.yaml user'
|
||||
password: '!secret.yaml password'
|
||||
serial:
|
||||
# Location of CC2531 USB sniffer
|
||||
port: /dev/ttyUSB0
|
||||
adapter: ezsp
|
||||
|
||||
# socat:
|
||||
# enabled: false
|
||||
# master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
|
||||
# slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
|
||||
# options: "-d -d"
|
||||
# log: false
|
||||
advanced:
|
||||
homeassistant_legacy_entity_attributes: false
|
||||
legacy_api: false
|
||||
legacy_availability_payload: false
|
||||
device_options:
|
||||
legacy: false
|
||||
|
||||
Reference in New Issue
Block a user