-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose entities for Google/Alexa #680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
.eslintrc:
.eslintrc: Configuration for rule "import/extensions" is invalid: Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"always"').Error: .eslintrc:
at validateRuleOptions (/app/node_modules/eslint/lib/config/config-validator.js:113:15)
at Object.keys.forEach.id (/app/node_modules/eslint/lib/config/config-validator.js:153:9)
at Array.forEach ()
at validateRules (/app/node_modules/eslint/lib/config/config-validator.js:152:30)
at Object.validate (/app/node_modules/eslint/lib/config/config-validator.js:230:5)
at loadFromDisk (/app/node_modules/eslint/lib/config/config-file.js:549:19)
at Object.load (/app/node_modules/eslint/lib/config/config-file.js:592:20)
at Config.getLocalConfigHierarchy (/app/node_modules/eslint/lib/config.js:226:44)
at Config.getConfigHierarchy (/app/node_modules/eslint/lib/config.js:180:43)
at Config.getConfigVector (/app/node_modules/eslint/lib/config.js:285:21)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files could not be reviewed due to errors:
.eslintrc:
.eslintrc: Configuration for rule "import/extensions" is invalid: Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"always"').Error: .eslintrc:
at validateRuleOptions (/app/node_modules/eslint/lib/config/config-validator.js:113:15)
at Object.keys.forEach.id (/app/node_modules/eslint/lib/config/config-validator.js:153:9)
at Array.forEach ()
at validateRules (/app/node_modules/eslint/lib/config/config-validator.js:152:30)
at Object.validate (/app/node_modules/eslint/lib/config/config-validator.js:230:5)
at loadFromDisk (/app/node_modules/eslint/lib/config/config-file.js:549:19)
at Object.load (/app/node_modules/eslint/lib/config/config-file.js:592:20)
at Config.getLocalConfigHierarchy (/app/node_modules/eslint/lib/config.js:226:44)
at Config.getConfigHierarchy (/app/node_modules/eslint/lib/config.js:180:43)
at Config.getConfigVector (/app/node_modules/eslint/lib/config.js:285:21)
@@ -0,0 +1,88 @@ | |||
import entityFilter from '../../../js/common/util/entity_filter'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing file extension for "../../../js/common/util/entity_filter" import/extensions
I think each new function should have at least one (non test) use |
Is the lint change specific for hound or is it relevant for local eslint too? |
dfe22dc
to
4eaba14
Compare
2afd23e
to
d6587cf
Compare
extracted eslint stuff. |
I assume this is no longer relevant? |
It is relevant but need to build UI that uses it. It is for Alexa and Google Assistant to decide what to expose. |
d6587cf
to
f149f93
Compare
1907d28
to
a0611c2
Compare
6cfd142
to
95eb6db
Compare
Blocked by converting tests to TS first. |
ddda31a
to
93a6994
Compare
dcb1c02
to
960ef88
Compare
This ports the entity filter function from Home Assistant from Python to JavaScript. We will be able to use this function to power a user interface for exposing entities for Google Assistant, Emulated Hue, Alexa (as per #679)
Implemented function on the cloud dashboard.
Requires: home-assistant/core#18216