Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Skip entities which have no friendly_name and haaska_name properties#29

Open
sibbl wants to merge 1 commit intoauchter:masterfrom
sibbl:master
Open

Skip entities which have no friendly_name and haaska_name properties#29
sibbl wants to merge 1 commit intoauchter:masterfrom
sibbl:master

Conversation

@sibbl
Copy link

@sibbl sibbl commented Jan 15, 2017

I had the problem that initially no entities were found by Alexa and the following was logged: Discovery failed: 'friendly_name'. Turns out that I have an entity in my local setup where friendly_name is not set, for whatever reason.

This PR should skip such entities by simply filtering them. Of course, if theres a haaska_name` configured, it should work as this is being used when building the response object for Alexa.

@gabrielbratescu
Copy link

I have the same problem. Solved it another way, but this may be the better implementation.
+1 vote

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants