* Make async_get_conditions return type hint more specific * Exclude script/scaffold/templates/ from pre-commit mypy
* Add device condition support to sensor entities * Fix typing