DiscoverAppliancesRequest failed
Traceback (most recent call last):
File "/var/task/haaska.py", line 136, in DiscoverAppliancesRequest
discover_appliances(self.ha)}
File "/var/task/haaska.py", line 340, in discover_appliances
is_exposed_entity(x)]
File "/var/task/haaska.py", line 323, in mk_appliance
o['friendlyName'] = x['attributes']['friendly_name']
KeyError: 'friendly_name'
My instance is running SSL and is using my domain with a CNAME pointing to an openDNS domain. My NAS re-ups the openDNS configuration if my IP changes.
make test from the command line also fails.
I can’t find anything similar to this output. Can someone help?
I modified the config to not expose by default and it’s fixed. Something not having a defined friendly name was tanking the whole thing. It works great now!
I have a similar issue to yours. I get that error when I’m testing the lambda function from aws. When I set expose by default to false, the error goes away, but does not discover any devices.
What did you need to do to selectively expose the entities ?
I have a customize.yaml to hide and expose from HomeKit currently
Hey guys,
I also have this exact issue, any info you can provide to solve this would be great.
Traceback (most recent call last):
File "/var/task/haaska.py", line 141, in DiscoverAppliancesRequest
discover_appliances(self.ha)}
File "/var/task/haaska.py", line 344, in discover_appliances
return [mk_appliance(x) for x in states if is_supported_entity(x) and
File "/var/task/haaska.py", line 345, in <listcomp>
is_exposed_entity(x)]
File "/var/task/haaska.py", line 328, in mk_appliance
o['friendlyName'] = x['attributes']['friendly_name']
KeyError: 'friendly_name'[DEBUG]