Closed alfonsomainardi closed 1 year ago
Logger: homeassistant.config_entries Source: custom_components/freeathome/fah/pfreeathome.py:712 Integration: Busch Jaeger/ABB Free@Home (documentation) First occurred: 19:07:07 (1 occurrences) Last logged: 19:07:07
Error setting up entry 192.168.1.102 for freeathome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/freeathome/init.py", line 77, in async_setup_entry await sysap.find_devices() File "/config/custom_components/freeathome/fah/pfreeathome.py", line 897, in find_devices await self.xmpp.find_devices(self._use_room_names) File "/config/custom_components/freeathome/fah/pfreeathome.py", line 712, in find_devices filter_mask = int(option.get('mask'), 16) # e.g. '00000001' -> 0x00000001 AttributeError: 'NoneType' object has no attribute 'get'
helpme!
Hello, there seems to be something wrong with a pushbutton/switch in your system. Can you make a dump of your devices as described in the 'Dumping free@home configuration' in the debugging section of the homepage?
I tried it doesn't come out in the services help me understand thank you very much
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/connection.py:150 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 16:55:27 (8 occurrences) Last logged: 18:11:44
[546953511120] Error handling message: Unable to find service freeathome.dump (unknown_error) from 2.118.160.158 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36) [546951725744] Error handling message: Unable to find service freeathome.dump (unknown_error) from 2.118.160.174 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2023-01-10 19:27:11.742 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration freeathome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-10 19:27:36.891 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.102 for freeathome
File "/config/custom_components/freeathome/init.py", line 77, in async_setup_entry
File "/config/custom_components/freeathome/fah/pfreeathome.py", line 897, in find_devices
File "/config/custom_components/freeathome/fah/pfreeathome.py", line 712, in find_devices
2023-01-10 19:27:50.585 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548019377712] Error handling message: Service freeathomedump
ok, the error starts in the source fah/pfreeathome.py at line 712. Can you add a new line in this source so that the code around line 712 looks like this:
option = channel_selector_parameter.find("./valueEnum/option[@key='{}']".format(parameter_value))
# Get filter mask from mask attribute
if option is not None:
filter_mask = int(option.get('mask'), 16) # e.g. '00000001' -> 0x00000001
to the original line 712 there are 4 spaces added.
thanks, can someone help me because I'm not so practical thanks to whoever will help me
mi restituisce questo errore
Errore Impossibile caricare il flusso di configurazione: {"message":"Invalid handler specified"}
I tried like you said it doesn't work! if you can help me, greetings.
Hello, i have edited your pull request. Can you try this new version?
ok
ho provato a sostituire ma nnt solito errore:
Errore Impossibile caricare il flusso di configurazione: {"message":"Invalid handler specified"}
Can you show the traceback of this error?
tt ok funziona! grazie mille
ok, good luck with your installation
MI escono questi errori:
[546782238784] Error handling message: Unable to find service freeathome.dump (unknown_error) from 2.118.160.158 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36) 15:08:43 – (ERRORE) Home Assistant WebSocket API websocket_api script: Error executing script. Service not found for call_service at pos 1: Unable to find service freeathome.dump 15:08:43 – (ERRORE) helpers/script.py Error setting up entry 192.168.1.102 for freeathome 15:03:59 – (ERRORE) Busch Jaeger/ABB Free@Home (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 14:51:48 e compare 3 volte Connection with SysAP lost 15:03:47 – (AVVISO) Busch Jaeger/ABB Free@Home (integrazione personalizzata) Unexpected exception 15:03:47 – (ERRORE) Busch Jaeger/ABB Free@Home (integrazione personalizzata)