ProudElm / solaredgeoptimizers

Intergration to get optimizers information from the SolarEdge portal
42 stars 12 forks source link

Error in log - this will fail in version 2023.3 #34

Closed godfreym29 closed 1 year ago

godfreym29 commented 1 year ago

Logger: homeassistant.helpers.frame Source: helpers/frame.py:77 First occurred: 15:46:23 (1 occurrences) Last logged: 15:46:23

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for solaredgeoptimizers using this method at custom_components/solaredgeoptimizers/init.py, line 40: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

godfreym29 commented 1 year ago

Also getting this error

Logger: homeassistant.components.sensor Source: components/sensor/init.py:503 Integration: Sensor (documentation, issues) First occurred: 15:46:30 (42 occurrences) Last logged: 15:47:01

Entity sensor.last_measurement_1_18_1 (<class 'custom_components.solaredgeoptimizers.sensor.SolarEdgeOptimizersSensor'>) is using state class 'measurement' which is impossible considering device class ('date') it is using; expected None; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. Entity sensor.lifetime_energy_1_19_1 (<class 'custom_components.solaredgeoptimizers.sensor.SolarEdgeOptimizersSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. Entity sensor.last_measurement_1_19_1 (<class 'custom_components.solaredgeoptimizers.sensor.SolarEdgeOptimizersSensor'>) is using state class 'measurement' which is impossible considering device class ('date') it is using; expected None; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. Entity sensor.lifetime_energy_1_20_1 (<class 'custom_components.solaredgeoptimizers.sensor.SolarEdgeOptimizersSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. Entity sensor.last_measurement_1_20_1 (<class 'custom_components.solaredgeoptimizers.sensor.SolarEdgeOptimizersSensor'>) is using state class 'measurement' which is impossible considering device class ('date') it is using; expected None; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

ProudElm commented 1 year ago

Thank you. I thought i fixed the issue regarding platforms.. I will take a look.

About the date sensor.. I could not get it to work 'normal'. Hence i choose to use None as a device class... Dit you install it as 'new' since 1.2.1? Or dit you upgrade from an older version?

willem-ebbers commented 1 year ago

I noticed the same message the other day. But when I updated through HACS using the "main" branch the issue was solved. Could it be that version 1.2.1 does not have the same update as "main"?

godfreym29 commented 1 year ago

I installed it last night using HACS, so it should be the latest version. In HACS it says v1.2.1

Regards Godfrey

From: ProudElm @.> Sent: 27 February 2023 17:35 To: ProudElm/solaredgeoptimizers @.> Cc: Godfrey Moorhead @.>; Author @.> Subject: Re: [ProudElm/solaredgeoptimizers] Error in log - this will fail in version 2023.3 (Issue #34)

Thank you. I thought i fixed the issue regarding platforms.. I will take a look.

About the date sensor.. I could not get it to work 'normal'. Hence i choose to use None as a device class... Dit you install it as 'new' since 1.2.1? Or dit you upgrade from an older version?

— Reply to this email directly, view it on GitHubhttps://github.com/ProudElm/solaredgeoptimizers/issues/34#issuecomment-1446754438, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASV3BV5PGJVWX3JZLDDSUN3WZTQVTANCNFSM6AAAAAAVJUHT2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>


Moorhead Consulting Ltd is a company registered in England and Wales. Company number: 3641057. Place of Registration: 8 Station Road, Settle, North Yorkshire, BD24 9AA. VAT number: 708 4169 30

This email contains confidential information and is for the exclusive use of the intended recipient. Any form of distribution, copying or use of the information contained in the email is strictly prohibited and may be unlawful. If the message is received by anyone other than the intended recipient, please return the message to the sender by replying to it and then delete the message from your computer.

ProudElm commented 1 year ago

could be.. i'll try to fix it tonight..

godfreym29 commented 1 year ago

Thanks

From: ProudElm @.> Sent: 27 February 2023 17:39 To: ProudElm/solaredgeoptimizers @.> Cc: Godfrey Moorhead @.>; Author @.> Subject: Re: [ProudElm/solaredgeoptimizers] Error in log - this will fail in version 2023.3 (Issue #34)

could be.. i'll try to fix it tonight..

— Reply to this email directly, view it on GitHubhttps://github.com/ProudElm/solaredgeoptimizers/issues/34#issuecomment-1446759940, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASV3BV5ARUJ2MEYHIKV3GGLWZTREHANCNFSM6AAAAAAVJUHT2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>


Moorhead Consulting Ltd is a company registered in England and Wales. Company number: 3641057. Place of Registration: 8 Station Road, Settle, North Yorkshire, BD24 9AA. VAT number: 708 4169 30

This email contains confidential information and is for the exclusive use of the intended recipient. Any form of distribution, copying or use of the information contained in the email is strictly prohibited and may be unlawful. If the message is received by anyone other than the intended recipient, please return the message to the sender by replying to it and then delete the message from your computer.

ProudElm commented 1 year ago

My bad.. i forgot i fixed it but did nog release it yet... It is fixed with version v1.2.2 :)

godfreym29 commented 1 year ago

OK, thanks

Regards Godfrey

From: ProudElm @.> Sent: 27 February 2023 17:46 To: ProudElm/solaredgeoptimizers @.> Cc: Godfrey Moorhead @.>; Author @.> Subject: Re: [ProudElm/solaredgeoptimizers] Error in log - this will fail in version 2023.3 (Issue #34)

My bad.. i forgot i fixed it but did nog release it yet... It is fixed with version v1.2.2 :)

— Reply to this email directly, view it on GitHubhttps://github.com/ProudElm/solaredgeoptimizers/issues/34#issuecomment-1446769104, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASV3BV6EQRKDBS32YEOJNHTWZTR5DANCNFSM6AAAAAAVJUHT2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>


Moorhead Consulting Ltd is a company registered in England and Wales. Company number: 3641057. Place of Registration: 8 Station Road, Settle, North Yorkshire, BD24 9AA. VAT number: 708 4169 30

This email contains confidential information and is for the exclusive use of the intended recipient. Any form of distribution, copying or use of the information contained in the email is strictly prohibited and may be unlawful. If the message is received by anyone other than the intended recipient, please return the message to the sender by replying to it and then delete the message from your computer.