diff --git a/.gitignore b/.gitignore index 7bdca3d..27e011d 100644 --- a/.gitignore +++ b/.gitignore @@ -167,4 +167,5 @@ data/ state.json database.db -coordinator_backup.json \ No newline at end of file +coordinator_backup.json +secret.yaml diff --git a/zigbee2mqtt/configuration.yaml b/zigbee2mqtt/configuration.yaml index 0341b4a..07b913c 100644 --- a/zigbee2mqtt/configuration.yaml +++ b/zigbee2mqtt/configuration.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 \ No newline at end of file +advanced: + homeassistant_legacy_entity_attributes: false + legacy_api: false + legacy_availability_payload: false +device_options: + legacy: false