ElD4n1 / home-assistant-renogy-rover-integration

Integrates Renogy Rover Solar Charge Controllers connected via USB/UART into Home Assistant
MIT License
2 stars 1 forks source link

failed to setup #5

Open Nitro8385 opened 2 weeks ago

Nitro8385 commented 2 weeks ago

Here a copy of my error log

2024-09-02 09:56:18.065 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Renogy Rover for renogy_rover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/renogy_rover/init.py", line 34, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'? 2024-09-02 09:57:56.288 DEBUG (SyncWorker_6) [custom_components.renogy_rover.config_flow] COM port option: /dev/ttyUSB0 2024-09-02 11:45:27.520 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Renogy Rover for renogy_rover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/renogy_rover/init.py", line 34, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'? 2024-09-02 11:45:50.890 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Renogy Rover for renogy_rover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/renogy_rover/init.py", line 34, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'? 2024-09-02 11:57:00.941 DEBUG (SyncWorker_6) [custom_components.renogy_rover.config_flow] COM port option: /dev/ttyUSB0 2024-09-02 11:57:06.855 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Intitialising com port=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_B003BFLR-if00-port0 2024-09-02 11:57:06.857 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 1: connection established 2024-09-02 11:57:07.362 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 1: no answer 2024-09-02 11:57:07.364 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 2: connection established 2024-09-02 11:57:07.870 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 2: no answer 2024-09-02 11:57:07.870 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 3: connection established 2024-09-02 11:57:08.375 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 3: no answer 2024-09-02 11:57:08.376 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 4: connection established 2024-09-02 11:57:08.880 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 4: no answer 2024-09-02 11:57:08.881 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 5: connection established 2024-09-02 11:57:09.386 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 5: no answer 2024-09-02 11:57:09.388 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 6: connection established 2024-09-02 11:57:09.895 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 6: no answer 2024-09-02 11:57:09.896 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 7: connection established 2024-09-02 11:57:10.400 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 7: no answer 2024-09-02 11:57:10.401 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 8: connection established 2024-09-02 11:57:10.906 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 8: no answer 2024-09-02 11:57:10.906 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 9: connection established 2024-09-02 11:57:11.411 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 9: no answer 2024-09-02 11:57:11.411 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 10: connection established 2024-09-02 11:57:11.916 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 10: no answer 2024-09-02 11:57:11.918 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 11: connection established 2024-09-02 11:57:12.426 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 11: no answer 2024-09-02 11:57:12.428 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 12: connection established 2024-09-02 11:57:12.940 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 12: no answer 2024-09-02 11:57:12.942 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 13: connection established 2024-09-02 11:57:13.450 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 13: no answer 2024-09-02 11:57:13.452 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 14: connection established 2024-09-02 11:57:13.960 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 14: no answer 2024-09-02 11:57:13.962 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 15: connection established 2024-09-02 11:57:14.471 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 15: no answer 2024-09-02 11:57:14.472 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 16: connection established 2024-09-02 11:57:14.644 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Returning device info={'device_address': 16, 'serial_number': '46151961', 'sw_version': 'V3.0.1', 'hw_version': 'V0.0.2', 'model': ' RNG-CTRL-RVR20'} 2024-09-02 11:57:14.653 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Intitialising com port=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_B003BFLR-if00-port0 2024-09-02 11:57:14.655 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Scanned address 16: connection established 2024-09-02 11:57:14.820 DEBUG (SyncWorker_0) [custom_components.renogy_rover.config_flow] Returning device info={'device_address': 16, 'serial_number': '46151961', 'sw_version': 'V3.0.1', 'hw_version': 'V0.0.2', 'model': ' RNG-CTRL-RVR20'} 2024-09-02 11:57:14.826 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Renogy Rover for renogy_rover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/renogy_rover/init.py", line 34, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'? 2024-09-02 11:57:20.643 DEBUG (SyncWorker_16) [custom_components.renogy_rover.config_flow] COM port option: /dev/ttyUSB0

I am getting this error I Am new to home assistant maybe I need to setup something else in the configuration?