Closed ggajoch closed 5 months ago
This PR changes type of
extra_attributes
to tuple to give it proper value in dataclass. With that change integration starts at my installation successfully.
Hi, thank you for your quick fix.
I can confirm it works like a charm but the new firmware is set as unavail
.
Can confirm that this restores functionality (I don't use the update entity)
I have the same problem and downgraded to HA 2023-12. Do we get a new beta version? I have installed 2023-11-30 beta.
@ggajoch Man, you are a genius. Works excellent. Thank you.
Oh please approve this PR. My statistics and control are not working for days. Hopefully we get a new version within the next days from @BenPru 🤗
just change the 3 files in the folder for the meantime :P Thanks for the fix btw !
Hey, I just edited the 3 files, restarted HA, I get the an unknown error when trying to add the integration. I fill in the correct IP address and port...
Any idea? thanks in advance
Hey, I just edited the 3 files, restarted HA, I get the an unknown error when trying to add the integration. I fill in the correct IP address and port...
Any idea? thanks in advance
Same here. Integration does not start
Had the same problem, restarting Home Assistant helped me.
Had the same problem, restarting Home Assistant helped me.
Okey, I´ve copied the 3 entire files and now it works again. Thanks for the fix!!!
@ggajoch works fine, thanks for this quick fix
fix of 3 files worked for me... (https://github.com/BenPru/luxtronik/pull/227/commits/da92c67de66d84ab9291899c4fcbb51ef5fc9683)
when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code)
Thanks @ggajoch
I have changed all 3 files, even copied them 1:1, but I get the following error in the logs:
> Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
>
> Logger: custom_components.luxtronik2
> Source: custom_components/luxtronik2/config_flow.py:223
> Integration: Luxtronik
> First occurred: 14:36:50 (6 occurrences)
> Last logged: 15:09:31
>
> Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8889, 'timeout': 60, 'max_data_length': 10000}
> Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8888, 'timeout': 60, 'max_data_length': 10000}
> Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8889, 'timeout': 120, 'max_data_length': 10000}
> Traceback (most recent call last):
> File "/config/custom_components/luxtronik2/config_flow.py", line 223, in async_step_options
> await self.async_set_unique_id(coordinator.unique_id)
> File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1624, in async_set_unique_id
> raise data_entry_flow.AbortFlow("already_in_progress")
> homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_in_progress
fix of 3 files worked for me... (da92c67)
when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code)
Thanks @ggajoch
Cannot even find the 3 files or the Files Look different. Is luxtronik2 Integration not similiar?
fix of 3 files worked for me... (da92c67) when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code) Thanks @ggajoch
Cannot even find the 3 files or the Files Look different. Is luxtronik2 Integration not similiar?
I'm using version 2023.11.30-Beta. if you click on the link you can see in the header the file names: custom_components/luxtronik/model.py custom_components/luxtronik/number_entities_predefined.py custom_components/luxtronik/sensor_entities_predefined.py
which you can find here:
I have changed all 3 files, even copied them 1:1, but I get the following error in the logs:
> Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht > > Logger: custom_components.luxtronik2 > Source: custom_components/luxtronik2/config_flow.py:223 > Integration: Luxtronik > First occurred: 14:36:50 (6 occurrences) > Last logged: 15:09:31 > > Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8889, 'timeout': 60, 'max_data_length': 10000} > Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8888, 'timeout': 60, 'max_data_length': 10000} > Could not handle config_flow.async_step_options {'host': '192.168.2.88', 'port': 8889, 'timeout': 120, 'max_data_length': 10000} > Traceback (most recent call last): > File "/config/custom_components/luxtronik2/config_flow.py", line 223, in async_step_options > await self.async_set_unique_id(coordinator.unique_id) > File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1624, in async_set_unique_id > raise data_entry_flow.AbortFlow("already_in_progress") > homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_in_progress
seems like that you added more then one Heat pump ? share all the same IP and different ports / timeouts? => just guessing by the logfile
ok, my error quoted earlier is clear now: the integration was already configured but ignored thus the error message.
So it's running for me now! a big thank you @ggajoch
Thanks for the PR. LGTM
fix of 3 files worked for me... (da92c67) when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code) Thanks @ggajoch
Cannot even find the 3 files or the Files Look different. Is luxtronik2 Integration not similiar?
I'm using version 2023.11.30-Beta. if you click on the link you can see in the header the file names: custom_components/luxtronik/model.py custom_components/luxtronik/number_entities_predefined.py custom_components/luxtronik/sensor_entities_predefined.py
which you can find here:
Model.py seems really short in my HA (V2024.1.2) Do not have the other two files.
I guess i use the one from bouni? Might be a difference . Where can I see which one I have?
Sorry for bothering again...
fix of 3 files worked for me... (da92c67) when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code) Thanks @ggajoch
Cannot even find the 3 files or the Files Look different. Is luxtronik2 Integration not similiar?
I'm using version 2023.11.30-Beta. if you click on the link you can see in the header the file names: custom_components/luxtronik/model.py custom_components/luxtronik/number_entities_predefined.py custom_components/luxtronik/sensor_entities_predefined.py which you can find here:
Model.py seems really short in my HA (V2024.1.2) Do not have the other two files.
I guess i use the one from bouni? Might be a difference . Where can I see which one I have?
Sorry for bothering again...
go to HACS click the integration
in the top you see the creator:
fix of 3 files worked for me... (da92c67) when integration fails please double check if you replace [ with an ( and not () (which I oversaw the first time , auto complete of VS code) Thanks @ggajoch
Cannot even find the 3 files or the Files Look different. Is luxtronik2 Integration not similiar?
I'm using version 2023.11.30-Beta. if you click on the link you can see in the header the file names: custom_components/luxtronik/model.py custom_components/luxtronik/number_entities_predefined.py custom_components/luxtronik/sensor_entities_predefined.py which you can find here:
Model.py seems really short in my HA (V2024.1.2) Do not have the other two files. I guess i use the one from bouni? Might be a difference . Where can I see which one I have? Sorry for bothering again...
go to HACS click the integration
in the top you see the creator:
Its getting worse
Please use a forum or issue, no PR.
Hi! After update to home assistant core 2024.1 luxtronik integration does not start properly:
I've tracked it down to the
extra_attributes
being set by thedefault_factory
, which is not a value.This PR changes type of
extra_attributes
to tuple to give it proper value in dataclass. With that change integration starts at my installation successfully.All the best!