tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
353 stars 60 forks source link

How to update integration on existing entities? #13

Closed moehringn closed 1 year ago

moehringn commented 1 year ago

Hi there,

I installed integration with v0.5.0 and everything ist working fine. Yesterday I updated to 0.7.1, but the new entities from version 0.6.0 (typec1Watts, usb1Watts, etc.) are not showing up.

My update process is as follows:

  1. HACS > integrations > EcoFlow Cloud
  2. 3-dot menu at the top right > redownload
  3. select version to install > Download
  4. restart Home Assistant

Home Assistant (and core) are on the latest version. I have two Delta 2, one with the addition battery. Do I have to remove the devices and add them again?

I'm currently loading 2 smartphones on USB and TypeC ports as I thought the properties might have to change to be send via mqtt, but the entities are still not showing up.

Thank you for your advice.

Best regards Norbert

tolwi commented 1 year ago

3-dot menu at the top right > redownload try "Update Information" instead - Home Assistant will notify you if there is a new version available to install

raphaelsavina commented 1 year ago

Same here with v0.7.2, tried redownload, Update Information and also remove/restart HA/re-install and didn't give me all the new entities. Any cache to be renoved?

raphaelsavina commented 1 year ago

Fixed that by deleted the old folder /ecoflow_cloud in /custom_components (look at manifest.json to see which one is the old one).

moehringn commented 1 year ago

Ok, so after @raphaelsavina hint, I checked the file system. There was one (old) folder with a dash ecoflow-cloud and one with underscore ecoflow_cloud. The one with the dash had version 0.4.x, but after deleting it, HA gave me errors that the integration could not be loaded. I uninstalled both now. Install does now work vial HACS Explore and Download repositories (don't have to manually add a custom repo anymore). I'm on v0.8.0 and will test the update functionality with the upcoming version.

moehringn commented 1 year ago

Worked with the last updates.