jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

Problems with integration FreeatHome in Homeassistant #92

Closed Rafael8681 closed 3 years ago

Rafael8681 commented 3 years ago

Hi, It tried to implement Freut Home in Homassistant. I have Version 2.6.1 on my SAP. I got following logs

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 248, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File "/config/custom_components/freeathome/init.py", line 75, in async_setup_entry await sysap.find_devices() File "/config/custom_components/freeathome/fah/pfreeathome.py", line 886, in find_devices await self.xmpp.find_devices(self._use_room_names) File "/config/custom_components/freeathome/fah/pfreeathome.py", line 776, in find_devices self.add_device(fah_class, channel, channel_id, display_name + position_suffix + room_suffix, device_info, device_serialnumber, datapoints=datapoints, parameters = parameters) File "/config/custom_components/freeathome/fah/pfreeathome.py", line 564, in add_device device = fah_class( TypeError: init() got an unexpected keyword argument 'parameters'

I could integrate Free at Home but there are no devices shown.

Bildschirmfoto 2021-03-15 um 09 30 35

Thanks for your Help

Rafael8681 commented 3 years ago

An i could also not use the dump function.

Tho85 commented 3 years ago

@Rafael8681 Oops, sorry, looks like the last update broke the component startup for sensors. I've fixed it in #93 . Until it is merged, feel free to use the fixed version from my repository.

Rafael8681 commented 3 years ago

@Tho85 Thanks,not it works. Perfect Help.