Hi
I have a question that instead of adding and configuring ZHA from home assistant UI can we preconfigure it in home assistant configuration.yaml file ? So that once home assistant comes up I do not have to add the ZHA integration manually and it shows up on the UI.
What I have tried till now is I have the below things in configuration.yaml:
zha:
usb_path: /dev/ttyUSB1
database_path: /app/zigbee.db
But when I run Home assistant, logs are displayed as below:
2021-05-06 10:14:06 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of zha-quirks==0.0.51
2021-05-06 10:14:15 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of zigpy-cc==0.5.2
2021-05-06 10:14:20 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of zigpy-deconz==0.11.1
2021-05-06 10:14:26 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of zigpy==0.29.0
2021-05-06 10:14:32 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of zigpy-xbee==0.13.0
2021-05-06 10:14:38 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of zigpy-zigate==0.7.3
2021-05-06 10:14:47 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of zigpy-znp==0.3.0
2021-05-06 10:15:03 WARNING (MainThread) [homeassistant.components.zha] The 'usb_path' option is deprecated, please remove it from your configuration
2021-05-06 10:15:03 INFO (MainThread) [homeassistant.setup] Setting up zha
2021-05-06 10:15:03 INFO (MainThread) [homeassistant.setup] Setup of domain zha took 0.0 seconds
It does install all the dependencies but it shows “usb_path” is deprecated. And I have not found what is the key name that I can use in yaml file.
So just wanted to know whether this can be done or not ? And if it can be done how can we do it ?