using secrets

This commit is contained in:
root
2023-11-13 23:14:39 -06:00
parent a84fe45253
commit 1b38b83325
2 changed files with 11 additions and 22 deletions

1
.gitignore vendored
View File

@@ -168,3 +168,4 @@ data/
state.json
database.db
coordinator_backup.json
secret.yaml

View File

@@ -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