auchter / haaska

Home Assistant Alexa Skill Adapter
261 stars 60 forks source link

No devices discovered #80

Closed radinsky closed 6 years ago

radinsky commented 6 years ago

Hey,

followed the installation guide both with video from Bruh.

I setup a skill and linked the account correct, but no devices could be discovered. When running a test:

  "header": {
    "payloadVersion": "1",
    "namespace": "Control",
    "name": "DiscoverAppliancesRequest"
  },
  "payload": {
    "accessToken": "whatever"
  }
}

I'm getting:

Traceback (most recent call last):
  File "/var/task/haaska.py", line 660, in event_handler
    ha, payload)
  File "/var/task/haaska.py", line 289, in invoke
    obj = make_class(allowed)(namespace, name, ha, context)
AttributeError: type object 'allowed' has no attribute 'Control'

What could be wrong?

radinsky commented 6 years ago

Changed the lambda to US East (N. Virginia) and all devices found correctly and everything works ok (despite that i still getting errors on lambda test)