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