h4de5 / home-assistant-vimar

VIMAR by-me integration into home-assistant.io
GNU General Public License v3.0
42 stars 6 forks source link

entities offline after the update of by-me integration #49

Closed felisida closed 1 year ago

felisida commented 1 year ago

Hi Andy, this morning after doing the update from HACS of the By me integration, all entities are not available this is my installation running on proxmo Schermata 2022-07-29 alle 11 20 21 x

h4de5 commented 1 year ago

the latest update includes moving from the traditional configuration via config file, to the config flow using the integration page.

see if you can find it from there:

image image image image

the config flow also asks you if you want to rename your entities - keep those checkboxes off to keep your exsiting naming.

felisida commented 1 year ago

hi, I followed your instructions, but the results is the same all entities ar off-line, tried too to activate ssl, because my istance of ha work with ssl

melaqu commented 1 year ago

Same issue. I have a question: do I have to delete Vimar info in configuration.yaml?

felisida commented 1 year ago

I tried to delete info from configuration.yaml, but without success

davideciarmiello commented 1 year ago

Hi. @felisida can you check if you have a logs with errors? The config flow, completed with success? in page of integrations, on Vimar integration, are listed a devices?

h4de5 commented 1 year ago

it should not be necessary to remove the vimar entry from configuration.yaml - on the other hand it should be necessary to have it in the future.

some tests showed, that ab existing vimar connection was not reused - but instead a new one was created. This resulted in duplicated entities - you would see something like light.first_floor_bath_1 and light.first_floor_bath_1_2, one offline and one connected but not used in any dashboard.

to get around this, here is what I did:

i tried this a couple of times to make sure, that the entity_ids stays the same as they where before the upgrade to config flow. so any automations that are build based on those ids still work. But: If you follow this way, the entity name (friendly name) and manually selected icons will be reset to what Vimar returns.

felisida commented 1 year ago

Perfect now all is ok. thanks a lot