* Allow checking entity permissions based on devices * Fix tests
* Add permission checks to Rest API * Clean up unnecessary method * Remove all the tuple stuff from entity check * Simplify perms * Correct param name for owner permission * Hass.io make/update user to be admin * Types
* Break up permissions file. * Granular entity permissions * Add "all" entity permission * Lint * Fix types