Add area permission check #21835
Allow checking entity permissions based on area IDs. Uses entity registry to find device, device registry to find area id.
Removed all the repeating code and made a small compile utility.
If the code does not interact with devices:
Mar 11, 2019
10 checks passed
Hound No violations found. Woof!
Python 3.5 - lints Python 3.5 - lintsDetails
Python 3.5 - tests Python 3.5 - testsDetails
Python 3.6 - tests Python 3.6 - testsDetails
Python 3.7 - tests Python 3.7 - testsDetails
Pyton 3.5 - typing Pyton 3.5 - typingDetails
cla-bot Everyone involved has signed the CLA
continuous-integration/travis-ci/pr The Travis CI build passedDetails
continuous-integration/travis-ci/push The Travis CI build passedDetails
coverage/coveralls Coverage increased (+0.007%) to 92.737%Details
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.