* Allow integrations to provide dynamic schema validation in device conditions and actions * Add tests * re-add type * mypy