LavermanJJ / home-assistant-solarfocus

🏡 Solarfocus eco manager touch integration for Home Assistant
Apache License 2.0
14 stars 4 forks source link

Boiler option not working #40

Closed DominikGus closed 1 year ago

DominikGus commented 1 year ago

Had a previous installation but the upgrade to v3.0.0-beta2 failed.

So I tried a fresh installation of v3.0.0-beta2 but that is only working if I choose "heatpump vampair". If I try to use the option "Biomass boiler therminator II touch" I get the error: "Unexpected error" (yes, I tried the correct IP and not just the hostname)

image

LavermanJJ commented 1 year ago

Thanks for reporting. I'll look into it.

LavermanJJ commented 1 year ago

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht Logger: custom_components.solarfocus.config_flow Source: custom_components/solarfocus/config_flow.py:161 Integration: Solarfocus (documentation, issues) First occurred: 10:32:25 (1 occurrences) Last logged: 10:32:25


Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/solarfocus/config_flow.py", line 207, in async_step_user
await validate_input(self.hass, user_input)
File "/config/custom_components/solarfocus/config_flow.py", line 174, in validate_input
client = Solarfocus(hass, data=data)
File "/config/custom_components/solarfocus/config_flow.py", line 161, in __init__
self.api = SolarfocusAPI(
File "/usr/local/lib/python3.10/site-packages/pysolarfocus/__init__.py", line 71, in __init__
self.buffers = self.__factory.buffer(system,buffer_count,api_version)
File "/usr/local/lib/python3.10/site-packages/pysolarfocus/component_factory.py", line 52, in buffer
buffer = TherminatorBuffer(input)._initialize(self.__modbus_connector)
File "/usr/local/lib/python3.10/site-packages/pysolarfocus/components/buffer.py", line 25, in __init__
super().__init__(address=address)
TypeError: Buffer.__init__() got an unexpected keyword argument 'address'
LavermanJJ commented 1 year ago

@DominikGus I've published a new beta version.

DominikGus commented 1 year ago

Working like a charm! Thank you!