Mas2112 / solarwatt-energymanager-homeassistant

A SOLARWATT EnergyManager Home Assistant custom component.
MIT License
17 stars 3 forks source link

Issue after update #11

Closed Makana80 closed 1 year ago

Makana80 commented 1 year ago

Hi after Updaet to 0.5.0 i get the following error and no Sensors are loaded.

Logger: homeassistant.config_entries Source: custom_components/solarwatt_energymanager/init.py:19 Integration: SOLARWATT EnergyManager (documentation, issues) First occurred: 09:17:58 (1 occurrences) Last logged: 09:17:58

Error setting up entry EnergyManager ERC05-000005115 for solarwatt_energymanager Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/solarwatt_energymanager/init.py", line 19, in async_setup_entry poll_interval = int(entry.data[POLL_INTERVAL]) KeyError: 'poll_interval'

Mas2112 commented 1 year ago

Hi, can you try removing the energy manager device and adding it again? The problem is that in the new version, it's expecting a new parameter.

On Wed, Nov 23, 2022, 09:29 Makana80 @.***> wrote:

Hi after Updaet to 0.5.0 i get the following error and no Sensors are loaded.

Logger: homeassistant.config_entries Source: custom_components/solarwatt_energymanager/init.py:19 Integration: SOLARWATT EnergyManager (documentation, issues) First occurred: 09:17:58 (1 occurrences) Last logged: 09:17:58

Error setting up entry EnergyManager ERC05-000005115 for solarwatt_energymanager Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/solarwatt_energymanager/init.py", line 19, in async_setup_entry poll_interval = int(entry.data[POLL_INTERVAL]) KeyError: 'poll_interval'

— Reply to this email directly, view it on GitHub https://github.com/Mas2112/solarwatt-energymanager-homeassistant/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJLA5GE2WHE5NX55AEEK3WJXIYDANCNFSM6AAAAAASIV5TOE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

uenglert1 commented 1 year ago

Hi Getting the following error when adding the integration

Bildschirm­foto 2022-12-08 um 11 00 19
Mas2112 commented 1 year ago

Hi. Do you see anything in the home assistant log file?

On Thu, Dec 8, 2022, 11:04 uenglert1 @.***> wrote:

Hi Getting the following error when adding the integration [image: Bildschirm­foto 2022-12-08 um 11 00 19] https://user-images.githubusercontent.com/115889916/206418480-9802d98e-7c21-4741-bcba-8802c2a7e452.png

— Reply to this email directly, view it on GitHub https://github.com/Mas2112/solarwatt-energymanager-homeassistant/issues/11#issuecomment-1342419509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJLA4ULJOZ5632IUG5SWTWMGXCVANCNFSM6AAAAAASIV5TOE . You are receiving this because you commented.Message ID: @.*** .com>

uenglert1 commented 1 year ago

Nein, zeigt nichts in der log.file an. Ich möchte mich mit Solarwatt-Energymanager flex verbinden. Ist das möglich? PS. Entschuldigung für mein schlechtes Englisch, es ist nur übersetzt

Mas2112 commented 1 year ago

Energy Manager Flex ist leider nicht von dieser Integration unterstützt. Auf dem Flex ist ein komplett anderes Betriebssystem.

On Fri, Dec 9, 2022, 11:17 uenglert1 @.***> wrote:

Nein, zeigt nichts in der log.file an. Ich möchte mich mit Solarwatt-Energymanager flex verbinden. Ist das möglich? PS. Entschuldigung für mein schlechtes Englisch, es ist nur übersetzt

— Reply to this email directly, view it on GitHub https://github.com/Mas2112/solarwatt-energymanager-homeassistant/issues/11#issuecomment-1344116341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJLA6LCE3DZLXKGYWUZXTWMMBK5ANCNFSM6AAAAAASIV5TOE . You are receiving this because you commented.Message ID: @.*** .com>

uenglert1 commented 1 year ago

Vielen DankAm 09.12.2022 um 20:28 schrieb Mas2112 @.***>: Energy Manager Flex ist leider nicht von dieser Integration unterstützt. Auf dem Flex ist ein komplett anderes Betriebssystem.

On Fri, Dec 9, 2022, 11:17 uenglert1 @.***> wrote:

Nein, zeigt nichts in der log.file an. Ich möchte mich mit Solarwatt-Energymanager flex verbinden. Ist das möglich? PS. Entschuldigung für mein schlechtes Englisch, es ist nur übersetzt

— Reply to this email directly, view it on GitHub https://github.com/Mas2112/solarwatt-energymanager-homeassistant/issues/11#issuecomment-1344116341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJLA6LCE3DZLXKGYWUZXTWMMBK5ANCNFSM6AAAAAASIV5TOE . You are receiving this because you commented.Message ID: @.*** .com>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>