pax_global_header00006660000000000000000000000064151165116030014511gustar00rootroot0000000000000052 comment=10e3acc3488f6030848c69c975cdb850d889c5d8 Ludy87-pyecotrend-ista-10e3acc/000077500000000000000000000000001511651160300163765ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/.gitattributes000066400000000000000000000002561511651160300212740ustar00rootroot00000000000000# Auto detect text files and perform LF normalization * text eol=lf *.py whitespace=error *.ico binary *.jpg binary *.png binary *.zip binary *.mp3 binary *.pcm binary Ludy87-pyecotrend-ista-10e3acc/.github/000077500000000000000000000000001511651160300177365ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/.github/actions/000077500000000000000000000000001511651160300213765ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/.github/actions/get_version.py000066400000000000000000000023271511651160300243000ustar00rootroot00000000000000""" Script to read and print the version of the `pyecotrend_ista` package. The version information is stored in the `__version__.py` module within the `pyecotrend_ista` package. This script dynamically imports the module and prints the version. Functions --------- main() Reads and prints the version of `pyecotrend_ista`. Examples -------- To use this script, run it from the command line: $ python get_version.py This will output the version of the `pyecotrend_ista` package. """ import importlib.util import sys def main(): """ Read and print the version of pyecotrend_ista. This function dynamically imports the `__version__.py` module from the `pyecotrend_ista` package and prints the version defined in that module. Returns ------- int The return code. Returns 0 upon successful completion. Examples -------- >>> main() 3.5.0 0 """ spec = importlib.util.spec_from_file_location("pyecotrend_ista.__version__", "./src/pyecotrend_ista/__version.py") version_module = importlib.util.module_from_spec(spec) spec.loader.exec_module(version_module) print(version_module.__version__) return 0 if __name__ == "__main__": sys.exit(main()) Ludy87-pyecotrend-ista-10e3acc/.github/dependabot.yml000066400000000000000000000005561511651160300225740ustar00rootroot00000000000000version: 2 updates: - package-ecosystem: "github-actions" directory: "/" schedule: interval: daily time: "22:30" timezone: "Europe/Berlin" open-pull-requests-limit: 50 - package-ecosystem: pip directory: / schedule: interval: daily time: "22:30" timezone: "Europe/Berlin" open-pull-requests-limit: 50 Ludy87-pyecotrend-ista-10e3acc/.github/labels.yml000066400000000000000000000024371511651160300217310ustar00rootroot00000000000000--- # Labels names are important as they are used by Release Drafter to decide # regarding where to record them in changelog or if to skip them. # # The repository labels will be automatically configured using this file and # the GitHub Action https://github.com/marketplace/actions/github-labeler. - name: "Bug: Confirmed!" description: Something isn't working color: d73a4a - name: "Bug: False Alarm" description: no Bug - False Alarm color: 80006C - name: check for Bug description: it is checked whether there is an Bug color: 1AFF00 - name: documentation description: Improvements or additions to documentation color: 0075ca - name: duplicate description: This issue or pull request already exists color: cfd3d7 - name: feature request description: Request a new PyEcoTrend-ista feature color: a2eeef - name: help wanted description: Extra attention is needed color: 008672 - name: invalid description: This doesn't seem right color: e4e669 - name: performance description: Performance color: "016175" - name: question description: Further information is requested color: d876e3 - name: "Bug: Fix!" description: Fix Bug color: d73a4a - name: "wait" description: in examination color: 12CE3B - name: "Beta" description: Beta Version Release color: d73a4a Ludy87-pyecotrend-ista-10e3acc/.github/release.yml000066400000000000000000000000711511651160300220770ustar00rootroot00000000000000changelog: exclude: labels: - github_actions Ludy87-pyecotrend-ista-10e3acc/.github/workflows/000077500000000000000000000000001511651160300217735ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/.github/workflows/a_pre_commit.yml000066400000000000000000000033461511651160300251620ustar00rootroot00000000000000name: Pre-commit on: pull_request_target: types: - closed push: branches: [main] permissions: contents: read jobs: update: if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Checkout repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: persist-credentials: false - name: Set up Python uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: | 3.13 - name: Install Dependencies run: | pip install pre-commit pre-commit install - name: Pre-commit and auto commit run: | pre-commit run --all-files -c .pre-commit-config.yaml --show-diff-on-failure || true - name: Create Pull Request uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11 with: token: ${{ secrets.TOKEN }} commit-message: Update files committer: GitHub Action author: GitHub Action signoff: true branch: pre-commit # base: main title: "🔨 Update files by " body: | Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request labels: | wait in progress bot draft: false delete-branch: true Ludy87-pyecotrend-ista-10e3acc/.github/workflows/codeql-analysis.yml000066400000000000000000000055471511651160300256210ustar00rootroot00000000000000# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # name: "CodeQL" on: push: branches: [main] pull_request: # The branches below must be a subset of the branches above branches: [main] schedule: - cron: "31 12 * * 0" permissions: actions: read contents: read jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: security-events: write strategy: fail-fast: false matrix: language: ["python"] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Checkout repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v3.29.5 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v3.29.5 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines # and modify them (or add more) to build your code if your project # uses a compiled language #- run: | # make bootstrap # make release - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v3.29.5 with: category: "/language:${{matrix.language}}" Ludy87-pyecotrend-ista-10e3acc/.github/workflows/dependency-review.yml000066400000000000000000000017121511651160300261340ustar00rootroot00000000000000# Dependency Review Action # # This Action will scan dependency manifest files that change as part of a Pull Request, # surfacing known-vulnerable versions of the packages declared or updated in the PR. # Once installed, if the workflow run is marked as required, # PRs introducing known-vulnerable packages will be blocked from merging. # # Source repository: https://github.com/actions/dependency-review-action name: "Dependency Review" on: [pull_request] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: "Checkout Repository" uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: "Dependency Review" uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2 Ludy87-pyecotrend-ista-10e3acc/.github/workflows/documentation.yml000066400000000000000000000023101511651160300253630ustar00rootroot00000000000000name: documentation on: pull_request: branches: ["main"] push: branches: ["main"] workflow_dispatch: permissions: contents: read jobs: ############################ # BUILDING THE DOCUMENTATION ############################ build: runs-on: ubuntu-latest permissions: contents: write steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Cloning repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: fetch-depth: 0 - name: Configuring Python uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: "3.13" - name: Installing pip packages run: | pip install .[doc] - name: Build documentation if: github.event_name == 'pull_request' run: | tox -e documentation - name: Publish documentation if: github.event_name == 'push' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | mkdocs gh-deploy --force Ludy87-pyecotrend-ista-10e3acc/.github/workflows/labeler.yml000066400000000000000000000013121511651160300241210ustar00rootroot00000000000000name: Manage labels on: schedule: - cron: "31 12 * * 0" permissions: contents: read jobs: labeler: name: Labeler runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Check out the repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Run Labeler uses: crazy-max/ghaction-github-labeler@24d110aa46a59976b8a7f35518cb7f14f434c916 # v5.3.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} yaml-file: .github/labels.yml skip-delete: true Ludy87-pyecotrend-ista-10e3acc/.github/workflows/pytest.yml000066400000000000000000000022331511651160300240460ustar00rootroot00000000000000name: Test on: push: branches: [main] # paths-ignore: # - ".github/**" pull_request: branches: [main] permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: python_version: ["3.11", "3.12", "3.13", "3.14"] steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Set up Python uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install .[test] - name: Run tests with tox run: tox -e py${{ matrix.python_version }} - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 with: token: ${{ secrets.CODECOV_TOKEN }} slug: Ludy87/pyecotrend-ista fail_ci_if_error: false verbose: true Ludy87-pyecotrend-ista-10e3acc/.github/workflows/pythonpublish.yml000066400000000000000000000137571511651160300254430ustar00rootroot00000000000000name: Upload Python Package Pypi on: release: types: [created] push: branches: [main] permissions: contents: read jobs: deploy: runs-on: ubuntu-latest permissions: id-token: write contents: write steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Checkout repository uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: ref: main - name: Set up Python uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: "3.13" check-latest: true - name: Install dependencies shell: bash run: | set -euo pipefail pip install .[publish] - name: Get Version id: version shell: bash run: | set -euo pipefail version="$(python3 ./.github/actions/get_version.py)" echo "version=$version" >> "$GITHUB_OUTPUT" - name: Is Tag exists id: checkTag uses: actions/github-script@v8.0.0 # v8.0.0 with: script: | try { await github.rest.repos.getReleaseByTag({ owner: context.repo.owner, repo: context.repo.repo, tag: `${{ steps.version.outputs.version }}` }); core.setOutput("exists","true"); } catch (e) { // 404 = Release nicht gefunden, alles andere weiterwerfen core.setOutput("exists", e.status === 404 ? "false" : "error"); } - if: steps.checkTag.outputs.exists == 'false' name: Check Tag id: check-tag shell: bash run: | set -euo pipefail if [[ "${{ steps.version.outputs.version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echo "match=true" >> "$GITHUB_OUTPUT" fi - name: ZIP Component Dir if: steps.check-tag.outputs.match == 'true' shell: bash run: | set -euo pipefail cd "${{ github.workspace }}/src/pyecotrend_ista" zip -r pyecotrend_ista.zip ./ - name: Import GPG key (no PII) if: steps.check-tag.outputs.match == 'true' shell: bash env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} run: | set -euo pipefail mkdir -p ~/.gnupg chmod 700 ~/.gnupg printf 'allow-loopback-pinentry\n' > ~/.gnupg/gpg-agent.conf printf 'pinentry-mode loopback\n' > ~/.gnupg/gpg.conf gpg --batch --quiet --import <<< "$GPG_PRIVATE_KEY" - name: Debug Passphrase if: steps.check-tag.outputs.match == 'true' shell: bash env: PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} run: | set -euo pipefail if [ -z "$PASSPHRASE" ]; then echo "Passphrase is empty!" exit 1 else echo "Passphrase is set." fi - name: Sign ZIP file if: steps.check-tag.outputs.match == 'true' shell: bash env: PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} run: | set -euo pipefail gpg --detach-sign --batch --yes --pinentry-mode loopback --passphrase "$PASSPHRASE" -a "${{ github.workspace }}/src/pyecotrend_ista/pyecotrend_ista.zip" - name: Create Release if: steps.check-tag.outputs.match == 'true' uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2 with: tag_name: ${{ steps.version.outputs.version }} name: v${{ steps.version.outputs.version }} draft: false prerelease: false token: ${{ secrets.GITHUB_TOKEN }} generate_release_notes: true - name: Upload zip to release if: steps.check-tag.outputs.match == 'true' uses: svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ github.workspace }}/src/pyecotrend_ista/pyecotrend_ista.zip asset_name: pyecotrend_ista.zip tag: ${{ steps.version.outputs.version }} overwrite: true - name: Upload zip signature to release if: steps.check-tag.outputs.match == 'true' uses: svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ github.workspace }}/src/pyecotrend_ista/pyecotrend_ista.zip.asc asset_name: pyecotrend_ista.zip.asc tag: ${{ steps.version.outputs.version }} overwrite: true # - name: Build and publish package to TestPyPI # # if: steps.check-tag.outputs.match == 'true' # env: # TWINE_USERNAME: __token__ # TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} # run: tox -e test-publish -- --non-interactive # - name: Build and publish package to PyPI # # if: steps.check-tag.outputs.match == 'true' # env: # TWINE_USERNAME: __token__ # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} # run: tox -e publish - name: Build package shell: bash run: | set -euo pipefail pip install build python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 with: skip-existing: true # - name: Publish package to TestPyPI # uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 # with: # user: __token__ # password: ${{ secrets.TEST_PYPI_TOKEN }} # repository-url: https://test.pypi.org/legacy/ # skip-existing: true # attestations: false Ludy87-pyecotrend-ista-10e3acc/.github/workflows/review-request.yml000066400000000000000000000056431511651160300255150ustar00rootroot00000000000000name: Request Reviewers on: pull_request_target: types: [opened, synchronize] permissions: contents: read jobs: request-reviewers: runs-on: ubuntu-latest permissions: pull-requests: read issues: write steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: Checkout code uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: fetch-depth: 20 # Ensure the last 20 commits are fetched to allow a proper diff - name: Parse CODEOWNERS and request reviews id: codeowners run: | echo "Parsing CODEOWNERS file..." # Path to the CODEOWNERS file CODEOWNERS_FILE=CODEOWNERS # Changed files in the Pull Request CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }}) REVIEWERS="" # Parse the CODEOWNERS file while IFS= read -r line; do # Ignore lines with comments or empty lines [[ "$line" =~ ^#.*$ || -z "$line" ]] && continue # Extract pattern and users PATTERN=$(echo $line | awk '{print $1}') USERS=$(echo $line | awk '{$1=""; print $0}' | tr ' ' ',') # Check if changed files match the current pattern for FILE in $CHANGED_FILES; do if [[ "$FILE" == $PATTERN* ]]; then if [[ -z "$REVIEWERS" ]]; then REVIEWERS="$USERS" else REVIEWERS="$REVIEWERS,$USERS" fi fi done done < $CODEOWNERS_FILE # Remove duplicate reviewers and leading/trailing commas REVIEWERS=$(echo $REVIEWERS | tr ',' '\n' | sort | uniq | tr '\n' ',' | sed 's/^,*//;s/,*$//') echo "Reviewers to be requested: $REVIEWERS" echo "reviewers=$REVIEWERS" >> $GITHUB_OUTPUT - name: Comment with Review Request uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: script: | const reviewers = "${{ steps.codeowners.outputs.reviewers }}".split(','); const { owner, repo } = context.repo; const prNumber = context.payload.pull_request.number; const prCreator = context.payload.pull_request.user.login; for (const reviewer of reviewers) { if (reviewer.trim().startsWith('@') && reviewer.trim() !== `@${prCreator}`) { await github.rest.issues.createComment({ owner, repo, issue_number: prNumber, body: `${reviewer.trim()}, could you please review this change?` }); } } Ludy87-pyecotrend-ista-10e3acc/.github/workflows/scorecard.yml000066400000000000000000000063301511651160300244650ustar00rootroot00000000000000# This workflow uses actions that are not certified by GitHub. They are provided # by a third-party and are governed by separate terms of service, privacy # policy, and support documentation. name: Scorecard supply-chain security on: # For Branch-Protection check. Only the default branch is supported. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection branch_protection_rule: # To guarantee Maintained check is occasionally updated. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: "42 4 * * 4" push: branches: ["main"] # Declare default permissions as read only. permissions: read-all jobs: analysis: name: Scorecard analysis runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. security-events: write # Needed to publish results and get a badge (see publish_results below). id-token: write # Uncomment the permissions below if installing in a private repository. # contents: read # actions: read steps: - name: Harden Runner uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 with: egress-policy: audit - name: "Checkout code" uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: persist-credentials: false - name: "Run analysis" uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 with: results_file: results.sarif results_format: sarif # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: # - you want to enable the Branch-Protection check on a *public* repository, or # - you are installing Scorecard on a *private* repository # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional. # repo_token: ${{ secrets.SCORECARD_TOKEN }} # Public repositories: # - Publish results to OpenSSF REST API for easy access by consumers # - Allows the repository to include the Scorecard badge. # - See https://github.com/ossf/scorecard-action#publishing-results. # For private repositories: # - `publish_results` will always be set to `false`, regardless # of the value entered here. publish_results: true # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: name: SARIF file path: results.sarif retention-days: 5 # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" uses: github/codeql-action/upload-sarif@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v3.29.5 with: sarif_file: results.sarif Ludy87-pyecotrend-ista-10e3acc/.gitignore000066400000000000000000000037201511651160300203700ustar00rootroot00000000000000# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ test*.* test/ # unignore unittests and related data files !tests/*.py !tests/*/*.ambr !tests/*/*.json # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 db.sqlite3-journal # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don't work, or not # install all needed dependencies. #Pipfile.lock # PEP 582; used by e.g. github.com/David-OConnor/pyflow __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Environments .env .venv* .vscode env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # Database *.db # Documents *.pdf # Dev tools *.lock *.toml *nl* *.pem legende.* *.asc Ludy87-pyecotrend-ista-10e3acc/.pre-commit-config.yaml000066400000000000000000000071371511651160300226670ustar00rootroot00000000000000ci: autofix_commit_msg: | [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci autofix_prs: true autoupdate_branch: "" autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" autoupdate_schedule: weekly skip: [] submodules: false repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.8 hooks: - id: ruff exclude: ^(.github|.*object.*\.py$) args: - --fix - --line-length=127 - repo: https://github.com/PyCQA/autoflake rev: v2.3.1 hooks: - id: autoflake args: - "--in-place" - "--remove-duplicate-keys" - "--remove-unused-variables" - "--remove-all-unused-imports" - repo: https://github.com/codespell-project/codespell rev: v2.4.1 hooks: - id: codespell args: - --ignore-words-list= - --skip="./.*,*.csv,*.json,*.ambr" - --quiet-level=2 exclude_types: [csv, json] exclude: tests/__snapshots__/ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-ast - id: check-yaml exclude: mkdocs\.yml - id: check-json exclude: (.vscode|.devcontainer) - id: check-added-large-files args: [--maxkb=800] - id: debug-statements - id: detect-aws-credentials args: [--allow-missing-credentials] - id: detect-private-key - id: end-of-file-fixer exclude_types: [json] exclude: (CODEOWNERS)$ - id: mixed-line-ending args: [--fix=lf] exclude_types: [png, yaml] exclude: (\.md|\.yml|\.jpg|\.png|\.ambr|CODEOWNERS)$ - id: trailing-whitespace exclude_types: [json] - id: pretty-format-json args: [--autofix, --no-ensure-ascii] exclude: ^src/(.*url|.+ua)\.json$ - id: check-executables-have-shebangs stages: [manual] - id: check-case-conflict - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.1.0 hooks: - id: prettier exclude_types: [json] exclude: \.md$ - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks rev: v2.15.0 hooks: - id: pretty-format-toml args: [--autofix] - repo: https://github.com/numpy/numpydoc rev: v1.10.0 hooks: - id: numpydoc-validation files: ^(src)/.+\.py$ exclude: | (?x)( tests/| docs/ ) - repo: https://github.com/cdce8p/python-typing-update rev: v0.8.1 hooks: # Run `python-typing-update` hook manually from time to time # to update python typing syntax. # Will require manual work, before submitting changes! # pre-commit run --hook-stage manual python-typing-update --all-files - id: python-typing-update stages: [manual] args: - --py311-plus - --force - --keep-updates files: ^(src|tests)/.+\.py$ additional_dependencies: - black==25.12.0 - repo: https://github.com/asottile/pyupgrade rev: v3.21.2 hooks: - id: pyupgrade args: [--py311-plus] exclude: ^.*object.*\.py$ - repo: https://github.com/gitleaks/gitleaks rev: v8.30.0 hooks: - id: gitleaks - repo: https://github.com/pylint-dev/pylint rev: v4.0.4 hooks: - id: pylint additional_dependencies: - requests - urllib3 - dataclasses-json - pytest - requests-mock - syrupy - types-requests Ludy87-pyecotrend-ista-10e3acc/.travis.yml000066400000000000000000000000441511651160300205050ustar00rootroot00000000000000language: python python: - "3.11" Ludy87-pyecotrend-ista-10e3acc/CODEOWNERS000066400000000000000000000003541511651160300177730ustar00rootroot00000000000000# Global owner for all files * @Ludy87 # Owner for specific directories and files /src/ @tr4nt0r /tests/ @tr4nt0r requirements_test.txt @tr4nt0r requirements.txt @tr4nt0rLudy87-pyecotrend-ista-10e3acc/FUNDING.yml000066400000000000000000000016251511651160300202170ustar00rootroot00000000000000# These are supported funding model platforms github: Ludy87 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry custom: [ "https://paypal.me/astragermany", "https://smile.amazon.de/registry/wishlist/2MX8QK8VE9MV1", ] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] Ludy87-pyecotrend-ista-10e3acc/LICENSE000066400000000000000000000020451511651160300174040ustar00rootroot00000000000000MIT License Copyright (c) 2022 Ludy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Ludy87-pyecotrend-ista-10e3acc/README.md000066400000000000000000000035311511651160300176570ustar00rootroot00000000000000# PyEcoTrend-ista [![PyPI version](https://badge.fury.io/py/pyecotrend-ista.svg)](https://badge.fury.io/py/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista)](https://pepy.tech/project/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista/month)](https://pepy.tech/project/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista/week)](https://pepy.tech/project/pyecotrend-ista) [![GitHub issues](https://img.shields.io/github/issues/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista/issues) [![GitHub forks](https://img.shields.io/github/forks/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista) [![GitHub stars](https://img.shields.io/github/stars/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista) [![GitHub license](https://img.shields.io/github/license/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista/blob/main/LICENSE) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge&logo=code%20style-black)](https://github.com/psf/black) ![GitHub Release Date](https://img.shields.io/github/release-date/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github) [![codecov](https://codecov.io/github/Ludy87/pyecotrend-ista/branch/main/graph/badge.svg?token=BHU8J3OVRT)](https://codecov.io/github/Ludy87/pyecotrend-ista) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9868/badge)](https://www.bestpractices.dev/projects/9868) [✨ Wishlist from Amazon ✨](https://smile.amazon.de/registry/wishlist/2MX8QK8VE9MV1) --- Unofficial python library for the pyecotrend-ista API ![EcoTrend-ista](https://github.com/Ludy87/pyecotrend-ista/blob/main/image/logo.png?raw=true) Ludy87-pyecotrend-ista-10e3acc/docs/000077500000000000000000000000001511651160300173265ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/docs/exception_classes.md000066400000000000000000000001221511651160300233560ustar00rootroot00000000000000# Exceptions ::: pyecotrend_ista.exception_classes :docstring: :members: Ludy87-pyecotrend-ista-10e3acc/docs/index.md000066400000000000000000000034201511651160300207560ustar00rootroot00000000000000# PyEcoTrend-ista [![PyPI version](https://badge.fury.io/py/pyecotrend-ista.svg)](https://badge.fury.io/py/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista)](https://pepy.tech/project/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista/month)](https://pepy.tech/project/pyecotrend-ista) [![Downloads](https://pepy.tech/badge/pyecotrend-ista/week)](https://pepy.tech/project/pyecotrend-ista) [![GitHub issues](https://img.shields.io/github/issues/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista/issues) [![GitHub forks](https://img.shields.io/github/forks/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista) [![GitHub stars](https://img.shields.io/github/stars/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista) [![GitHub license](https://img.shields.io/github/license/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github)](https://github.com/Ludy87/pyecotrend-ista/blob/main/LICENSE) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge&logo=code%20style-black)](https://github.com/psf/black) ![GitHub Release Date](https://img.shields.io/github/release-date/Ludy87/pyecotrend-ista?style=for-the-badge&logo=github) [![codecov](https://codecov.io/github/Ludy87/pyecotrend-ista/branch/main/graph/badge.svg?token=BHU8J3OVRT)](https://codecov.io/github/Ludy87/pyecotrend-ista) [✨ Wishlist from Amazon ✨](https://smile.amazon.de/registry/wishlist/2MX8QK8VE9MV1) --- Unofficial python library for the pyecotrend-ista API ![EcoTrend-ista](https://github.com/Ludy87/pyecotrend-ista/blob/main/image/logo.png?raw=true) ::: pyecotrend_ista :docstring: :members: Ludy87-pyecotrend-ista-10e3acc/docs/login_helper.md000066400000000000000000000001171511651160300223160ustar00rootroot00000000000000# Login Helper ::: pyecotrend_ista.login_helper :docstring: :members: Ludy87-pyecotrend-ista-10e3acc/docs/pyecotrend_ista.md000066400000000000000000000005261511651160300230470ustar00rootroot00000000000000# API documentation ::: pyecotrend_ista.PyEcotrendIsta :docstring: :members: Ludy87-pyecotrend-ista-10e3acc/docs/types.md000066400000000000000000000001011511651160300210040ustar00rootroot00000000000000# Types ::: pyecotrend_ista.types :docstring: :members: Ludy87-pyecotrend-ista-10e3acc/image/000077500000000000000000000000001511651160300174605ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/image/logo.png000066400000000000000000001762441511651160300211440ustar00rootroot00000000000000PNG  IHDRJgAMA a pHYs(JtEXtSoftwarepaint.net 4.0.16Di!IDATx^XϙB޻ҋ)X X]z&hlSozgfw 3;,[}399֎FFahMZ= ֍#ІV~8CcZ?620`=Њ2ȈU3D`mUٿJr~<qxl> q\oLaBIB4M-SGEh9/c!Ӌq(10.1-J1PsK!Wg%-EGЛGqC3{6z1d| e>9Н׵ b9@C3+7U5 o~KC7 Uh0ldJ<*68Vs@(sP Wª4`h4Vm 0UK yϣy /!x ~Z;{c傟?k&P#xQ5<F>T/y<&a24(á[,8 ~ך3ĸLT^< 0y Bxσy`x NHxS^W~E Q_aD< `lu^lpszߙx%AK^sbn1v5Wxt7?(cj>^n@u&@ 0*RߐW^K^T . H@ ๺+1 nЄn3*~,&mBT}!Q:{/Kc6Ii ޫN1:e=WؓbjU@jeMzxI_QSQMm2^Bӷ ^@ƛ٤7u+yy5+7dƼPhHp^oһ(fM3D7O͟{3(!8b~R=ų Ltv6f 1gQ_ 7S7 wfUtBҿ@"?c2_pP@w20FE/;8kߑyO9pen{K.[4nG;O-a(eޢ ߗ uFjjQ=W`~ޗd:L5 4 P+Ko>ӷM][C'Weݑ}sݥcwߖ7hs&CԄ,!գ#s&S ,Jx{Q"ayڙ~o6.h\=9-@YzTC7q(FW=vFsctJNxecn@5 WMpZ)Qk%n)0@[9"uS4t5N.rݥSn#k(i_ںmi^fr۞2R;#8A6Mj*]⿧{9;ZW6BΦ@;~k@3M ̡  ʡCrqP6-"e:5>;uaᡓo$bx;Ǻ7'?myzr [=ل-,=9T-i 

g~ʣ'V~/iQB7U{ +RPcP#C i?54+70'pT @y"a"Hi WԖ!`yFAP?5=HC(\[fiS/~e񿻟8b{\6Cr ֱUcP]ơ#,wO6mZ R=}yto` `ry_0@EPi/@+2(Qk9AF1p;V*p4^rvb'wwo4o.s;i/}PNq^KNr7}w:Sn㮠=C@4)*rX[^[~xnEb~m+ y%~߯\ɧ 1f[irpPpP0o rwZl3 g;vuoï~'OOnsl֣ѱPު~Б% o,u B&x d&W7Tkj GT݅~=?zՅɾ[g\UIuQnJ"+(g%rL-}G~y{}\UR^ = * WMi5u?o٢]_7w^[쾶(= _]mkW8^#3_Jg^8}hM\*4[p_<3{a8=68G7Wr1Qz'Gl> @҄G{NX0˦ 90uN @'Q(cRxσ1S "t Z˅͕Ҭ[my\ݡsB^.쨢0w\9NJ]IP z*]{29ݢ//^&D[%p#! )0_;OFTXe*Qo0PM5* GS5t8~j` e B5ZxwуgN1+5$Q#8xyY`Y0yO?ls~N(0" 0Eq1 ]ǢG%#$s0SrE/|d&0|&^}yLd52 L[ȩΙVk̺'f&iY&:qg^;H/@7U!tSRΤ@91M*P=*a'oGUCAyjx)^~bfݎjC48Ԩp~ٸ5 }5Ï>tp H-_~#$ cQWvO;;>X'9vAva\LѸB=v͒WFT9:"7 O@CE{ (wOR5P~r|I/+6~z'6[rDUh@o6=#_  Gy(4$q cH.t/^~ eٗSO܉ɹyDTk%xE (r A|@D5ioxWb/j=(@ 2^+0T?S]4^WƿiATAAͲ{{^x|l{, @e6JZ-P]vWRL1MCk +-77d jqabmj/AdcliO cpC5±٭vq9? ~Q Fsu 8Zbg4 !=vv)0dEoRNxLz&0a0@"?c0@L!k{_vdPY 9c0r #Q'P]U~U` yl|v?o%"Pdo@CV&[fγH.2;Q5-==d ?4`p5 Y]zmszo{ W"ݻOǬO ې^F29o|b]Y3̈+Wd@!a7PL9.U'h|1gF݀0*uW0 ჵ3Wxo$I;y^ O}CxI_`TGx-Qn@K9S {)e'Í et3XݟBZ5do@vc@I`et { *>[N,s)z?Ex^`I~w1?9u (R a_g3Vu]ߋ YgY+d֞b=E:B`u[+SNLɛSsi J^`O^j@j5 ̤VB7J Khys&;PڽrP}?,TY؁0B^ G;u恻K|`@ 6@N2;4k̄}7vϛE%gYd^2#wBtˮroHLh X&`131(_IR>>=U[ڹLࠠ+p+n-/&SCy":D| `v7e@f9 K?x|V5*YpOdig}yL5^P"{9 ۵"FJn)[^x @zjC<4[TdޟJ࣢ V݀529c`.Afm:qI[%-Ÿ́ 3 б0^Gi @au)c%Y˒4zmԓe-;?wNjD@@3vg 8@On@=GI*zEucW2AnJK\dZ1oX|؂G8 t 2i<0(/z&'!yڪA2<@eV`~ޗ*(h2=W̥ZBٮƃnԢ"KE-etKn$RF`O V#5UR`1ڌ/fZw}lV^ڮZ9Wjzݮ* 7_x(ɱ$Y8T(d|L` &b@yxI_P$jnޝv|Tcn, 8q9&5fz0W }4/d^7nV\̹qb4,W\&Yա⸤"!pǧ.U4r0X 8ry `+ Iol I@3 h Н<}o/+ wRRJ AfRlEb FD0w& ,U^B7Rfэ<(#y7[ rO13PA7`RXe璃Q9ףrlT\^%ygeC慊8ʐ @;MY>BpZ*n1Ui&tꮢs e,cy T૫+3>=?fǩD#]8veBS7?P51uiH)%(LC 50^"l$9d0"3^R 5" G<à z#nG{ D"2Yv~i9B!g ),g&$$'g?>mϑJ) . .]0:`TdވCnT\ \% Y鳌Z`7 g_dUwIaI@QZRj"GfIo h X. }yLu!A2S Ajzd922 Dh#ǶrL"j0 `&`sGX|"&=uw_X~^GpO*pVϙ%ɧgş[2dk~ 9OLG8 #!, 902eo'Мg M݀lқL݀&(/+0:RlE땣8[)Ȇ@da`[9a{](@B"ݸ=':6ˎH9#0]GB6TPP po@cPV !N?`TdDL5&(`2cxI_Hi GB.Ρ:HKik)n$'+uNN:Mˬ \jݝ&fՕ@0<4Gl'@44PE~Qڟh+ʞXuГYZ 4P&` @/+0L7νϭW7YYHY l 4@nEfU;r. ^ZuX6pA©aQE~5+90ZT >߭>JWX("d&^dD躋7>~R)a<*.>}CjƩR6I1Otʠ>gcB*6H}*{!9'Hyy%}{tss@$ɰ)gQd տ|~`Oѭ=E7VK.ޙTBUj/FfsPzg͵u"~o|A{@wW^`7 ^n+LƿBIolހu`7`- irCcb-`tZNSi{O ̒Zg;pΙ+>=Ù>>D/|Q|+Uh`#!ȤpMeb9RY$Q&%J ,Τ,0yi <RH(ZNQ2P*hxۍ7~>IVff2LEd=݁dw`P+0r5XrxO-k rv"Uag {j8XV/d#|qGRk+=@A`pITR(Z;{=="aLT B.3(qsF9>WއSO %q^{du-7t wY;wkܔnV ʤQ u "S$=d?92!"# ( 9>@JUQ~uCK[dBBȘUHƵ7(@Eez]pc_}%ZNK+ you> ٨ `)]q>(Sn i%| + ip΋|e` &i& ry_W0K}C^Pp B 2:ա:4僴{&,T:CB'D a2%"`q:S8M*0Uhb&mHm7"/>?&̑ MR 22CpO/ȯOni$SJ E1ERPZJ/va`voQ@@ROH( 4n^q] ys, n_^/e^>|!Y?8u.o >.SMs&'^a,tod XPE7>L݀/nP Si4 B@ N5Ik5c9ow|>VImTҰnN^$3hbpE&@ 2iA:6ϖ^|t£]Aޅ1PidPt!5A;@#(Z">ђK\UB$dU`@C2OZۛY;wnG^ߠ ^{wu.FdY4*:O uO+~wpQM(@/t`0)W0| @@f Y?)JQ:.7tL q:d0I3ŃtJ֟?7l'`% HAR͛eyzG?1783d\}(S*t%rB֍Hy/?TNQ wD()~ I(3)2F*5\#wl\ۤFJ~/^8 S0E> @4$L,L3|/C0B[dfOE8~$IXq i*K%J85]qy+:"C\,Zifj:=hؓc*UT{L3x(C407Ӌi4l0t"@_$A")'B6@5 y62G.[tѻ#wM86W2>kTrFl]8.h @Š(Ò'o\zp7F,;}RgtA,/4 x d5# ॾ!<1TJ#y@Nґ0nUͼ] _vQ9χ'!` K d 3o@z㋺% IuQ:ﭹYZ+Y?%llPɐؽ;x⻷poߝ=(?荳 nq}ˍ-2m)crdj? (bs e Pg@$%#u> wr{,'=&w cVm[xfo; FɯQ,zrFM=xMzS3s,̾~*>9g)cܯa,j18E>@ƛ٤7u+yy5+7EB!f$©t3?UvH itEY\W6@*YPB!Y인KO(MIOg8,@"pXA3Ee#JFHP  džc oB .;:vwA⹉{ ozxd]G >xE.68Zig4uo'~dIOhsw*seϢ nY {cPyE>~ޗdB#b>>wJy4~1g)`~(Fֵ =Q2_e$(]zASYY $ : AM+%u]W h{֛9Ԋ!$BVG(ڞ` *گ[ ӷ91p <}ߓuK 9d(o: 0FzȔ~xYNz=|5㌦T & `?P[ }p 0d"x ؉QB*S=}s/. љBAp|f.A2\N 4 P;\V;q/@)!7%A*!Юq0*X `়Ŀ7?~vn'a.GSfLG'/)Wcҵ~ Sƽ|(@:i RPףN-.qCrBEifg%}ev ^FM=tufh8vN"&9ǫik4vA `1f, 'Υ7|mSf ~T|w;Yk}3 dMzS/ig}yL@R$Q֧_6T,ˏo1h}rչq]ڼ -v{5Ǒ֯r粓tEiw]Ptө< 3Oߓs.yrL@!^p~pЅ]}yh2 _l \s"?c2F[$D}構L'x2^!xeeXM;ON{wnh.t0C69軱&{ p>-k˂8jiO{|ϊ_.>}ЗbntŪB(t`0)g/gp/7*+ n9xI_Q0@=մ뫆>[|,34$GGmqν⥽n ߮Tuoɲ?5LڏUX́ dzLP5 ^elv?+/+dT0$&/TX*- .uN>qRٙ#޸B?ϩ wqj~؛6je9b~I7p0 0uVLखQ Fc"~!ɚNԾ` ^K~ dNٯ 7&fLb-_۲(ɱt *@t&I!AeO<MH3`V|O ?%TlԕXUkNF,ceZb'Vjkstwt\LIQe=J7 7jS(~Ul탁+A_; >}DӚUd@5eJ@0=B'X|nu ?F R)V@A dBg tt\hT3yYLYVRakTN*j/u:JDbTE**u IRQE*.9U&v RT.E2L%{9D>27{)>@|Bl N•eh|ץɟ}gzYx&zϯ6⎆L^!tF--7uz )9Gy$e~hViinگVi?t,sYj??ב d j^0K}CxJN Ƞ$¾kf A'T* ol~^W+: `&Q# ga{ n5S8`㥥nF܎Kv{g`wm]ivŞvfbY2;wbwvJN9s" ?߉Uww 9\cLkO"i/=JHCP!#^7v;du&gAd*@043! stvY 9RYni?xs[A/5~r>fsZ<:7uIo0uV?$iN&tP,Xy۹m҂JÐ%}e`.AvRBM&]-_{:媇2f0Q0O3fN( d~Nxazge|YLxȐQyz饟|RY<&+c#O#o2a2i  2@CS)":E5JhD4i< 6RkgҒoszdvdT9   @ˈ&M^)q{ЅN'ysx pV#}?Ŀ"RzhꣴS~ k!Tp.50 ΣRr~[|9='z>QCdWRWk+/?f@gr_g0/p+aT 90_s`$e$v݀`3|v / 16$8t'Uh:Lԧ)[ye Ɍl ZF xI_P&^K 줢Gnj$I+`cf=~]t2wz핸O @ȢCx= @zL B^&jUw.G-P |o.Q @'u8ON,#p0bk^NuVjf7iHﷵO/T̓_ԾS//sk6XZh T0T0k@*FiXL7Ois`,*KxukM,e_%&*Ê, $+P*Q'@)vP wQmZrhˡ]}$ˮrtɤS;LqL4wL;U"P kǽlZH6wϤUCU+7 Q|soz1@5GBIErР\a<ԭp$=( w3Ta}㏻;owk?}߻)'p?,_}y_Z]Rߐ2ۙ/j92L1r|/gJ#QTO/9fdQ 3m$ȑSRg GqZmo>00x֛Z&G,}@vcD.cyOcꩦShhRF98@Cb mAie>o44:rC7Zx8L{ˈk/k[ ]7^ޗGgn@6M݀`L݀u>PDP sTvTw}e 9Hi{Q `DiCW؜V)b~!b@.4@9d~ 4O @Cyf!6vq0:d?ǔo՞Pg#5}9-K|msa, !>Ӎi9r-,_ 0u20 `LOq MzC&u6^)JFR<0o_y' QmFJrCs 7jP?dAINNE^֬4}(x vԆLPboSCխza0?HT@h63{fmk}Ϗ"ހYڌ `gp~!5C p%u2`wc4)V!o5xj}+M j@mj!ypB Ϧu<QobgkZl{6gS,o/"` Xz0ud НTnd @SAۣ?X"dO?~Kx\?V݁p݁H{Vurh?3as]:Yh @Ch݀Cٴѽ<G0VAʖ~d?C1Pdn+ C\$i}" KL5S Kz=@՘jq CاR`v~83A?dh?V_m._%jǞK>ChPms^(3L@6M3M3˥!/khJpgϘ c[Mz;Oj.%J ]4el}vGC\#Ss?j4*] lW:׮ 65 \*4:@{zv7 wc߸tץ.#vw~j3cUqϗ<K8%8  {+"_B(vJz~)'/=a_u3lYkdBgn@6M݀hn@Bҍo00C0.Qa qb,bϑ]edCd|udGYLvł NPWӃ l<\-^S :_6ӷVx5V@̧FhFvY.A\* 3q/8$As˪ HiE &(o5MEKϭdv 6mV+:rI Xt54R~96;Xe^ fEGܔHh8=0(SUP|44yhx.<>KX<nj0.Uq@iTy2<F>b,y* Hlv2ˌ 7bTqI 8lm3yMts0F9L04&3f@Wk>0Ah8 Cp>*ΡGf|/|Ʋ"hkl=7b'$'Gto2&0{T $D=0?l{#.C)Va1l`me#¸fi4kmexiײvIX^(/3 hMmv;U:mmxc7QAhH=4棡¡hd> ˱sneRntCP~QەsKF{k㞃cY:C6FMjI6gl:(9^Ex݀|xMˮ0*k XPO{ CSIB*ŌJR-zݷ^yO-HxS^W+ H1,$\'W_krABP 4J!!=]'G{ڌ pTP l90#HwAI]ٺ*q5y?T3 =4ȓ +[;L7`9`6`!RX #Ј< s 3翑2]-B>p;eO=I܇hv9hn W8[ecK1C6_0.5BTJ!Ov 6]~Ϗ>4Ĝ)-EV@c\ @$Ŭ|燾9rN"bVIl5ɻ@xkTw<)^k~hf>Yf1`l$6"G٤7u+yy5+76@A4$M)sw9T&ElB), 6q}^"#"tw.umZ2`uC,BKwѯ1\hyo(?Cx+Q7nui MU`8To2:F䢡9h DzP:5)uѭoDžue+t|2[{Q{u02D4Yjд4#* PO,tod XPE7>L݀ot f^@~&I-T1"Q*~= ?)Rqy=_K5r4_m6h6>l@Vn9z4dBm aox!-꾿on3ܦ{5hzV݀aG4 |BNk7i&N{6 j8q]4!dH ;/w\44٠fՖda`5`j4y!P)BRpHN@A3Э*疳^o>uKG$Dhf]f:4(@ 2gL @S扖㋧$[ @ ( _^1ZJ :]wz]ISZ97~N<;Ӿ#:03aY3cO;78;S~OM>MxwIg|vSʌ3~&: qYpY9|f>/Ŀ{LڌTe0 RA24z` 50;@}{;+[jXYڛItgޑ57y9’ѸT4>MBShMנy:?`2CL` &@;$4_{a?>XwqMBca>(:F" R$RfY-{]yGj/QDB5eh&T)ZJ ZI2A;9 ;N2M&rfp '\"{ EA). ]BwЃ@=BS)G! 4nzr>g`F{wӁ?#1ה-_pkuYLd_hJpv@F<GD4.MHG%h MU2+&0da$`OLPRIEb`F% d *Z'wM$7應,ipNŀQ*͠77` ^K@e=/GCR2ԘtQJ ܒRVj86 N TWHv&8JCIpL1 vSaw xz>*z `P6 U 40 HDT}./zE-(`݀o%.pM3.ՠ T;i =9 ĽmR فB4!x4n\<6  SH`)"a ERq_. iLd!; @3B 2G_jIF̊@X2ZNQp[TG;( ] @<λH pB]]TTbvw` @5[A!J,CA`Tih@2G}~$q`$ی|7!ug ZBV@sku謇5aZ`w m يE!1FAQa46OE3d)@34hV.S+ecK1LU@je(N6)4EN,TqˤOr-_`ɠd~s&`H @l/݁+3 rԁ, BD(]193=+ pWC3ԙn@A*@AR40 HCQC ܉S[Qf yD^}꿼ʚh?_㓅:?'e$] 0)qhznCX4b7>*䀙K dZ _ ~^}y^^ / R,I"6ɟ(>"%:?EV$[TҚVRjʿA @O9*h(hgݝ   B"b2詩/} 9$%Q=(0F$7S~: })r-B^ \5z X}Ss.y'탉vpu-(0HDBhX,K/ h| 3H;0Hg(CtK5bJKRuGR89ѥ8X!,[}I@F3*ܦ%"6Dgk<"[5v#Gґp4B}`;GCxJCD#v F*0Bh=`{]4NS"*R\?7j"0R ~I qG)Pڪw :)X8x!: >iCNv~XF4xg‰Σuum"W? @ _Bd()KF}P^ Đۂ7Pk)U+\@. \}&vn*3\?ǃIiwx$^K}?sO%-Q[T`yDaa݇&:g9OD'+ixӐdv;Cjd̔*FB#$ZF@ ɆƁ<6>9͢J(ط`޷3>S3PKy6N}C *ryTzg8Z}_;oM9J9F9Z#5VͶ췈Za7 ex=Æx Yu'0pRwu=puM,6ԕPg{*} Y r6m 7bau6Ŋ7FGƒe?ˋ0 bIߋxw8Zw"f7 Fcf E"96~54R*r{^c:/C߼ m 0 !yCۇ~!8cha–J 2e D+ L';Ƒ4J|VS^+2 Yy:r-3G7&IeCu^oj: ~o7'O]5>FJ zz/C}WkȜ 0dS`&M@ fhl P-A bۦ;eQ!SJGx/R]@V6v9h`5hgyvR~WRziN{{g?081 RPO[Cޗ7 Gp8 gu,#W{c+>gݽlWT/koVOlhoe`7A/?2_lSŮ6# ॾ!<[lE%Y+jS,q'R[k(:)pӏ?rO%C3z@g o~K0X u? E vO~ H; +42l'*6 Amtmw%TS2!J<VYo+6V ?~ y@0ǐ<O~ A?6_}|g݌:_x"^yپޢ_FŸ#Xl/&Ue`=}gW+<58{2dp2@hE SJg\kzdFA>r = x+krR7"5ɴ~#wGv!{f_Bom0Q@@%J @@WfB;;pN B lUWJ$lWi?[UkL&U띴UN{2Nps^sUOný5q|Zc32Ij[Cc4<TmD颗-f|=}tBu=5a kpNM9RDrd^J"@^yk,edϮ{ϧOgH|uk|zpʏ&8Der_''E? &7Ѷi$"6+>(yk#X]̪ :|xwyXFnen˞}X;CpXm8oOm[4*Y'Ynt4Hz=HE)68ŊNS-ViKߊ%b*b ȧ\Qb\umd&o_]dF~Ejk `t`(~f@_`G"(b亐 8e4|$1~i?[Y9+,~4]xGh~F"\3u5xG¾mk&MFQ~QhvfeFv X=(<"4[%D A}ͷ,l{!fL^LxC$Sc%=c¨stBJɸwYnn lG?D%3) `; cةF@Em`P ul=x۱zr,z4HJ,Qnz)e~K&fTY/ wL?` yBԊ b".Ƈ/@K,nq0SlDkh!H1xy/N"H5éB.R8\岟52dͥh`|5Nra@C`d&` ܌Sk(o3p1r\ gq"6ut:QfdymÈm7bٹy@^L! xfgEAQ'p.2p: H3c&`Q "=: 3+Js\p=!w͐@@L{M^,Si,Ɛ|1|_@m0Kݸ'ԖbDATYk@e"䱥0eN ݀Tt_5(b@zct !N,<0\h7nߨFFhH#ŏ #lGw 6 3Zn9Y. W +??_,6gZLls)ѝ3'6V #z\@u0[j xXFW~0@d}(gO-k7`@>庳T|7~"Gi r{\p6[yAf81. (@ K:,fӏmҎJPɖ8M@' ?`/2Ȥx?:5A25gd';T `Ѝ1  Cf,_"{a 赕b$ŞDzDSQɨ;QV~Bs\H7o0BP1ݙš8@^cv4yD^s| - l`n Mu+.:s qkuAe_:Ĝ ư, ~[,e7K}C2~wUyMI15]b`3gB[uj'o=zۆ0[%~c_aB)-#򳟅ZLs6|"7Qet0wI?3[=Y3 v=w"7"{ Z!% /@=!mr\"ihʛ8j#+ey9cЊuhb9KWg?`)zD}W~ЀdCfC aш}h31N2Kem X_`p`.b;P;@ۂ%y0}]GXYFWPl˽;.H~ď|2` kiL?d xr p_YuW)s8G>ܱ(V8٪K7flj _f?NKs?N$~$Ȋ@rJ,׷_Wv&RV*Sͤ<*Q3%)!rA+jMlPx08(PgT40 P{q]vAQ(T`Q w [V"p؀'ByCs,m3YW4ڰB8t?YNDPN -[,E~s73~L/C*g ߈nFAPH.1f6e#[2rϣ |̖w݀DOuafs!}a('`o{D c`hRc0xb3W3Tcf\e?Kyhd3C=.23W:E|H[Ŭ$b8XP gJԎ(e8L C ?Vf@Pw<dd @(fRyֽ_ 62VA&h"-不j%j-[+_Ѐ|0i 4( MQa/GBw^;PHk ܌7‘r .A>o`O-9y0xC}AohT8In"w1{/!k9 g5ۀoB(8 @cѐݺyN@cѸ4f od|4(YQ7#,F -̶ԕ@ "]'4 y_A7࠴ :; q=2yvF< _iT#CV^e?K5k(ef pk1 E>mE6Q#w\w@%YB5Y̒ +a$1I3Ks7r'LF* $0Gs ʤ>y/VNQc)j ٯTj- ͕VP gl3< V2jH5T %h!4"6ݍƢ~;Ph7نM(p \RkPw5!zh☡q_8.Gp=`9  dސkȇ{ h>{BvX4h ۇǣQXg4IBkЬ<݌%eC(H~j.U ,g q*o4нu(`2`xFX8Z;C|[1*fryb~SH@SjOf] d<_{ݕk*16!(۬Fg~'Ɠ[*/*BY/h&|@03)rvy~v2"P#oB_Zn=iͻ[10~{9~0Gn* 树jDC84 d4X6C{84`A~Pmfop{MIlDY֣>ɑ=]n@h. D!Q$Cc ^^4t?~ ?F$IhL KCф,4IT fB3sK0Nٝn[?r EU/#-DQLשczGFۋ-K ݄\O )yupVG6FHۆd=PbGG&OBc* ॾ! ĉtφlZ5N gF#N!do@xNF=,ܯ Wyγu? (uyDen-MdT,i rNے8:(NwT EIwc誢:+.JQI91GYIPs%{h7Jܕࡢ/S>)x^&䣉yHN ѤB4Mp^D9 yL/fIì5߾<p{Ĭ.uoD*,iiJnt`GDA[G wǤ*2Z+.;8K}Czu&3m@%"v5%9M8hqik}{=?5wt°9U^~0 Jhen$jgfI (dq&ҩ'\.䟩w[F3K@+:(m&] $ysh,62vֵжrAK9V ZC鶤/j$?YAwHc8:);*ʅ?1gd?ƮjS=]Uo&>jA> 4H*|> OOwc"X&A0'h2I}<Ձ@ K458?sFu`$"XndJ1/3ʨt=4̏f+6ߺQƻ7=7M̵e|[ņ\qėd "Zj=j/ Y_ФT$j\dDwMvg `luEcv*s +\~2#=H[[͖[;0$ڧ|qz1Nį<0E&S/:ӹ9+~a!y L$E!mwv0݌G63 m&M.A BZQ 9ju ⿣H D>`kJMEF؁HW /g^*JGȐ?=oy?֏Gfڏ+" G _Q8/7R{_ZwE W6|u* hfWW9.fwa~ ޅ$z9X 0ncXn7P\jt01l# ٪;au0 `<WjeVTR%!/f.%y t03} fO%;eh?cnKyAa=rh )p%[b2b(!d@8鬢L@@+ p/xpԹ4aBzb!5=٧OO)'Po X.y75yMڡ6#(5\((5nTPe7``*ţ2ԱGeuWdhT ɂu IDzx}3<8WjAtBq3x@ҿ@0*pXocS5Rc6,dC理|nD'7 +}MQT魄Vn3d+ & de*{fo^^~ѻ¾B qqpS9XB7ҭVrܒ P@+9V;(N((h0$*@&q75؝L#Τ} |U <VH%\_wV>P41 Eu7߾sZP]ձl 1O`/RY$ v-]|i(UO%52Jj> `RVg]f^7 Vu7D B&< @5 ȜDd nWBFE +>ū xL?XWv1-"4~y;1T\KA>껂 #c A$0^ytUr{&u_0wFTN zp?~1-2; !ΠpS`"If~~{t`ۓ="nKC3kS3-kn#73Ƕg[.9zzy[\8ɱi+Մ >#N8A h2~͒/ouH^0 'ב4^3~5٭6x}LBuyw@`;.j6 pw`xM5=sU`aq7;N*m;jdo*H-c [{UxdoJrx.Ad@+:2P6ߟ8K{T!91LOyt*mjW8Οfi|@&3pV瞼3h)yd{j'DCPyNi3`ν [ID͔S5 m<D` ݱ#Ywj{J!ẋno@8 <52Gjc`c 0\!+|K& &QBA5 ^ 4*4DȽS/5oXk1p{n 9 <`p'b~ T#:O῅h( ,ۦ띱',lU`0y 鸫џNLYuiݿ>ѡ֙A:Mef !U֙1`y^a3 6#0k%j%l%n"$1$u;Q*"unBUbH͜=z4q%KMFY c=H 1b DvOh< ˣy" $`l"ǻOK|0'vl!88^i 1Dg\޺htk]!#\xlbG<Em☞@~t?˸̀[Ykm7VMY2: ^@_ -w΄,}Xy\{b&Cjaw6yXn*0d0 X'4=퉃S d13K;݌.bhpQ]Fk덳vw;qcU fʕA%!]g vg;Cg20xnκ}6bs^m 'RO9E6tXflMi.Y}iCf3;}|W R]_\. 6SɩRa,A[ֿ @jp""q7+Spw]H@C*!ܤfN A75F"Č V&1 82>Sa9O>U%a IB0IԤվ"G|>xk%eθ7x%6(07 FgAdo}$>FTi(pՙj f_gP-33Hh=W=IG1=2rCz`0ySQCaRJE)6DK:IxTpE24l.^:"M1K - tgy+jws>tWz j kF7w)i{RBȨ628vr^Y娣MN91̪T79 NENE*vU \؍wRГ<ĞJ[N{)j-v~e <:+' jq[?ˑGd_>GMLb¾xe(4(4ٍ2Gw]Gah[Ъܦ;aμn@2Gx2{/3WߢRߐg@ۋ̣J²ot5GX#P ?<5: bk*2AOVOw^x`'6\&r32`-Z7ZEPT@"'ŽϾibFeR2Uwe73GR /8ERsctܙ%s(C 'Np|0N#pzi Q'G:xG>m1o9~yɮ1d&ttyI':Vy 7Q* @QbxL.OMȳ:^>{Iq< VDGO(* @؛z y q$Pbss.Rda_3 lʞ Ll*k< T`˼`W[og ` x52zc>يOD4|d0S vr=@+bW~!ݘP( pnC';7o7JjR _PidU`Hb*] NM=9?nM?*J.J[~q_q:Y?? l^a3βF3o {ѷQǀN  ,jѻ]}#t_a`I6@PiGi7]hI!m)i7Ր□BJIۡ톕^Ǣ#K:(m;ݸN o4AWs-(nk>05|a<==P$@P/Z֫͡n}Jb3J?y @=d[R:(Ń%8^,K)Ђ.e?KUkcR@{ŸZp*Zȟ@֥?w{򂟣4ohz @xrGc[ס VXQ)g1f+C0tc˝o" HxolD+*`Sͺez_М0*ɒJ6)b,Ƽg),:FLQq,SL2)*ˆʠ:):n_b/|Eg ^i;о];742Bu݀ ܖE)0ОY +1no@% ]Uz(<%rS  < j(O(HlY@GcṛGhxOqX /$򫿯_N^aqԸBxBi I/WȩQ7 g4v,2<=WٵILH5 yl7- ^DR UmH04ݓ:{]*d[5b7N]"b^Rz2@ pG<]_c@{z w J"jV[󂟃g8} ?~(vFM @xv`")Hlɥlp%J5<8/Km  R(g),uolTg`EgfyYB*KOw tq y57;=sZ=:KL)ɾmd2N[c{(GĜw#g9r#Gr$kgW!NݕUtK=亷B8䷝_QKGaFS#rṢmwxOѓO[H Ɠ|0_l/uZGT`ԖЩY]H,'9V$~wr_F&IDC}r67U<@L3lȷd'}noNFt_p$_p1xsnh|Acg@˵{<(^Ð&j` ݀mwؒ!X W`ajO֞[E~-F4 ؎N)UouoHANTs  &΋89zΠ48lYAuJ]}r}T8b +'_i% ~eߑ}G ;03>@Yq ag}ǜ{9'o9) N<3ԳSvgy}cy"<7ssϺ=~}OnޠF 8<./;XBcOOÝW|=xzӸ-BiFB4@86@X ݀Ϡ@*o. e c|_-!S$X8T`@nxSP!Q鮳80EEZgtWvx=J ^ GgۍpЭJHO+Po@nܛn*``9h3=&+ v?PRO\~&;sa 9q6*Js@(g=ּϽ!kdpn-Mv  4ٹ~-1VΈ#?/<{#ӂ돈WH[Щ"CO)69*$ZT!JQjEe?K΢ũ U,0qjG}:T[*ƙd}\tl*cAeKR^&j"J%(u;q'YY7Y7*;K.Rq8f=dfn2sWLS&r=2+w\%{<koG&I^U^@;>*{gI @$H  MžMյkdZ̽3IAQQi!AB] Zޙ̝LdB~׹7>

FyR =*<\穉#Vo[ڷ޸"MQ)a-vu W n@pięIDFd8 JGJ `i7c+8 Ȱ%%LJE#.@pͲ6M϶qyV/FpF7y6>Fm@'ISnZLYaO.G%K wQ#]V,n5W4R 67A5PL]@~d۱(|d-QS]3=F'S%s3 zݜK|>N9ebp/1؇Wʻ^n*]=4u~'$ [[f?j0?|CӰW|s<6Ui*ӈ =j0 }_FUݑ_ FAo}ΈqUa/ӣYǒxy@<?kͶH':Ӆrث~70b-3Vs*VtG-9\5l]7︹O Y<`aR&˞4&1q։ MXH_uBɶtmimM[ulWu2mth Ǘl'3c=:k#ve 'I\P^ T(֞nXȭt$u;,oi$7i6 4pb7 ?[h0+q¾tfq5sͼ@nu&G{<*c3wE~ ΰ?\aNHzo/\%5i)^tun?UܰN rWw/IeԺTDw zבH@ĺ[Gg/'{b ;} ' ^pyc @{?#l &x@@,tDWDmt3ǪbtI }k UQZO=EJH4$Im~F0C]4Òx%Slc FM)T0>z} Gϲ]7j .t=1z^ݘyucẠnǘpq5-.l5Iϵ#`x(o\HW4$IC-3~ H@.p[FrYJ@_l T c镦|x9mw?5ѹ]7 0q7Y)<`WIYNC"j|Eǧ ʮj@k_ĺ9EO]Y3uυ.MUl iڱSE<4\<4#rQA]رt DD0a߅Ok@̨_)Y s=_>g|<  es/'ŸbI??./\E77^t.|}xh wj'P#8Wp  ,#O]CxPڬ_˕&M򫽿ye;= ,@'݀ck.q\Q5fnP @r#2J>p/q$:An҉'@D<i.5o]:(s}Wٯ#qF ~O?>h_+j+ U2vW*D<|'ߣFG?V*Q@IUAP uUF8 _4l>RKMNK+Azr#mB _ϑr6"o~w: ϷC_ڻ01dQfaȧT ÏQ"X`ȏq:h4 fa" mX,\ G^Rns$T@\ȇXo3 o+Gp2J@9&- @v ( xl&H݀cKГW{Nz]76g- hVPT@ / <31'De Pc'>z͟0NN%@n; @u/gYa+jzƈ1k ޔjלջU~Mkխx*)fkv\]7Z|ckͭon]r2]Knص]e ?]~[vݺǻoݽRPhʿD%>cunXpi P/N/WeBw @^7spL ĭs'=0}_.j]pqe|TB/6D=Sc6e?vV#_#g.oRU瘓:8&%ÐK V52IĬĂW9gqD| ++X ;P.@d0i~OjW7 Еn@/Bzz2 Q/}g\!m1A@qÓtuh㉞zJ@nǍ{! >`MȌ v|gi,4\ĩǫxy_otbW[|SғaCD:̍T (I/IIvLJ3`+ $+GJN8;VsRn@% i/ 4P}b[%@ sU{ҥ WJ _ I/;7GUkuIA Fyy N h#VzU@57qGO>D-o qנ5{JsR=>&lYpY3"6 cj5ckqf>&lKK6Op @'4M`P  I/z2 Н@gb5~%x 3_m]PWYK^ܕO `vÜOu@)P Ƭٿ(>{SKo޷x`Mt`[,nWve(Т+wMX9Fȳ8 b@& eB,;b7u3P/Ng݀Jҳn@0>E*UޗAÀ)cszSzqcq3 |% 8e +~U4ٮaǫt 0{ŃZMJ fRtT ^ )o4f! c|$CAU^) \(2dDxnVH4Or-6`݀>nЕ0t}nTBWBEJ ´1StoO=LǢq PO<z7SP%?:5Ms~֚R1ZѓU4&-~F_z0Vf CdE*anp̍"n8ڂa,4`H&)+24g[iٰcT@\f,l,@iNC*Ieg'O0QOǕԗ>lzw?za!VF <#(PD?`goH!ncԆeRti[]2biW_Luʊ)vM]ZpuK«Z\:j5^kZe5SiuHu@˔Zm)nOњ]KK-,T? fa/ cB:㶀蕼:-y&bCT՜ɕC6k*4 , <ۗs %J{~`$\'\o~%ybM|fm\FmD3a4f[b191%*o7Gѓ-х2bT=3Sd.Ũb1jiR^ Fϲ Z3&Ix@p ً݀ `vDs7Y H݀n 9 O !O ׉8J ^WMx"bPER8~~xcSoE˯Vm Ӌgk*i`\&X6hTnlG.~Յ=z>2N%ŮW:g5P 7dg[Tx(_S'-ᩀ ˫;NL,,B:Hϵ%_s$d (߾( p7 :yS1@X :<~ }⿍0&",رUm]}̧͟gzǿ=w|{46_ «/,]l!^]oQyȥ[ҥ R\?a˰f,kl5.ͳ٢mqH=l)NkLa]lQ]4;7.v-v-7MU7mK5tzJ@zzll%0x\ Aч :m>&ј2fܨ5's+Ot17PgTe_/'CH1,V>a\ٖ[/lۦ/ۋwQV옺j;f1}UsUӮvNYsk1Z,^<}M˴Z\su.ٜ^Xo=/g@\ {_Ϻg݀`?^a.Q@*ys0%E_ 1P\ 5tx-IcZ8*ґFȌcXt "ui!f%l 'eWH&\+c8u/`݀>5 D@X ``O&B<'MP{߷mi籓˳ U/7hfo)@b&![ aGZ(bG1~Y!-<@ò fp'`fظV08$zy jl,7 (` @FIqd?Ž w5Qy`g#F=S*#:2_r76gV/V1gluUsW[2wM˜[^:uUs׶λ \k-nhw} ιu-snlvglϑxNĝl4OB7 =3f0PqA>f6!ک3e F>Q`7o{hC,_O?f-'1@2V=d._W8)PI|rp}<ɋp7~xsC'G4ER#,R[ʶ-^tǔۧm/n/\\tQsͅ(dGwLlGe; .k.rǔ;+\\hUE+vNrgѪ 49yeU-WYRpMs;(fg![Nb1rD\ikupB ƪWfPIz w5'?D<&k (&|Q|qKVl]qn~*<]0 Q$Cjc |I C ե9:|JiÊSa鎔bǐ!3ͩOS?aή:~<9@ʼc! )%2 .hLY8lQ҆a ahIyuI,aPh#Sl @Y! O5 PE ofNo2x_vmF Fg;F9& hBO"߹1pO0)W  \&R6)Im`ȍ@r+ vLy ^ e%9r_ hɍ$0β 0!z0@{8wU{28|lW  U4b'@K?h%e$ Ig9g`') 4Jwrp_ 0dHWe2Ll ll3g7 ?PShRW׽oX/T`C5f!x<wnDKD \ Xft!o @LpY\5:=\ )Y3'Hf:eJ3U @[#b> S]d@HF7 xYU4x $=`'+ۅ2G>(O{7@3/ lg t -7(&}8%Y5С"_Wط 3'l fza¾0`**Ux}0p ` @^ k ` d\z N}OTI0 pha! ^MbGfO% R7 {% ^;l 8*Lro{USdNs@`X/G+>1@2VQ`D7`x-Wd:3i  n (";-~}~4xb | gBfG3f^0a^OT `A1 [6ΉZo͚D t{L?ʯpfLWFt;7N.:+p{{_zg`?^a.]7`x 78hݹTI0ӄ\`vn2ȢRGq;:')N8 ^^"_E }a(t`9Cv:03oTI~T ?ka/gWCE"+gM)6Z -}`_wYS StZ?Ձ?CC[z%`of1 +ۥ#h{ *g4VR`X utUso}smC dd 7lb݀^0` Vp k5WS^/&T^Cl%`\ F~b-'rqfT-$A$q`Zna!#E2J\#./BH;c'+ eX,cs̅˳kn@y?I6:.LbQ"vRdS{6 ;+sW%i@[pel?^a.@Cf.}J~5A:m.~Tˤ"Kqtᅎy %b&"( !6 cưp 44%Y$݀)@37 $BFHd$:ڊ0ZRzHďGi<2KW@g%2$_i0J %Zh qO@6ZdYwp$/ : 3f >|WN/s8A6jUƻ<{8xX>E" ѱ)@In_B[2jiƃ d3\K݀"qw>6rJ+0A"dIS;g$ٟ!q!$GB 3`4'0φ ˳c`"/Lzf HV֧|=[0;{n@s7Y H݀n 9nN 9kRn DOJ^0 a"50?P 5 ޯ'ajH xD# ?zo_ToMFפ'%+TcjQEQ,BǛ90$ uNHî?2Fjb{f(dBkų|pmP c 0/ppW5j6\ h=3λof݀~71Ak ) gnsFˉ7g#?Mm] 'F7AO#U\.]|[vtXg" MS;;6P1oXH!6w K$C[[n[ }ʎ@ E]1t\0¥`/k"o0VE6`+g+J@+e)#~O+?~閟7vǾzm[}ZF_1?@/:[m2qxM)WMAꃪH l!mr KtD {m2 [  Yz-<}me5bwp~T/Ng݀Jҳn  J-0$m_dr0c 1>jER#W@k`)|7"t}c>&(A0p@fhAuwO2u\gvB)}m7/' ’Fpe'V1a5X <452ׅռ/վg\E8ހ?xk*#t#O^|pS*k#R~g/ Z5!b*c`crgͷ`P-88jr C$V̓nsU2\q.js |Y uz]PRO @?u vx9<P)HMe=ƈhR-y?o਎x#ūJ<Ӕv́BkghLP|fW.F^& jyM in{ar:tLv>J4Ŀl%v dA~l޳tiv7rl3f0 @9].n߽/}GBePzmQKLSm7otxc"tLuoLDmXd|?J% 8@fzIro@K 4ioy;r,B\pviD.u~wGO^ڠA  `g*np;6 h S$D :͊gantuU;KBkttV>4v$cK~|߾O2D0b#ƨm/7uno<:u|ԓUBK m݀,$?AmǾjmiNAse P K& گY8ا/~{=FJ;il@W}b[%@H Ts8cby=&[73ɕ$sޯ֌xvǮNɛߜXj]_a@hokExUX-pՄxWFV~`0MRY/[ `Kⶀi&ѹ׾icUyaVM˴<,鏳 Iy'%Mr}KeE:}f _KJ 1hy@ڔ jk߽m}>v/B $Ls7x|ۈѼIK(xUQxᥛw}1VQR w+bl6<֣`\`%8+ \HE~}ջٶ颐-ْ'lvji%` FRHW4×E5Хu2\ H:[q uz]P ujA7+j0P[`7 nk*KC>F Ԡ&N'ZfRM>ں/+OZb#d[ѽ^}K.fg?vlo_[0C,_-P#,?r].\6~ 0^&BK2?Zh{ܚcȒ< 5V@7:HIYHpw]w[]Д5PE$_'= V @I^75h~W`Q/%z^Sdϗ󪋴xl 4xfn䖏vҦK wӯMٷ}qWGN~~tl1Rc ~\M7"U\iDnl 6 & aE~< D:Q~ۺߴi~f@y F}ݫ]\YZ.wKHypV3_ JH߫Y5Q"ky&Ltlie}de!zaԞ/v_*^'h+#˷.um+oʰN<5rO576Jp_ @3\ IX+ h PgIrm<|2E~'+ϟ_Y7lid<.uh l@2 3fzh^J}OT2<\6e6;ߪX/.6{ߞηze .qERRZJ C07hp!#O bI<ȯ8@y\w j$[$e@fd ,JbxhI=]_Hh<_ovcƲz\xI= q.='o3'k# oU?z5  lm[ekVMϵ5 i PGJtQ=/,O~8ʥu,iPIz {_DpB <xO` z3p㩑6z  X}I,(ڔZZޤ&y2@@z5 &ZiY{æ9_̋'YY6 x@wk zRzv횆-nYTV-iew @6| ݀s2Pgu`݀'rƇt Iߋ"_:}a QΈPAK>yn胧IA4*B7] x 7ђ }}pLM:5R *A? خd\]Y"cZjWL̷ldI|L42z.KiI^.E޽u;_m;im//m,j,nXpek>f{_ <9 p$Pl^RP1 ԡk-C o M**GVEu\Z"^k / {wxm9)\ vŀX 8F{䵎4['XېVq?`.Ff Y/'0<p"Mӄ#_`)~1us1 5UϾ:1SS/-p} ȰbgHLxf[4lK/S?5(/Rw t /lԦ~ݑ}l /.i r<;4e(d:~|^~dz$@ @DGőU rw#sO(#(f8x)Bh| (Ns'o *04~?[=D)6j0ݱ}m9zJ %q"g#Ɵ* ̰$|]YW0jP͇췓T0>)c 3df,;q;A8: 6 d^=[Oԓn  tÖYP-iG~C/YaOXRY/7qp?w tS`݀ | w @I*ꢨ.bHeхDx :j|}ɳEEQymֿN"HaʭϷWQxHG |Ux| @Gȧ PIȳg:&Ծ׾b0o# (8ɳ2dY [x}dׇOԤצ&BaA1,+7+tHs-\F0˜I޾~Yw5Q*룺w}dk=di;z"ӊ?g|d+_wFzGf׭miI;Rӵ+~B%vzna]O!K=@o4 {_zg`d ޗ~i$@pj>Gɇ!.~F/}]x~;>vc.ߏ`__ X?@Z-Ы^_ȖHK$_r4V2 {$46=?Kr!_(3[JkCX̵ϳͷ-)T+K$dXJX//&YIXel K}Xb RRG|CX\Gב%"lC1u^U 3@n 'ݨ"_:}5(RL|SQO% )hE=t1D?tl3.b^O6DF{:*hLQ9 *cƬ(+;YK 8݀d4K΀6.HϳR+\c1 R:nj=7ŁW'ngq3:y\ 8G͕uPAY0p'`:R)iJNgmnj8gG }z`wNzlc| ofTƒhlEHR#8 a;n/SNx,x8>6౯O؀DZ?j.`8d&@m s Õ;Z<(ٹVZ$Qw 4+v*n!l;vudN W;mڹudA<:<sh 0Ӆ '(_O{2`**Uޗ~X#(ZA+Vj8/wgі*s:%[M90H*/p ?ow}~~p,\X{?ƿsb!, \ic+Y7 xv tt`px~P$S(V е>,~ jGuӁ@Ӂg{܀x.1ީŽ@3f^0蘁aOT :=Q%?\_ gcҮi@Iz {_8aОt '%`݀>ޑNVD@Q%?<J@M f@=dB`0М(n@f MJz0_5 Zpg/vޣ2n@20 >W9d 6 HBlHxJ}O U _@tdy4y_]3vj7m/txjް@0z'=i3CJ@0P8o 'ݨ"_:}a3k `J@U4x $=8Ob݀<,@0zdN ݀v@]1~ X7O\PX7fd*qmAn@n@/kJ}ǀ2?#h{ *fapuz :U0P`)@6 8 N K;e6N 9n@=0u GBPn@3f jwjj7f0 af`|mV*IV>:}a@{VJ@ @Ƴn@%Y7` u2EGgn 2 @hdYV`*jWA:fO @`B`tbl3fNg3c@/v `v=3$ n@`xSU f}y6 J@ @.@:2p*?0 : DjmY *fW '% =a|mg݀`?j^OT 3oJ@ E`݀:0%{X7ft^ x0` ݀}mn U݀0 ptY9,[ Y @0W+df03f1u23$d+f$@ 4 ou{JzxHw@= k UBp@tm d-zЇ V{6 1!Rh{f\lX7`npdy  zTƝ.j}/nTB] *=aM@(zX/@(y'Y~;0("_:}ad|6nnj! fTk>f{_8a5 oz0`**UfN d觽 5b@ .``LV'xGx ,@0N@ 8`]4wwX/G+f|`݀\X7`5 E5@26 .P<5'DeY`eB @8 2(Iz@Q/0h `]4x~X/{5IENDB`Ludy87-pyecotrend-ista-10e3acc/mkdocs.yml000066400000000000000000000100551511651160300204020ustar00rootroot00000000000000site_name: "Python Ecotrend Ista Api Documentation" repo_url: https://github.com/Ludy87/pyecotrend-ista/ repo_name: Ludy87/pyecotrend-ista site_author: Ludy87 nav: - Home: index.md - PyEcotrendIsta: pyecotrend_ista.md - login_helper.md - types.md - exception_classes.md validation: omitted_files: warn absolute_links: warn unrecognized_links: warn plugins: - search - minify: minify_html: true minify_js: true minify_css: true htmlmin_opts: remove_comments: true cache_safe: true - git-revision-date-localized: enable_creation_date: true fallback_to_build_date: true - git-committers: repository: Ludy87/pyecotrend-ista branch: main token: !ENV ["GITHUB_TOKEN"] exclude: - README.md - git-authors - autorefs: resolve_closest: true - literate-nav: nav_file: README.md implicit_index: true - mkdocstrings: enabled: !ENV [MKDOCSTRINGS_ENABLED, true] handlers: python: inventories: # YORE: SOL 3.12: Replace `3.12` with `3` within line. - url: https://docs.python.org/3.12/objects.inv domains: [std, py] paths: [src, scripts, .] options: line_length: 80 docstring_options: ignore_init_summary: true docstring_section_style: list members_order: source heading_level: 2 inherited_members: true merge_init_into_class: true parameter_headings: true separate_signature: true show_bases: false show_inheritance_diagram: true show_root_heading: true show_root_full_path: true show_source: true show_signature_annotations: true show_symbol_type_heading: true show_symbol_type_toc: true signature_crossrefs: true summary: true docstring_style: numpy theme: name: material icon: logo: material/library features: - announce.dismiss - content.code.annotate - content.code.copy - content.tooltips - navigation.expand - navigation.footer - navigation.indexes - navigation.instant - navigation.instant.progress - navigation.instant.prefetch - navigation.path # - navigation.sections # - navigation.tabs - navigation.tabs.sticky # - navigation.top - search.highlight - search.suggest - search.share - toc.follow palette: - media: "(prefers-color-scheme)" toggle: icon: material/brightness-auto name: Switch to light mode - media: "(prefers-color-scheme: light)" scheme: default primary: teal accent: purple toggle: icon: material/weather-sunny name: Switch to dark mode - media: "(prefers-color-scheme: dark)" scheme: slate primary: black accent: lime toggle: icon: material/weather-night name: Switch to system preference markdown_extensions: - admonition - codehilite - attr_list - github-callouts # - callouts - footnotes - pymdownx.details - pymdownx.blocks.tab: alternate_style: true - pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.highlight: pygments_lang_class: true - pymdownx.inlinehilite - pymdownx.magiclink - pymdownx.snippets: base_path: [!relative $config_dir] check_paths: true - pymdownx.superfences - pymdownx.tabbed: alternate_style: true slugify: !!python/object/apply:pymdownx.slugs.slugify kwds: case: lower - pymdownx.tasklist: custom_checkbox: true - pymdownx.tilde - toc: permalink: true - def_list - tables - pymdownx.highlight: use_pygments: false anchor_linenums: true - pymdownx.snippets - pymdownx.superfences - mdx_gh_links: user: Ludy87 repo: pyecotrend-ista - mkdocs-click watch: - docs Ludy87-pyecotrend-ista-10e3acc/pyproject.toml000066400000000000000000000067541511651160300213260ustar00rootroot00000000000000[build-system] build-backend = "setuptools.build_meta" requires = ['setuptools>=77.0.3', "setuptools-scm", "requests", "dataclasses-json"] [project] authors = [ {name = "Ludy87", email = "android@astra-g.org"}, {name = "tr4nt0r", email = "4445816+tr4nt0r@users.noreply.github.com"} ] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Intended Audience :: Developers", "Topic :: Software Development", "Topic :: Utilities", "Topic :: Home Automation", "Topic :: Software Development :: Libraries :: Python Modules" ] dependencies = [ "requests>=2", "dataclasses-json>=0.6" ] description = "Python EcoTrend-ista Api" dynamic = ["version", "readme"] keywords = ["python", "api", "ecotrend", "ista"] license = "MIT" license-files = ["LICENSE"] name = "pyEcoTrend-ista" # readme = "README.md" requires-python = ">=3.11" [project.optional-dependencies] doc = [ "babel==2.17.0", "csscompressor==0.9.5", "ghp-import==2.1.0", "gitpython==3.1.45", "htmlmin2==0.1.13", "jinja2==3.1.6", "jsmin==3.0.1", "markdown==3.9", "markdown-callouts==0.4.0", "mdx-gh-links==0.4", "mkdocs==1.6.1", "mkdocs-autorefs==1.4.3", "mkdocs-click==0.9.0", "mkdocs-git-authors-plugin==0.10.0", "mkdocs-git-committers-plugin-2==2.5.0", "mkdocs-git-revision-date-localized-plugin==1.4.7", "mkdocs-literate-nav==0.6.2", "mkdocs-material==9.6.21", "mkdocs-material-extensions==1.3.1", "mkdocs-minify-plugin==0.8.0", "mkdocstrings[python]==0.30.1", "paginate==0.5.7", "pymdown-extensions==10.16.1", "pygments==2.19.2", "python-dateutil==2.9.0.post0", "pytz==2025.2", "tox==4.30.3", "regex==2025.9.18", "watchdog==6.0.0" ] publish = [ "tox==4.30.3" ] test = [ "pytest==8.4.1", "pytest-cov==7.0.0", "pytest-xdist==3.8.0", "requests-mock[fixture]==1.12.1", "syrupy==5.0.0", "tox==4.30.3" ] [project.urls] Documentation = "https://ludy87.github.io/pyecotrend-ista/" Homepage = "http://github.com/Ludy87/pyecotrend-ista" Repository = "http://github.com/Ludy87/pyecotrend-ista" [tool.black] line-length = 127 target-version = ["py311"] [tool.numpydoc_validation] checks = [ "all", # report on all checks, except the below "SA01", "GL01", "GL02", "GL03", "SS05" ] exclude = [ '\.__str__$' ] [tool.pylint.FORMAT] max-line-length = 127 [tool.pylint."MESSAGES CONTROL"] disable = [ "too-many-ancestors", "too-many-arguments", "too-many-instance-attributes", "wrong-import-order", "too-many-lines", "too-many-locals" ] [tool.pytest.ini_options] addopts = "--cov=src/pyecotrend_ista/ --cov-report=term-missing -n auto tests" pythonpath = ["src"] testpaths = ["tests"] [tool.ruff] indent-width = 4 line-length = 127 target-version = "py311" [tool.ruff.format] docstring-code-format = true docstring-code-line-length = 127 indent-style = "space" quote-style = "double" [tool.ruff.lint] extend-select = ["I", "TRY", "UP", "D", "W", "N"] ignore = ["D213", "D202", "D203", "D213", "UP038", "D406", "D407", "TRY003"] [tool.ruff.lint.isort] combine-as-imports = true force-sort-within-sections = true known-first-party = ["pyecotrend_ista"] split-on-trailing-comma = false [tool.ruff.lint.pydocstyle] convention = "numpy" [tool.setuptools.dynamic] readme = {file = ["README.md"]} version = {attr = 'pyecotrend_ista.__version.__version__'} Ludy87-pyecotrend-ista-10e3acc/requirements.in000066400000000000000000000015661511651160300214610ustar00rootroot00000000000000# Main dependencies requests>=2 dataclasses-json>=0.6 # Optional dependencies: doc babel==2.17.0 csscompressor==0.9.5 ghp-import==2.1.0 gitpython==3.1.45 htmlmin2==0.1.13 jinja2==3.1.6 jsmin==3.0.1 markdown==3.9 markdown-callouts==0.4.0 mdx-gh-links==0.4 mkdocs==1.6.1 mkdocs-autorefs==1.4.3 mkdocs-click==0.9.0 mkdocs-git-authors-plugin==0.10.0 mkdocs-git-committers-plugin-2==2.5.0 mkdocs-git-revision-date-localized-plugin==1.4.7 mkdocs-literate-nav==0.6.2 mkdocs-material==9.6.21 mkdocs-material-extensions==1.3.1 mkdocs-minify-plugin==0.8.0 mkdocstrings[python]==0.30.1 paginate==0.5.7 pymdown-extensions==10.16.1 pygments==2.19.2 python-dateutil==2.9.0.post0 pytz==2025.2 regex==2025.9.18 watchdog==6.0.0 # Optional dependencies: publish tox==4.30.3 # Optional dependencies: test pytest==8.4.1 pytest-cov==7.0.0 pytest-xdist==3.8.0 requests-mock[fixture]==1.12.1 syrupy==5.0.0 Ludy87-pyecotrend-ista-10e3acc/requirements.txt000066400000000000000000001647431511651160300217010ustar00rootroot00000000000000# # This file is autogenerated by pip-compile with Python 3.13 # by the following command: # # pip-compile --generate-hashes --output-file=requirements.txt --strip-extras requirements.in # babel==2.17.0 \ --hash=sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d \ --hash=sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2 # via # -r requirements.in # mkdocs-git-revision-date-localized-plugin # mkdocs-material backrefs==5.9 \ --hash=sha256:6907635edebbe9b2dc3de3a2befff44d74f30a4562adbb8b36f21252ea19c5cf \ --hash=sha256:7fdf9771f63e6028d7fee7e0c497c81abda597ea45d6b8f89e8ad76994f5befa \ --hash=sha256:808548cb708d66b82ee231f962cb36faaf4f2baab032f2fbb783e9c2fdddaa59 \ --hash=sha256:cc37b19fa219e93ff825ed1fed8879e47b4d89aa7a1884860e2db64ccd7c676b \ --hash=sha256:db8e8ba0e9de81fcd635f440deab5ae5f2591b54ac1ebe0550a2ca063488cd9f \ --hash=sha256:df5e169836cc8acb5e440ebae9aad4bf9d15e226d3bad049cf3f6a5c20cc8dc9 \ --hash=sha256:f48ee18f6252b8f5777a22a00a09a85de0ca931658f1dd96d4406a34f3748c60 # via mkdocs-material cachetools==6.2.2 \ --hash=sha256:6c09c98183bf58560c97b2abfcedcbaf6a896a490f534b031b661d3723b45ace \ --hash=sha256:8e6d266b25e539df852251cfd6f990b4bc3a141db73b939058d809ebd2590fc6 # via tox certifi==2025.11.12 \ --hash=sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b \ --hash=sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316 # via requests chardet==5.2.0 \ --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 # via tox charset-normalizer==3.4.4 \ --hash=sha256:027f6de494925c0ab2a55eab46ae5129951638a49a34d87f4c3eda90f696b4ad \ --hash=sha256:077fbb858e903c73f6c9db43374fd213b0b6a778106bc7032446a8e8b5b38b93 \ --hash=sha256:0a98e6759f854bd25a58a73fa88833fba3b7c491169f86ce1180c948ab3fd394 \ --hash=sha256:0d3d8f15c07f86e9ff82319b3d9ef6f4bf907608f53fe9d92b28ea9ae3d1fd89 \ --hash=sha256:0f04b14ffe5fdc8c4933862d8306109a2c51e0704acfa35d51598eb45a1e89fc \ --hash=sha256:11d694519d7f29d6cd09f6ac70028dba10f92f6cdd059096db198c283794ac86 \ --hash=sha256:194f08cbb32dc406d6e1aea671a68be0823673db2832b38405deba2fb0d88f63 \ --hash=sha256:1bee1e43c28aa63cb16e5c14e582580546b08e535299b8b6158a7c9c768a1f3d \ --hash=sha256:21d142cc6c0ec30d2efee5068ca36c128a30b0f2c53c1c07bd78cb6bc1d3be5f \ --hash=sha256:2437418e20515acec67d86e12bf70056a33abdacb5cb1655042f6538d6b085a8 \ --hash=sha256:244bfb999c71b35de57821b8ea746b24e863398194a4014e4c76adc2bbdfeff0 \ --hash=sha256:2677acec1a2f8ef614c6888b5b4ae4060cc184174a938ed4e8ef690e15d3e505 \ --hash=sha256:277e970e750505ed74c832b4bf75dac7476262ee2a013f5574dd49075879e161 \ --hash=sha256:2aaba3b0819274cc41757a1da876f810a3e4d7b6eb25699253a4effef9e8e4af \ --hash=sha256:2b7d8f6c26245217bd2ad053761201e9f9680f8ce52f0fcd8d0755aeae5b2152 \ --hash=sha256:2c9d3c380143a1fedbff95a312aa798578371eb29da42106a29019368a475318 \ --hash=sha256:3162d5d8ce1bb98dd51af660f2121c55d0fa541b46dff7bb9b9f86ea1d87de72 \ --hash=sha256:31fd66405eaf47bb62e8cd575dc621c56c668f27d46a61d975a249930dd5e2a4 \ --hash=sha256:362d61fd13843997c1c446760ef36f240cf81d3ebf74ac62652aebaf7838561e \ --hash=sha256:376bec83a63b8021bb5c8ea75e21c4ccb86e7e45ca4eb81146091b56599b80c3 \ --hash=sha256:44c2a8734b333e0578090c4cd6b16f275e07aa6614ca8715e6c038e865e70576 \ --hash=sha256:47cc91b2f4dd2833fddaedd2893006b0106129d4b94fdb6af1f4ce5a9965577c \ --hash=sha256:4902828217069c3c5c71094537a8e623f5d097858ac6ca8252f7b4d10b7560f1 \ --hash=sha256:4bd5d4137d500351a30687c2d3971758aac9a19208fc110ccb9d7188fbe709e8 \ --hash=sha256:4fe7859a4e3e8457458e2ff592f15ccb02f3da787fcd31e0183879c3ad4692a1 \ --hash=sha256:542d2cee80be6f80247095cc36c418f7bddd14f4a6de45af91dfad36d817bba2 \ --hash=sha256:554af85e960429cf30784dd47447d5125aaa3b99a6f0683589dbd27e2f45da44 \ --hash=sha256:5833d2c39d8896e4e19b689ffc198f08ea58116bee26dea51e362ecc7cd3ed26 \ --hash=sha256:5947809c8a2417be3267efc979c47d76a079758166f7d43ef5ae8e9f92751f88 \ --hash=sha256:5ae497466c7901d54b639cf42d5b8c1b6a4fead55215500d2f486d34db48d016 \ --hash=sha256:5bd2293095d766545ec1a8f612559f6b40abc0eb18bb2f5d1171872d34036ede \ --hash=sha256:5bfbb1b9acf3334612667b61bd3002196fe2a1eb4dd74d247e0f2a4d50ec9bbf \ --hash=sha256:5cb4d72eea50c8868f5288b7f7f33ed276118325c1dfd3957089f6b519e1382a \ --hash=sha256:5dbe56a36425d26d6cfb40ce79c314a2e4dd6211d51d6d2191c00bed34f354cc \ --hash=sha256:5f819d5fe9234f9f82d75bdfa9aef3a3d72c4d24a6e57aeaebba32a704553aa0 \ --hash=sha256:64b55f9dce520635f018f907ff1b0df1fdc31f2795a922fb49dd14fbcdf48c84 \ --hash=sha256:6515f3182dbe4ea06ced2d9e8666d97b46ef4c75e326b79bb624110f122551db \ --hash=sha256:65e2befcd84bc6f37095f5961e68a6f077bf44946771354a28ad434c2cce0ae1 \ --hash=sha256:6aee717dcfead04c6eb1ce3bd29ac1e22663cdea57f943c87d1eab9a025438d7 \ --hash=sha256:6b39f987ae8ccdf0d2642338faf2abb1862340facc796048b604ef14919e55ed \ --hash=sha256:6e1fcf0720908f200cd21aa4e6750a48ff6ce4afe7ff5a79a90d5ed8a08296f8 \ --hash=sha256:74018750915ee7ad843a774364e13a3db91682f26142baddf775342c3f5b1133 \ --hash=sha256:74664978bb272435107de04e36db5a9735e78232b85b77d45cfb38f758efd33e \ --hash=sha256:74bb723680f9f7a6234dcf67aea57e708ec1fbdf5699fb91dfd6f511b0a320ef \ --hash=sha256:752944c7ffbfdd10c074dc58ec2d5a8a4cd9493b314d367c14d24c17684ddd14 \ --hash=sha256:778d2e08eda00f4256d7f672ca9fef386071c9202f5e4607920b86d7803387f2 \ --hash=sha256:780236ac706e66881f3b7f2f32dfe90507a09e67d1d454c762cf642e6e1586e0 \ --hash=sha256:798d75d81754988d2565bff1b97ba5a44411867c0cf32b77a7e8f8d84796b10d \ --hash=sha256:799a7a5e4fb2d5898c60b640fd4981d6a25f1c11790935a44ce38c54e985f828 \ --hash=sha256:7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f \ --hash=sha256:7c308f7e26e4363d79df40ca5b2be1c6ba9f02bdbccfed5abddb7859a6ce72cf \ --hash=sha256:7fa17817dc5625de8a027cb8b26d9fefa3ea28c8253929b8d6649e705d2835b6 \ --hash=sha256:81d5eb2a312700f4ecaa977a8235b634ce853200e828fbadf3a9c50bab278328 \ --hash=sha256:82004af6c302b5d3ab2cfc4cc5f29db16123b1a8417f2e25f9066f91d4411090 \ --hash=sha256:837c2ce8c5a65a2035be9b3569c684358dfbf109fd3b6969630a87535495ceaa \ --hash=sha256:840c25fb618a231545cbab0564a799f101b63b9901f2569faecd6b222ac72381 \ --hash=sha256:8a6562c3700cce886c5be75ade4a5db4214fda19fede41d9792d100288d8f94c \ --hash=sha256:8af65f14dc14a79b924524b1e7fffe304517b2bff5a58bf64f30b98bbc5079eb \ --hash=sha256:8ef3c867360f88ac904fd3f5e1f902f13307af9052646963ee08ff4f131adafc \ --hash=sha256:94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a \ --hash=sha256:99ae2cffebb06e6c22bdc25801d7b30f503cc87dbd283479e7b606f70aff57ec \ --hash=sha256:9a26f18905b8dd5d685d6d07b0cdf98a79f3c7a918906af7cc143ea2e164c8bc \ --hash=sha256:9b35f4c90079ff2e2edc5b26c0c77925e5d2d255c42c74fdb70fb49b172726ac \ --hash=sha256:9cd98cdc06614a2f768d2b7286d66805f94c48cde050acdbbb7db2600ab3197e \ --hash=sha256:9d1bb833febdff5c8927f922386db610b49db6e0d4f4ee29601d71e7c2694313 \ --hash=sha256:9f7fcd74d410a36883701fafa2482a6af2ff5ba96b9a620e9e0721e28ead5569 \ --hash=sha256:a59cb51917aa591b1c4e6a43c132f0cdc3c76dbad6155df4e28ee626cc77a0a3 \ --hash=sha256:a61900df84c667873b292c3de315a786dd8dac506704dea57bc957bd31e22c7d \ --hash=sha256:a79cfe37875f822425b89a82333404539ae63dbdddf97f84dcbc3d339aae9525 \ --hash=sha256:a8a8b89589086a25749f471e6a900d3f662d1d3b6e2e59dcecf787b1cc3a1894 \ --hash=sha256:a8bf8d0f749c5757af2142fe7903a9df1d2e8aa3841559b2bad34b08d0e2bcf3 \ --hash=sha256:a9768c477b9d7bd54bc0c86dbaebdec6f03306675526c9927c0e8a04e8f94af9 \ --hash=sha256:ac1c4a689edcc530fc9d9aa11f5774b9e2f33f9a0c6a57864e90908f5208d30a \ --hash=sha256:af2d8c67d8e573d6de5bc30cdb27e9b95e49115cd9baad5ddbd1a6207aaa82a9 \ --hash=sha256:b435cba5f4f750aa6c0a0d92c541fb79f69a387c91e61f1795227e4ed9cece14 \ --hash=sha256:b5b290ccc2a263e8d185130284f8501e3e36c5e02750fc6b6bdeb2e9e96f1e25 \ --hash=sha256:b5d84d37db046c5ca74ee7bb47dd6cbc13f80665fdde3e8040bdd3fb015ecb50 \ --hash=sha256:b7cf1017d601aa35e6bb650b6ad28652c9cd78ee6caff19f3c28d03e1c80acbf \ --hash=sha256:bc7637e2f80d8530ee4a78e878bce464f70087ce73cf7c1caf142416923b98f1 \ --hash=sha256:c0463276121fdee9c49b98908b3a89c39be45d86d1dbaa22957e38f6321d4ce3 \ --hash=sha256:c4ef880e27901b6cc782f1b95f82da9313c0eb95c3af699103088fa0ac3ce9ac \ --hash=sha256:c8ae8a0f02f57a6e61203a31428fa1d677cbe50c93622b4149d5c0f319c1d19e \ --hash=sha256:ca5862d5b3928c4940729dacc329aa9102900382fea192fc5e52eb69d6093815 \ --hash=sha256:cb01158d8b88ee68f15949894ccc6712278243d95f344770fa7593fa2d94410c \ --hash=sha256:cb6254dc36b47a990e59e1068afacdcd02958bdcce30bb50cc1700a8b9d624a6 \ --hash=sha256:cc00f04ed596e9dc0da42ed17ac5e596c6ccba999ba6bd92b0e0aef2f170f2d6 \ --hash=sha256:cd09d08005f958f370f539f186d10aec3377d55b9eeb0d796025d4886119d76e \ --hash=sha256:cd4b7ca9984e5e7985c12bc60a6f173f3c958eae74f3ef6624bb6b26e2abbae4 \ --hash=sha256:ce8a0633f41a967713a59c4139d29110c07e826d131a316b50ce11b1d79b4f84 \ --hash=sha256:cead0978fc57397645f12578bfd2d5ea9138ea0fac82b2f63f7f7c6877986a69 \ --hash=sha256:d055ec1e26e441f6187acf818b73564e6e6282709e9bcb5b63f5b23068356a15 \ --hash=sha256:d1f13550535ad8cff21b8d757a3257963e951d96e20ec82ab44bc64aeb62a191 \ --hash=sha256:d9c7f57c3d666a53421049053eaacdd14bbd0a528e2186fcb2e672effd053bb0 \ --hash=sha256:d9e45d7faa48ee908174d8fe84854479ef838fc6a705c9315372eacbc2f02897 \ --hash=sha256:da3326d9e65ef63a817ecbcc0df6e94463713b754fe293eaa03da99befb9a5bd \ --hash=sha256:de00632ca48df9daf77a2c65a484531649261ec9f25489917f09e455cb09ddb2 \ --hash=sha256:e1f185f86a6f3403aa2420e815904c67b2f9ebc443f045edd0de921108345794 \ --hash=sha256:e824f1492727fa856dd6eda4f7cee25f8518a12f3c4a56a74e8095695089cf6d \ --hash=sha256:e912091979546adf63357d7e2ccff9b44f026c075aeaf25a52d0e95ad2281074 \ --hash=sha256:eaabd426fe94daf8fd157c32e571c85cb12e66692f15516a83a03264b08d06c3 \ --hash=sha256:ebf3e58c7ec8a8bed6d66a75d7fb37b55e5015b03ceae72a8e7c74495551e224 \ --hash=sha256:ecaae4149d99b1c9e7b88bb03e3221956f68fd6d50be2ef061b2381b61d20838 \ --hash=sha256:eecbc200c7fd5ddb9a7f16c7decb07b566c29fa2161a16cf67b8d068bd21690a \ --hash=sha256:f155a433c2ec037d4e8df17d18922c3a0d9b3232a396690f17175d2946f0218d \ --hash=sha256:f1e34719c6ed0b92f418c7c780480b26b5d9c50349e9a9af7d76bf757530350d \ --hash=sha256:f34be2938726fc13801220747472850852fe6b1ea75869a048d6f896838c896f \ --hash=sha256:f820802628d2694cb7e56db99213f930856014862f3fd943d290ea8438d07ca8 \ --hash=sha256:f8bf04158c6b607d747e93949aa60618b61312fe647a6369f88ce2ff16043490 \ --hash=sha256:f8e160feb2aed042cd657a72acc0b481212ed28b1b9a95c0cee1621b524e1966 \ --hash=sha256:f9d332f8c2a2fcbffe1378594431458ddbef721c1769d78e2cbc06280d8155f9 \ --hash=sha256:fa09f53c465e532f4d3db095e0c55b615f010ad81803d383195b6b5ca6cbf5f3 \ --hash=sha256:faa3a41b2b66b6e50f84ae4a68c64fcd0c44355741c6374813a800cd6695db9e \ --hash=sha256:fd44c878ea55ba351104cb93cc85e74916eb8fa440ca7903e57575e97394f608 # via requests click==8.3.1 \ --hash=sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a \ --hash=sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6 # via # mkdocs # mkdocs-click colorama==0.4.6 \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 # via # click # griffe # mkdocs # mkdocs-material # pytest # tox coverage==7.13.0 \ --hash=sha256:0018f73dfb4301a89292c73be6ba5f58722ff79f51593352759c1790ded1cabe \ --hash=sha256:00c3d22cf6fb1cf3bf662aaaa4e563be8243a5ed2630339069799835a9cc7f9b \ --hash=sha256:02d9fb9eccd48f6843c98a37bd6817462f130b86da8660461e8f5e54d4c06070 \ --hash=sha256:0602f701057c6823e5db1b74530ce85f17c3c5be5c85fc042ac939cbd909426e \ --hash=sha256:06cac81bf10f74034e055e903f5f946e3e26fc51c09fc9f584e4a1605d977053 \ --hash=sha256:086cede306d96202e15a4b77ace8472e39d9f4e5f9fd92dd4fecdfb2313b2080 \ --hash=sha256:0900872f2fdb3ee5646b557918d02279dc3af3dfb39029ac4e945458b13f73bc \ --hash=sha256:0a3a30f0e257df382f5f9534d4ce3d4cf06eafaf5192beb1a7bd066cb10e78fb \ --hash=sha256:0b3d67d31383c4c68e19a88e28fc4c2e29517580f1b0ebec4a069d502ce1e0bf \ --hash=sha256:0dfa3855031070058add1a59fdfda0192fd3e8f97e7c81de0596c145dea51820 \ --hash=sha256:0f4872f5d6c54419c94c25dd6ae1d015deeb337d06e448cd890a1e89a8ee7f3b \ --hash=sha256:11c21557d0e0a5a38632cbbaca5f008723b26a89d70db6315523df6df77d6232 \ --hash=sha256:166ad2a22ee770f5656e1257703139d3533b4a0b6909af67c6b4a3adc1c98657 \ --hash=sha256:193c3887285eec1dbdb3f2bd7fbc351d570ca9c02ca756c3afbc71b3c98af6ef \ --hash=sha256:1d84e91521c5e4cb6602fe11ece3e1de03b2760e14ae4fcf1a4b56fa3c801fcd \ --hash=sha256:1ed5630d946859de835a85e9a43b721123a8a44ec26e2830b296d478c7fd4259 \ --hash=sha256:22486cdafba4f9e471c816a2a5745337742a617fef68e890d8baf9f3036d7833 \ --hash=sha256:22ccfe8d9bb0d6134892cbe1262493a8c70d736b9df930f3f3afae0fe3ac924d \ --hash=sha256:24e4e56304fdb56f96f80eabf840eab043b3afea9348b88be680ec5986780a0f \ --hash=sha256:25dc33618d45456ccb1d37bce44bc78cf269909aa14c4db2e03d63146a8a1493 \ --hash=sha256:263c3dbccc78e2e331e59e90115941b5f53e85cfcc6b3b2fbff1fd4e3d2c6ea8 \ --hash=sha256:28ee1c96109974af104028a8ef57cec21447d42d0e937c0275329272e370ebcf \ --hash=sha256:30a3a201a127ea57f7e14ba43c93c9c4be8b7d17a26e03bb49e6966d019eede9 \ --hash=sha256:3188936845cd0cb114fa6a51842a304cdbac2958145d03be2377ec41eb285d19 \ --hash=sha256:367449cf07d33dc216c083f2036bb7d976c6e4903ab31be400ad74ad9f85ce98 \ --hash=sha256:37eee4e552a65866f15dedd917d5e5f3d59805994260720821e2c1b51ac3248f \ --hash=sha256:3a10260e6a152e5f03f26db4a407c4c62d3830b9af9b7c0450b183615f05d43b \ --hash=sha256:3a7b1cd820e1b6116f92c6128f1188e7afe421c7e1b35fa9836b11444e53ebd9 \ --hash=sha256:3ab483ea0e251b5790c2aac03acde31bff0c736bf8a86829b89382b407cd1c3b \ --hash=sha256:3ad968d1e3aa6ce5be295ab5fe3ae1bf5bb4769d0f98a80a0252d543a2ef2e9e \ --hash=sha256:445badb539005283825959ac9fa4a28f712c214b65af3a2c464f1adc90f5fcbc \ --hash=sha256:453b7ec753cf5e4356e14fe858064e5520c460d3bbbcb9c35e55c0d21155c256 \ --hash=sha256:494f5459ffa1bd45e18558cd98710c36c0b8fbfa82a5eabcbe671d80ecffbfe8 \ --hash=sha256:4b5de7d4583e60d5fd246dd57fcd3a8aa23c6e118a8c72b38adf666ba8e7e927 \ --hash=sha256:4f3e223b2b2db5e0db0c2b97286aba0036ca000f06aca9b12112eaa9af3d92ae \ --hash=sha256:4fdb6f54f38e334db97f72fa0c701e66d8479af0bc3f9bfb5b90f1c30f54500f \ --hash=sha256:51a202e0f80f241ccb68e3e26e19ab5b3bf0f813314f2c967642f13ebcf1ddfe \ --hash=sha256:581f086833d24a22c89ae0fe2142cfaa1c92c930adf637ddf122d55083fb5a0f \ --hash=sha256:583221913fbc8f53b88c42e8dbb8fca1d0f2e597cb190ce45916662b8b9d9621 \ --hash=sha256:58632b187be6f0be500f553be41e277712baa278147ecb7559983c6d9faf7ae1 \ --hash=sha256:5c67dace46f361125e6b9cace8fe0b729ed8479f47e70c89b838d319375c8137 \ --hash=sha256:5e70f92ef89bac1ac8a99b3324923b4749f008fdbd7aa9cb35e01d7a284a04f9 \ --hash=sha256:5f5d9bd30756fff3e7216491a0d6d520c448d5124d3d8e8f56446d6412499e74 \ --hash=sha256:5f8a0297355e652001015e93be345ee54393e45dc3050af4a0475c5a2b767d46 \ --hash=sha256:62d7c4f13102148c78d7353c6052af6d899a7f6df66a32bddcc0c0eb7c5326f8 \ --hash=sha256:69ac2c492918c2461bc6ace42d0479638e60719f2a4ef3f0815fa2df88e9f940 \ --hash=sha256:6abb3a4c52f05e08460bd9acf04fec027f8718ecaa0d09c40ffbc3fbd70ecc39 \ --hash=sha256:6e63ccc6e0ad8986386461c3c4b737540f20426e7ec932f42e030320896c311a \ --hash=sha256:6e9e451dee940a86789134b6b0ffbe31c454ade3b849bb8a9d2cca2541a8e91d \ --hash=sha256:6fb2d5d272341565f08e962cce14cdf843a08ac43bd621783527adb06b089c4b \ --hash=sha256:71936a8b3b977ddd0b694c28c6a34f4fff2e9dd201969a4ff5d5fc7742d614b0 \ --hash=sha256:73419b89f812f498aca53f757dd834919b48ce4799f9d5cad33ca0ae442bdb1a \ --hash=sha256:739c6c051a7540608d097b8e13c76cfa85263ced467168dc6b477bae3df7d0e2 \ --hash=sha256:7464663eaca6adba4175f6c19354feea61ebbdd735563a03d1e472c7072d27bb \ --hash=sha256:74c136e4093627cf04b26a35dab8cbfc9b37c647f0502fc313376e11726ba303 \ --hash=sha256:76541dc8d53715fb4f7a3a06b34b0dc6846e3c69bc6204c55653a85dd6220971 \ --hash=sha256:7a485ff48fbd231efa32d58f479befce52dcb6bfb2a88bb7bf9a0b89b1bc8030 \ --hash=sha256:7e442c013447d1d8d195be62852270b78b6e255b79b8675bad8479641e21fd96 \ --hash=sha256:7f15a931a668e58087bc39d05d2b4bf4b14ff2875b49c994bbdb1c2217a8daeb \ --hash=sha256:7f88ae3e69df2ab62fb0bc5219a597cb890ba5c438190ffa87490b315190bb33 \ --hash=sha256:8069e831f205d2ff1f3d355e82f511eb7c5522d7d413f5db5756b772ec8697f8 \ --hash=sha256:850d2998f380b1e266459ca5b47bc9e7daf9af1d070f66317972f382d46f1904 \ --hash=sha256:898cce66d0836973f48dda4e3514d863d70142bdf6dfab932b9b6a90ea5b222d \ --hash=sha256:9097818b6cc1cfb5f174e3263eba4a62a17683bcfe5c4b5d07f4c97fa51fbf28 \ --hash=sha256:936bc20503ce24770c71938d1369461f0c5320830800933bc3956e2a4ded930e \ --hash=sha256:9372dff5ea15930fea0445eaf37bbbafbc771a49e70c0aeed8b4e2c2614cc00e \ --hash=sha256:9987a9e4f8197a1000280f7cc089e3ea2c8b3c0a64d750537809879a7b4ceaf9 \ --hash=sha256:99acd4dfdfeb58e1937629eb1ab6ab0899b131f183ee5f23e0b5da5cba2fec74 \ --hash=sha256:9b01c22bc74a7fb44066aaf765224c0d933ddf1f5047d6cdfe4795504a4493f8 \ --hash=sha256:a00d3a393207ae12f7c49bb1c113190883b500f48979abb118d8b72b8c95c032 \ --hash=sha256:a23e5a1f8b982d56fa64f8e442e037f6ce29322f1f9e6c2344cd9e9f4407ee57 \ --hash=sha256:a2bdb3babb74079f021696cb46b8bb5f5661165c385d3a238712b031a12355be \ --hash=sha256:a394aa27f2d7ff9bc04cf703817773a59ad6dfbd577032e690f961d2460ee936 \ --hash=sha256:a6c6e16b663be828a8f0b6c5027d36471d4a9f90d28444aa4ced4d48d7d6ae8f \ --hash=sha256:af0a583efaacc52ae2521f8d7910aff65cdb093091d76291ac5820d5e947fc1c \ --hash=sha256:af827b7cbb303e1befa6c4f94fd2bf72f108089cfa0f8abab8f4ca553cf5ca5a \ --hash=sha256:c4be718e51e86f553bcf515305a158a1cd180d23b72f07ae76d6017c3cc5d791 \ --hash=sha256:cdb3c9f8fef0a954c632f64328a3935988d33a6604ce4bf67ec3e39670f12ae5 \ --hash=sha256:d10fd186aac2316f9bbb46ef91977f9d394ded67050ad6d84d94ed6ea2e8e54e \ --hash=sha256:d1e97353dcc5587b85986cda4ff3ec98081d7e84dd95e8b2a6d59820f0545f8a \ --hash=sha256:d2a9d7f1c11487b1c69367ab3ac2d81b9b3721f097aa409a3191c3e90f8f3dd7 \ --hash=sha256:de7f6748b890708578fc4b7bb967d810aeb6fcc9bff4bb77dbca77dab2f9df6a \ --hash=sha256:e5330fa0cc1f5c3c4c3bb8e101b742025933e7848989370a1d4c8c5e401ea753 \ --hash=sha256:e999e2dcc094002d6e2c7bbc1fb85b58ba4f465a760a8014d97619330cdbbbf3 \ --hash=sha256:eb76670874fdd6091eedcc856128ee48c41a9bbbb9c3f1c7c3cf169290e3ffd6 \ --hash=sha256:f1c23e24a7000da892a312fb17e33c5f94f8b001de44b7cf8ba2e36fbd15859e \ --hash=sha256:f2ffc92b46ed6e6760f1d47a71e56b5664781bc68986dbd1836b2b70c0ce2071 \ --hash=sha256:f4f72a85316d8e13234cafe0a9f81b40418ad7a082792fa4165bd7d45d96066b \ --hash=sha256:f59883c643cb19630500f57016f76cfdcd6845ca8c5b5ea1f6e17f74c8e5f511 \ --hash=sha256:f6aaef16d65d1787280943f1c8718dc32e9cf141014e4634d64446702d26e0ff \ --hash=sha256:fe81055d8c6c9de76d60c94ddea73c290b416e061d40d542b24a5871bad498b7 \ --hash=sha256:ff45e0cd8451e293b63ced93161e189780baf444119391b3e7d25315060368a6 # via pytest-cov csscompressor==0.9.5 \ --hash=sha256:afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05 # via # -r requirements.in # mkdocs-minify-plugin dataclasses-json==0.6.7 \ --hash=sha256:0dbf33f26c8d5305befd61b39d2b3414e8a407bedc2834dea9b8d642666fb40a \ --hash=sha256:b6b3e528266ea45b9535223bc53ca645f5208833c29229e847b3f26a1cc55fc0 # via -r requirements.in distlib==0.4.0 \ --hash=sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16 \ --hash=sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d # via virtualenv execnet==2.1.2 \ --hash=sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd \ --hash=sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec # via pytest-xdist filelock==3.20.0 \ --hash=sha256:339b4732ffda5cd79b13f4e2711a31b0365ce445d95d243bb996273d072546a2 \ --hash=sha256:711e943b4ec6be42e1d4e6690b48dc175c822967466bb31c0c293f34334c13f4 # via # tox # virtualenv fixtures==4.2.6 \ --hash=sha256:58266d3646b7bda07ed463c6fd26a1b18a0273ee02de2b3f8ddec9e6e4359239 \ --hash=sha256:95472b15b145063a672fbe33b1244ccff829fbec97d530d862d26f416d16c90b # via requests-mock ghp-import==2.1.0 \ --hash=sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619 \ --hash=sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343 # via # -r requirements.in # mkdocs gitdb==4.0.12 \ --hash=sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571 \ --hash=sha256:67073e15955400952c6565cc3e707c554a4eea2e428946f7a4c162fab9bd9bcf # via gitpython gitpython==3.1.45 \ --hash=sha256:85b0ee964ceddf211c41b9f27a49086010a190fd8132a24e21f362a4b36a791c \ --hash=sha256:8908cb2e02fb3b93b7eb0f2827125cb699869470432cc885f019b8fd0fccff77 # via # -r requirements.in # mkdocs-git-committers-plugin-2 # mkdocs-git-revision-date-localized-plugin griffe==1.15.0 \ --hash=sha256:6f6762661949411031f5fcda9593f586e6ce8340f0ba88921a0f2ef7a81eb9a3 \ --hash=sha256:7726e3afd6f298fbc3696e67958803e7ac843c1cfe59734b6251a40cdbfb5eea # via mkdocstrings-python htmlmin2==0.1.13 \ --hash=sha256:75609f2a42e64f7ce57dbff28a39890363bde9e7e5885db633317efbdf8c79a2 # via # -r requirements.in # mkdocs-minify-plugin idna==3.11 \ --hash=sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea \ --hash=sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902 # via requests iniconfig==2.3.0 \ --hash=sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 \ --hash=sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12 # via pytest jinja2==3.1.6 \ --hash=sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d \ --hash=sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67 # via # -r requirements.in # mkdocs # mkdocs-material # mkdocstrings jsmin==3.0.1 \ --hash=sha256:c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc # via # -r requirements.in # mkdocs-minify-plugin markdown==3.9 \ --hash=sha256:9f4d91ed810864ea88a6f32c07ba8bee1346c0cc1f6b1f9f6c822f2a9667d280 \ --hash=sha256:d2900fe1782bd33bdbbd56859defef70c2e78fc46668f8eb9df3128138f2cb6a # via # -r requirements.in # markdown-callouts # mdx-gh-links # mkdocs # mkdocs-autorefs # mkdocs-click # mkdocs-material # mkdocstrings # pymdown-extensions markdown-callouts==0.4.0 \ --hash=sha256:7ed2c90486967058a73a547781121983839522d67041ae52c4979616f1b2b746 \ --hash=sha256:ed0da38f29158d93116a0d0c6ecaf9df90b37e0d989b5337d678ee6e6d6550b7 # via -r requirements.in markupsafe==3.0.3 \ --hash=sha256:0303439a41979d9e74d18ff5e2dd8c43ed6c6001fd40e5bf2e43f7bd9bbc523f \ --hash=sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a \ --hash=sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf \ --hash=sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19 \ --hash=sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf \ --hash=sha256:0f4b68347f8c5eab4a13419215bdfd7f8c9b19f2b25520968adfad23eb0ce60c \ --hash=sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175 \ --hash=sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219 \ --hash=sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb \ --hash=sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6 \ --hash=sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab \ --hash=sha256:15d939a21d546304880945ca1ecb8a039db6b4dc49b2c5a400387cdae6a62e26 \ --hash=sha256:177b5253b2834fe3678cb4a5f0059808258584c559193998be2601324fdeafb1 \ --hash=sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce \ --hash=sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218 \ --hash=sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634 \ --hash=sha256:1ba88449deb3de88bd40044603fafffb7bc2b055d626a330323a9ed736661695 \ --hash=sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad \ --hash=sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73 \ --hash=sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c \ --hash=sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe \ --hash=sha256:2a15a08b17dd94c53a1da0438822d70ebcd13f8c3a95abe3a9ef9f11a94830aa \ --hash=sha256:2f981d352f04553a7171b8e44369f2af4055f888dfb147d55e42d29e29e74559 \ --hash=sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa \ --hash=sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37 \ --hash=sha256:3537e01efc9d4dccdf77221fb1cb3b8e1a38d5428920e0657ce299b20324d758 \ --hash=sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f \ --hash=sha256:38664109c14ffc9e7437e86b4dceb442b0096dfe3541d7864d9cbe1da4cf36c8 \ --hash=sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d \ --hash=sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c \ --hash=sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97 \ --hash=sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a \ --hash=sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19 \ --hash=sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9 \ --hash=sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9 \ --hash=sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc \ --hash=sha256:591ae9f2a647529ca990bc681daebdd52c8791ff06c2bfa05b65163e28102ef2 \ --hash=sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4 \ --hash=sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354 \ --hash=sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50 \ --hash=sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698 \ --hash=sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9 \ --hash=sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b \ --hash=sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc \ --hash=sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115 \ --hash=sha256:7c3fb7d25180895632e5d3148dbdc29ea38ccb7fd210aa27acbd1201a1902c6e \ --hash=sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485 \ --hash=sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f \ --hash=sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12 \ --hash=sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025 \ --hash=sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009 \ --hash=sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d \ --hash=sha256:949b8d66bc381ee8b007cd945914c721d9aba8e27f71959d750a46f7c282b20b \ --hash=sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a \ --hash=sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5 \ --hash=sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f \ --hash=sha256:a320721ab5a1aba0a233739394eb907f8c8da5c98c9181d1161e77a0c8e36f2d \ --hash=sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1 \ --hash=sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287 \ --hash=sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6 \ --hash=sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f \ --hash=sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581 \ --hash=sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed \ --hash=sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b \ --hash=sha256:c0c0b3ade1c0b13b936d7970b1d37a57acde9199dc2aecc4c336773e1d86049c \ --hash=sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026 \ --hash=sha256:c4ffb7ebf07cfe8931028e3e4c85f0357459a3f9f9490886198848f4fa002ec8 \ --hash=sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676 \ --hash=sha256:d2ee202e79d8ed691ceebae8e0486bd9a2cd4794cec4824e1c99b6f5009502f6 \ --hash=sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e \ --hash=sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d \ --hash=sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d \ --hash=sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01 \ --hash=sha256:df2449253ef108a379b8b5d6b43f4b1a8e81a061d6537becd5582fba5f9196d7 \ --hash=sha256:e1c1493fb6e50ab01d20a22826e57520f1284df32f2d8601fdd90b6304601419 \ --hash=sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795 \ --hash=sha256:e2103a929dfa2fcaf9bb4e7c091983a49c9ac3b19c9061b6d5427dd7d14d81a1 \ --hash=sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5 \ --hash=sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d \ --hash=sha256:e8fc20152abba6b83724d7ff268c249fa196d8259ff481f3b1476383f8f24e42 \ --hash=sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe \ --hash=sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda \ --hash=sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e \ --hash=sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737 \ --hash=sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523 \ --hash=sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591 \ --hash=sha256:f71a396b3bf33ecaa1626c255855702aca4d3d9fea5e051b41ac59a9c1c41edc \ --hash=sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a \ --hash=sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50 # via # jinja2 # mkdocs # mkdocs-autorefs # mkdocstrings marshmallow==3.26.1 \ --hash=sha256:3350409f20a70a7e4e11a27661187b77cdcaeb20abca41c1454fe33636bea09c \ --hash=sha256:e6d8affb6cb61d39d26402096dc0aee12d5a26d490a121f118d2e81dc0719dc6 # via dataclasses-json mdx-gh-links==0.4 \ --hash=sha256:41d5aac2ab201425aa0a19373c4095b79e5e015fdacfe83c398199fe55ca3686 \ --hash=sha256:9057bca1fa5280bf1fcbf354381e46c9261cc32c2d5c0407801f8a910be5f099 # via -r requirements.in mergedeep==1.3.4 \ --hash=sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8 \ --hash=sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307 # via # mkdocs # mkdocs-get-deps mkdocs==1.6.1 \ --hash=sha256:7b432f01d928c084353ab39c57282f29f92136665bdd6abf7c1ec8d822ef86f2 \ --hash=sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e # via # -r requirements.in # mkdocs-autorefs # mkdocs-git-authors-plugin # mkdocs-git-committers-plugin-2 # mkdocs-git-revision-date-localized-plugin # mkdocs-literate-nav # mkdocs-material # mkdocs-minify-plugin # mkdocstrings mkdocs-autorefs==1.4.3 \ --hash=sha256:469d85eb3114801d08e9cc55d102b3ba65917a869b893403b8987b601cf55dc9 \ --hash=sha256:beee715b254455c4aa93b6ef3c67579c399ca092259cc41b7d9342573ff1fc75 # via # -r requirements.in # mkdocstrings # mkdocstrings-python mkdocs-click==0.9.0 \ --hash=sha256:5208e828f4f68f63c847c1ef7be48edee9964090390afc8f5b3d4cbe5ea9bbed \ --hash=sha256:6050917628d4740517541422b607404d044117bc31b770c4f9e9e1939a50c908 # via -r requirements.in mkdocs-get-deps==0.2.0 \ --hash=sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c \ --hash=sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134 # via mkdocs mkdocs-git-authors-plugin==0.10.0 \ --hash=sha256:28421a99c3e872a8e205674bb80ec48524838243e5f59eaf9bd97df103e38901 \ --hash=sha256:29d1973b2835663d79986fb756e02f1f0ff3fe35c278e993206bd3c550c205e4 # via -r requirements.in mkdocs-git-committers-plugin-2==2.5.0 \ --hash=sha256:1778becf98ccdc5fac809ac7b62cf01d3c67d6e8432723dffbb823307d1193c4 \ --hash=sha256:a01f17369e79ca28651681cddf212770e646e6191954bad884ca3067316aae60 # via -r requirements.in mkdocs-git-revision-date-localized-plugin==1.4.7 \ --hash=sha256:056c0a90242409148f1dc94d5c9d2c25b5b8ddd8de45489fa38f7fa7ccad2bc4 \ --hash=sha256:10a49eff1e1c3cb766e054b9d8360c904ce4fe8c33ac3f6cc083ac6459c91953 # via -r requirements.in mkdocs-literate-nav==0.6.2 \ --hash=sha256:0a6489a26ec7598477b56fa112056a5e3a6c15729f0214bea8a4dbc55bd5f630 \ --hash=sha256:760e1708aa4be86af81a2b56e82c739d5a8388a0eab1517ecfd8e5aa40810a75 # via -r requirements.in mkdocs-material==9.6.21 \ --hash=sha256:aa6a5ab6fb4f6d381588ac51da8782a4d3757cb3d1b174f81a2ec126e1f22c92 \ --hash=sha256:b01aa6d2731322438056f360f0e623d3faae981f8f2d8c68b1b973f4f2657870 # via -r requirements.in mkdocs-material-extensions==1.3.1 \ --hash=sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443 \ --hash=sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31 # via # -r requirements.in # mkdocs-material mkdocs-minify-plugin==0.8.0 \ --hash=sha256:5fba1a3f7bd9a2142c9954a6559a57e946587b21f133165ece30ea145c66aee6 \ --hash=sha256:bc11b78b8120d79e817308e2b11539d790d21445eb63df831e393f76e52e753d # via -r requirements.in mkdocstrings==0.30.1 \ --hash=sha256:41bd71f284ca4d44a668816193e4025c950b002252081e387433656ae9a70a82 \ --hash=sha256:84a007aae9b707fb0aebfc9da23db4b26fc9ab562eb56e335e9ec480cb19744f # via # -r requirements.in # mkdocstrings-python mkdocstrings-python==2.0.1 \ --hash=sha256:66ecff45c5f8b71bf174e11d49afc845c2dfc7fc0ab17a86b6b337e0f24d8d90 \ --hash=sha256:843a562221e6a471fefdd4b45cc6c22d2607ccbad632879234fa9692e9cf7732 # via mkdocstrings mypy-extensions==1.1.0 \ --hash=sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505 \ --hash=sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558 # via typing-inspect packaging==25.0 \ --hash=sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484 \ --hash=sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f # via # marshmallow # mkdocs # pyproject-api # pytest # tox paginate==0.5.7 \ --hash=sha256:22bd083ab41e1a8b4f3690544afb2c60c25e5c9a63a30fa2f483f6c60c8e5945 \ --hash=sha256:b885e2af73abcf01d9559fd5216b57ef722f8c42affbb63942377668e35c7591 # via # -r requirements.in # mkdocs-material pathspec==0.12.1 \ --hash=sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08 \ --hash=sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712 # via mkdocs platformdirs==4.5.1 \ --hash=sha256:61d5cdcc6065745cdd94f0f878977f8de9437be93de97c1c12f853c9c0cdcbda \ --hash=sha256:d03afa3963c806a9bed9d5125c8f4cb2fdaf74a55ab60e5d59b3fde758104d31 # via # mkdocs-get-deps # tox # virtualenv pluggy==1.6.0 \ --hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \ --hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746 # via # pytest # pytest-cov # tox pygments==2.19.2 \ --hash=sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 \ --hash=sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b # via # -r requirements.in # mkdocs-material # pytest pymdown-extensions==10.16.1 \ --hash=sha256:aace82bcccba3efc03e25d584e6a22d27a8e17caa3f4dd9f207e49b787aa9a91 \ --hash=sha256:d6ba157a6c03146a7fb122b2b9a121300056384eafeec9c9f9e584adfdb2a32d # via # -r requirements.in # mkdocs-material # mkdocstrings pyproject-api==1.10.0 \ --hash=sha256:40c6f2d82eebdc4afee61c773ed208c04c19db4c4a60d97f8d7be3ebc0bbb330 \ --hash=sha256:8757c41a79c0f4ab71b99abed52b97ecf66bd20b04fa59da43b5840bac105a09 # via tox pytest==8.4.1 \ --hash=sha256:539c70ba6fcead8e78eebbf1115e8b589e7565830d7d006a8723f19ac8a0afb7 \ --hash=sha256:7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c # via # -r requirements.in # pytest-cov # pytest-xdist # syrupy pytest-cov==7.0.0 \ --hash=sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1 \ --hash=sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861 # via -r requirements.in pytest-xdist==3.8.0 \ --hash=sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88 \ --hash=sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1 # via -r requirements.in python-dateutil==2.9.0.post0 \ --hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \ --hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427 # via # -r requirements.in # ghp-import pytz==2025.2 \ --hash=sha256:360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3 \ --hash=sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00 # via # -r requirements.in # mkdocs-git-revision-date-localized-plugin pyyaml==6.0.3 \ --hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \ --hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \ --hash=sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3 \ --hash=sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956 \ --hash=sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6 \ --hash=sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c \ --hash=sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65 \ --hash=sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a \ --hash=sha256:1ebe39cb5fc479422b83de611d14e2c0d3bb2a18bbcb01f229ab3cfbd8fee7a0 \ --hash=sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b \ --hash=sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1 \ --hash=sha256:22ba7cfcad58ef3ecddc7ed1db3409af68d023b7f940da23c6c2a1890976eda6 \ --hash=sha256:27c0abcb4a5dac13684a37f76e701e054692a9b2d3064b70f5e4eb54810553d7 \ --hash=sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e \ --hash=sha256:2e71d11abed7344e42a8849600193d15b6def118602c4c176f748e4583246007 \ --hash=sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310 \ --hash=sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4 \ --hash=sha256:3c5677e12444c15717b902a5798264fa7909e41153cdf9ef7ad571b704a63dd9 \ --hash=sha256:3ff07ec89bae51176c0549bc4c63aa6202991da2d9a6129d7aef7f1407d3f295 \ --hash=sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea \ --hash=sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0 \ --hash=sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e \ --hash=sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac \ --hash=sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9 \ --hash=sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7 \ --hash=sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35 \ --hash=sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb \ --hash=sha256:5cf4e27da7e3fbed4d6c3d8e797387aaad68102272f8f9752883bc32d61cb87b \ --hash=sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69 \ --hash=sha256:5ed875a24292240029e4483f9d4a4b8a1ae08843b9c54f43fcc11e404532a8a5 \ --hash=sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b \ --hash=sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c \ --hash=sha256:6344df0d5755a2c9a276d4473ae6b90647e216ab4757f8426893b5dd2ac3f369 \ --hash=sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd \ --hash=sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824 \ --hash=sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198 \ --hash=sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065 \ --hash=sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c \ --hash=sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c \ --hash=sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764 \ --hash=sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196 \ --hash=sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b \ --hash=sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00 \ --hash=sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac \ --hash=sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8 \ --hash=sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e \ --hash=sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28 \ --hash=sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3 \ --hash=sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5 \ --hash=sha256:9c57bb8c96f6d1808c030b1687b9b5fb476abaa47f0db9c0101f5e9f394e97f4 \ --hash=sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b \ --hash=sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf \ --hash=sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5 \ --hash=sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702 \ --hash=sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8 \ --hash=sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788 \ --hash=sha256:b865addae83924361678b652338317d1bd7e79b1f4596f96b96c77a5a34b34da \ --hash=sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d \ --hash=sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc \ --hash=sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c \ --hash=sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba \ --hash=sha256:c2514fceb77bc5e7a2f7adfaa1feb2fb311607c9cb518dbc378688ec73d8292f \ --hash=sha256:c3355370a2c156cffb25e876646f149d5d68f5e0a3ce86a5084dd0b64a994917 \ --hash=sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5 \ --hash=sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26 \ --hash=sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f \ --hash=sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b \ --hash=sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be \ --hash=sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c \ --hash=sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3 \ --hash=sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6 \ --hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \ --hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0 # via # mkdocs # mkdocs-get-deps # pymdown-extensions # pyyaml-env-tag pyyaml-env-tag==1.1 \ --hash=sha256:17109e1a528561e32f026364712fee1264bc2ea6715120891174ed1b980d2e04 \ --hash=sha256:2eb38b75a2d21ee0475d6d97ec19c63287a7e140231e4214969d0eac923cd7ff # via mkdocs regex==2025.9.18 \ --hash=sha256:032720248cbeeae6444c269b78cb15664458b7bb9ed02401d3da59fe4d68c3a5 \ --hash=sha256:039a9d7195fd88c943d7c777d4941e8ef736731947becce773c31a1009cb3c35 \ --hash=sha256:039f11b618ce8d71a1c364fdee37da1012f5a3e79b1b2819a9f389cd82fd6282 \ --hash=sha256:05440bc172bc4b4b37fb9667e796597419404dbba62e171e1f826d7d2a9ebcef \ --hash=sha256:06104cd203cdef3ade989a1c45b6215bf42f8b9dd705ecc220c173233f7cba41 \ --hash=sha256:065b6956749379d41db2625f880b637d4acc14c0a4de0d25d609a62850e96d36 \ --hash=sha256:0716e4d6e58853d83f6563f3cf25c281ff46cf7107e5f11879e32cb0b59797d9 \ --hash=sha256:0ac936537ad87cef9e0e66c5144484206c1354224ee811ab1519a32373e411f3 \ --hash=sha256:0c3506682ea19beefe627a38872d8da65cc01ffa25ed3f2e422dffa1474f0788 \ --hash=sha256:0cc3521060162d02bd36927e20690129200e5ac9d2c6d32b70368870b122db25 \ --hash=sha256:0dc6893b1f502d73037cf807a321cdc9be29ef3d6219f7970f842475873712ac \ --hash=sha256:0f0d676522d68c207828dcd01fb6f214f63f238c283d9f01d85fc664c7c85b56 \ --hash=sha256:0ffd9e230b826b15b369391bec167baed57c7ce39efc35835448618860995946 \ --hash=sha256:1137cabc0f38807de79e28d3f6e3e3f2cc8cfb26bead754d02e6d1de5f679203 \ --hash=sha256:12296202480c201c98a84aecc4d210592b2f55e200a1d193235c4db92b9f6788 \ --hash=sha256:13202e4c4ac0ef9a317fff817674b293c8f7e8c68d3190377d8d8b749f566e12 \ --hash=sha256:168be0d2f9b9d13076940b1ed774f98595b4e3c7fc54584bba81b3cc4181742e \ --hash=sha256:16bd2944e77522275e5ee36f867e19995bcaa533dcb516753a26726ac7285442 \ --hash=sha256:16eaf74b3c4180ede88f620f299e474913ab6924d5c4b89b3833bc2345d83b3d \ --hash=sha256:1a351aff9e07a2dabb5022ead6380cff17a4f10e4feb15f9100ee56c4d6d06af \ --hash=sha256:1b9d9a2d6cda6621551ca8cf7a06f103adf72831153f3c0d982386110870c4d3 \ --hash=sha256:1e85f73ef7095f0380208269055ae20524bfde3f27c5384126ddccf20382a638 \ --hash=sha256:1ef86a9ebc53f379d921fb9a7e42b92059ad3ee800fcd9e0fe6181090e9f6c23 \ --hash=sha256:220381f1464a581f2ea988f2220cf2a67927adcef107d47d6897ba5a2f6d51a4 \ --hash=sha256:274687e62ea3cf54846a9b25fc48a04459de50af30a7bd0b61a9e38015983494 \ --hash=sha256:29cd86aa7cb13a37d0f0d7c21d8d949fe402ffa0ea697e635afedd97ab4b69f1 \ --hash=sha256:2a40f929cd907c7e8ac7566ac76225a77701a6221bca937bdb70d56cb61f57b2 \ --hash=sha256:2e1eddc06eeaffd249c0adb6fafc19e2118e6308c60df9db27919e96b5656096 \ --hash=sha256:300e25dbbf8299d87205e821a201057f2ef9aa3deb29caa01cd2cac669e508d5 \ --hash=sha256:34d674cbba70c9398074c8a1fcc1a79739d65d1105de2a3c695e2b05ea728251 \ --hash=sha256:3810a65675845c3bdfa58c3c7d88624356dd6ee2fc186628295e0969005f928d \ --hash=sha256:385c9b769655cb65ea40b6eea6ff763cbb6d69b3ffef0b0db8208e1833d4e746 \ --hash=sha256:3acc471d1dd7e5ff82e6cacb3b286750decd949ecd4ae258696d04f019817ef8 \ --hash=sha256:3b524d010973f2e1929aeb635418d468d869a5f77b52084d9f74c272189c251d \ --hash=sha256:3d86b5247bf25fa3715e385aa9ff272c307e0636ce0c9595f64568b41f0a9c77 \ --hash=sha256:3dbcfcaa18e9480669030d07371713c10b4f1a41f791ffa5cb1a99f24e777f40 \ --hash=sha256:40532bff8a1a0621e7903ae57fce88feb2e8a9a9116d341701302c9302aef06e \ --hash=sha256:431bd2a8726b000eb6f12429c9b438a24062a535d06783a93d2bcbad3698f8a8 \ --hash=sha256:436e1b31d7efd4dcd52091d076482031c611dde58bf9c46ca6d0a26e33053a7e \ --hash=sha256:47acd811589301298c49db2c56bde4f9308d6396da92daf99cba781fa74aa450 \ --hash=sha256:48317233294648bf7cd068857f248e3a57222259a5304d32c7552e2284a1b2ad \ --hash=sha256:4a12a06c268a629cb67cc1d009b7bb0be43e289d00d5111f86a2efd3b1949444 \ --hash=sha256:4b8cdbddf2db1c5e80338ba2daa3cfa3dec73a46fff2a7dda087c8efbf12d62f \ --hash=sha256:4baeb1b16735ac969a7eeecc216f1f8b7caf60431f38a2671ae601f716a32d25 \ --hash=sha256:4dc98ba7dd66bd1261927a9f49bd5ee2bcb3660f7962f1ec02617280fc00f5eb \ --hash=sha256:4f130c3a7845ba42de42f380fff3c8aebe89a810747d91bcf56d40a069f15352 \ --hash=sha256:50e8290707f2fb8e314ab3831e594da71e062f1d623b05266f8cfe4db4949afd \ --hash=sha256:51076980cd08cd13c88eb7365427ae27f0d94e7cebe9ceb2bb9ffdae8fc4d82a \ --hash=sha256:5514b8e4031fdfaa3d27e92c75719cbe7f379e28cacd939807289bce76d0e35a \ --hash=sha256:57929d0f92bebb2d1a83af372cd0ffba2263f13f376e19b1e4fa32aec4efddc3 \ --hash=sha256:57a161bd3acaa4b513220b49949b07e252165e6b6dc910ee7617a37ff4f5b425 \ --hash=sha256:5adf266f730431e3be9021d3e5b8d5ee65e563fec2883ea8093944d21863b379 \ --hash=sha256:5db95ff632dbabc8c38c4e82bf545ab78d902e81160e6e455598014f0abe66b9 \ --hash=sha256:5f96fa342b6f54dcba928dd452e8d8cb9f0d63e711d1721cd765bb9f73bb048d \ --hash=sha256:6479d5555122433728760e5f29edb4c2b79655a8deb681a141beb5c8a025baea \ --hash=sha256:65d3c38c39efce73e0d9dc019697b39903ba25b1ad45ebbd730d2cf32741f40d \ --hash=sha256:6a4b44df31d34fa51aa5c995d3aa3c999cec4d69b9bd414a8be51984d859f06d \ --hash=sha256:6a52219a93dd3d92c675383efff6ae18c982e2d7651c792b1e6d121055808743 \ --hash=sha256:6b498437c026a3d5d0be0020023ff76d70ae4d77118e92f6f26c9d0423452446 \ --hash=sha256:726177ade8e481db669e76bf99de0b278783be8acd11cef71165327abd1f170a \ --hash=sha256:7b47fcf9f5316c0bdaf449e879407e1b9937a23c3b369135ca94ebc8d74b1742 \ --hash=sha256:7c9f285a071ee55cd9583ba24dde006e53e17780bb309baa8e4289cd472bcc47 \ --hash=sha256:7cc9e5525cada99699ca9223cce2d52e88c52a3d2a0e842bd53de5497c604164 \ --hash=sha256:7e2b414deae99166e22c005e154a5513ac31493db178d8aec92b3269c9cce8c9 \ --hash=sha256:828446870bd7dee4e0cbeed767f07961aa07f0ea3129f38b3ccecebc9742e0b8 \ --hash=sha256:8620d247fb8c0683ade51217b459cb4a1081c0405a3072235ba43a40d355c09a \ --hash=sha256:874ff523b0fecffb090f80ae53dc93538f8db954c8bb5505f05b7787ab3402a0 \ --hash=sha256:87f681bfca84ebd265278b5daa1dcb57f4db315da3b5d044add7c30c10442e61 \ --hash=sha256:8900b3208e022570ae34328712bef6696de0804c122933414014bae791437ab2 \ --hash=sha256:895197241fccf18c0cea7550c80e75f185b8bd55b6924fcae269a1a92c614a07 \ --hash=sha256:8e5f41ad24a1e0b5dfcf4c4e5d9f5bd54c895feb5708dd0c1d0d35693b24d478 \ --hash=sha256:8f9698b6f6895d6db810e0bda5364f9ceb9e5b11328700a90cae573574f61eea \ --hash=sha256:9098e29b3ea4ffffeade423f6779665e2a4f8db64e699c0ed737ef0db6ba7b12 \ --hash=sha256:90b6b7a2d0f45b7ecaaee1aec6b362184d6596ba2092dd583ffba1b78dd0231c \ --hash=sha256:92a8e375ccdc1256401c90e9dc02b8642894443d549ff5e25e36d7cf8a80c783 \ --hash=sha256:9feb29817df349c976da9a0debf775c5c33fc1c8ad7b9f025825da99374770b7 \ --hash=sha256:a021217b01be2d51632ce056d7a837d3fa37c543ede36e39d14063176a26ae29 \ --hash=sha256:a276937d9d75085b2c91fb48244349c6954f05ee97bba0963ce24a9d915b8b68 \ --hash=sha256:a295916890f4df0902e4286bc7223ee7f9e925daa6dcdec4192364255b70561a \ --hash=sha256:a61e85bfc63d232ac14b015af1261f826260c8deb19401c0597dbb87a864361e \ --hash=sha256:a78722c86a3e7e6aadf9579e3b0ad78d955f2d1f1a8ca4f67d7ca258e8719d4b \ --hash=sha256:ae77e447ebc144d5a26d50055c6ddba1d6ad4a865a560ec7200b8b06bc529368 \ --hash=sha256:ae9b3840c5bd456780e3ddf2f737ab55a79b790f6409182012718a35c6d43282 \ --hash=sha256:b176326bcd544b5e9b17d6943f807697c0cb7351f6cfb45bf5637c95ff7e6306 \ --hash=sha256:b7531a8ef61de2c647cdf68b3229b071e46ec326b3138b2180acb4275f470b01 \ --hash=sha256:b80fa342ed1ea095168a3f116637bd1030d39c9ff38dc04e54ef7c521e01fc95 \ --hash=sha256:bbb9246568f72dce29bcd433517c2be22c7791784b223a810225af3b50d1aafb \ --hash=sha256:bc4b8e9d16e20ddfe16430c23468a8707ccad3365b06d4536142e71823f3ca29 \ --hash=sha256:c190af81e5576b9c5fdc708f781a52ff20f8b96386c6e2e0557a78402b029f4a \ --hash=sha256:c204e93bf32cd7a77151d44b05eb36f469d0898e3fba141c026a26b79d9914a0 \ --hash=sha256:c28821d5637866479ec4cc23b8c990f5bc6dd24e5e4384ba4a11d38a526e1414 \ --hash=sha256:c5ba23274c61c6fef447ba6a39333297d0c247f53059dba0bca415cac511edc4 \ --hash=sha256:c6db75b51acf277997f3adcd0ad89045d856190d13359f15ab5dda21581d9129 \ --hash=sha256:c81b892af4a38286101502eae7aec69f7cd749a893d9987a92776954f3943408 \ --hash=sha256:c90471671c2cdf914e58b6af62420ea9ecd06d1554d7474d50133ff26ae88feb \ --hash=sha256:d13ab0490128f2bb45d596f754148cd750411afc97e813e4b3a61cf278a23bb6 \ --hash=sha256:d3bc882119764ba3a119fbf2bd4f1b47bc56c1da5d42df4ed54ae1e8e66fdf8f \ --hash=sha256:d488c236ac497c46a5ac2005a952c1a0e22a07be9f10c3e735bc7d1209a34773 \ --hash=sha256:d4a691494439287c08ddb9b5793da605ee80299dd31e95fa3f323fac3c33d9d4 \ --hash=sha256:d59ecf3bb549e491c8104fea7313f3563c7b048e01287db0a90485734a70a730 \ --hash=sha256:dbef80defe9fb21310948a2595420b36c6d641d9bea4c991175829b2cc4bc06a \ --hash=sha256:dec57f96d4def58c422d212d414efe28218d58537b5445cf0c33afb1b4768571 \ --hash=sha256:dfbde38f38004703c35666a1e1c088b778e35d55348da2b7b278914491698d6a \ --hash=sha256:e1dd06f981eb226edf87c55d523131ade7285137fbde837c34dc9d1bf309f459 \ --hash=sha256:e3ef8cf53dc8df49d7e28a356cf824e3623764e9833348b655cfed4524ab8a90 \ --hash=sha256:e4121f1ce2b2b5eec4b397cc1b277686e577e658d8f5870b7eb2d726bd2300ab \ --hash=sha256:ec46332c41add73f2b57e2f5b642f991f6b15e50e9f86285e08ffe3a512ac39f \ --hash=sha256:ef8d10cc0989565bcbe45fb4439f044594d5c2b8919d3d229ea2c4238f1d55b0 \ --hash=sha256:f04d2f20da4053d96c08f7fde6e1419b7ec9dbcee89c96e3d731fca77f411b95 \ --hash=sha256:f2f422214a03fab16bfa495cfec72bee4aaa5731843b771860a471282f1bf74f \ --hash=sha256:f4d97071c0ba40f0cf2a93ed76e660654c399a0a04ab7d85472239460f3da84b \ --hash=sha256:f5cca697da89b9f8ea44115ce3130f6c54c22f541943ac8e9900461edc2b8bd4 \ --hash=sha256:fb137ec7c5c54f34a25ff9b31f6b7b0c2757be80176435bf367111e3f71d72df \ --hash=sha256:fb967eb441b0f15ae610b7069bdb760b929f267efbf522e814bbbfffdf125ce2 \ --hash=sha256:fe5d50572bc885a0a799410a717c42b1a6b50e2f45872e2b40f4f288f9bce8a2 # via -r requirements.in requests==2.32.5 \ --hash=sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6 \ --hash=sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf # via # -r requirements.in # mkdocs-git-committers-plugin-2 # mkdocs-material # requests-mock requests-mock==1.12.1 \ --hash=sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563 \ --hash=sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401 # via -r requirements.in six==1.17.0 \ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 # via python-dateutil smmap==5.0.2 \ --hash=sha256:26ea65a03958fa0c8a1c7e8c7a58fdc77221b8910f6be2131affade476898ad5 \ --hash=sha256:b30115f0def7d7531d22a0fb6502488d879e75b260a9db4d0819cfb25403af5e # via gitdb syrupy==5.0.0 \ --hash=sha256:3282fe963fa5d4d3e47231b16d1d4d0f4523705e8199eeb99a22a1bc9f5942f2 \ --hash=sha256:c848e1a980ca52a28715cd2d2b4d434db424699c05653bd1158fb31cf56e9546 # via -r requirements.in tox==4.30.3 \ --hash=sha256:a9f17b4b2d0f74fe0d76207236925a119095011e5c2e661a133115a8061178c9 \ --hash=sha256:f3dd0735f1cd4e8fbea5a3661b77f517456b5f0031a6256432533900e34b90bf # via -r requirements.in typing-extensions==4.15.0 \ --hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \ --hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548 # via typing-inspect typing-inspect==0.9.0 \ --hash=sha256:9ee6fc59062311ef8547596ab6b955e1b8aa46242d854bfc78f4f6b0eff35f9f \ --hash=sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78 # via dataclasses-json urllib3==2.6.1 \ --hash=sha256:5379eb6e1aba4088bae84f8242960017ec8d8e3decf30480b3a1abdaa9671a3f \ --hash=sha256:e67d06fe947c36a7ca39f4994b08d73922d40e6cca949907be05efa6fd75110b # via requests virtualenv==20.35.4 \ --hash=sha256:643d3914d73d3eeb0c552cbb12d7e82adf0e504dbf86a3182f8771a153a1971c \ --hash=sha256:c21c9cede36c9753eeade68ba7d523529f228a403463376cf821eaae2b650f1b # via tox watchdog==6.0.0 \ --hash=sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a \ --hash=sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2 \ --hash=sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f \ --hash=sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c \ --hash=sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c \ --hash=sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c \ --hash=sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0 \ --hash=sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13 \ --hash=sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134 \ --hash=sha256:7a0e56874cfbc4b9b05c60c8a1926fedf56324bb08cfbc188969777940aef3aa \ --hash=sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e \ --hash=sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379 \ --hash=sha256:90c8e78f3b94014f7aaae121e6b909674df5b46ec24d6bebc45c44c56729af2a \ --hash=sha256:9513f27a1a582d9808cf21a07dae516f0fab1cf2d7683a742c498b93eedabb11 \ --hash=sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282 \ --hash=sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b \ --hash=sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f \ --hash=sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c \ --hash=sha256:bc64ab3bdb6a04d69d4023b29422170b74681784ffb9463ed4870cf2f3e66112 \ --hash=sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948 \ --hash=sha256:c7ac31a19f4545dd92fc25d200694098f42c9a8e391bc00bdd362c5736dbf881 \ --hash=sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860 \ --hash=sha256:c897ac1b55c5a1461e16dae288d22bb2e412ba9807df8397a635d88f671d36c3 \ --hash=sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680 \ --hash=sha256:d1cdb490583ebd691c012b3d6dae011000fe42edb7a82ece80965b42abd61f26 \ --hash=sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26 \ --hash=sha256:e6439e374fc012255b4ec786ae3c4bc838cd7309a540e5fe0952d03687d8804e \ --hash=sha256:e6f0e77c9417e7cd62af82529b10563db3423625c5fce018430b249bf977f9e8 \ --hash=sha256:e7631a77ffb1f7d2eefa4445ebbee491c720a5661ddf6df3498ebecae5ed375c \ --hash=sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2 # via # -r requirements.in # mkdocs Ludy87-pyecotrend-ista-10e3acc/src/000077500000000000000000000000001511651160300171655ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/000077500000000000000000000000001511651160300223615ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/__init__.py000066400000000000000000000012331511651160300244710ustar00rootroot00000000000000"""PyEcotrend Ista.""" # numpydoc ignore=EX01,ES01 from .exception_classes import ( KeycloakAuthenticationError, KeycloakError, KeycloakGetError, KeycloakInvalidTokenError, KeycloakOperationError, KeycloakPostError, LoginError, ParserError, ServerError, ) from .pyecotrend_ista import PyEcotrendIsta from .types import ConsumptionsResponse __all__ = [ "ConsumptionsResponse", "KeycloakAuthenticationError", "KeycloakError", "KeycloakGetError", "KeycloakInvalidTokenError", "KeycloakOperationError", "KeycloakPostError", "LoginError", "ParserError", "PyEcotrendIsta", "ServerError", ] Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/__version.py000066400000000000000000000001651511651160300247200ustar00rootroot00000000000000"""Module containing the version information for the project.""" # numpydoc ignore=EX01,ES01 __version__ = "3.5.0" Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/const.py000066400000000000000000000010661511651160300240640ustar00rootroot00000000000000"""Constants for PyEcotrendIsta.""" # numpydoc ignore=EX01,ES01 from pyecotrend_ista.__version import __version__ VERSION = __version__ API_BASE_URL = "https://api.prod.eed.ista.com/" DEMO_USER_ACCOUNT = "demo@ista.de" PROVIDER_URL = "https://keycloak.ista.com/realms/eed-prod/protocol/openid-connect/" REDIRECT_URI = "https://ecotrend.ista.de/login-redirect" CLIENT_ID = "ecotrend" SCOPE = "openid" RESPONSE_MODE = "fragment" RESPONSE_TYPE = "code" GRANT_TYPE_REFRESH_TOKEN = "refresh_token" GRANT_TYPE_AUTHORIZATION_CODE = "authorization_code" TIMEOUT = 10 Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/exception_classes.py000066400000000000000000000150711511651160300264520ustar00rootroot00000000000000"""Exception Class.""" # numpydoc ignore=ES01,EX01 from __future__ import annotations from collections.abc import Callable from typing import TypeVar import warnings T = TypeVar("T") def deprecated(func: Callable[..., T], alias_func: str | None = None) -> Callable[..., T]: # numpydoc ignore=ES01,PR01,PR02,PR04,PR10,EX01 """ Decorate a function as deprecated and emit a warning when called. Parameters ---------- func: Callable[..., T]) The function to be marked as deprecated. alias_func : str, optional The real function name to show as deprecated, in case the function was called through an alias. Returns ------- Callable[..., T] A wrapper function that emits a deprecation warning when called. """ def deprecated_func(*args, **kwargs): # numpydoc ignore=ES01,SA01,EX01 """ Emit a deprecation warning and call the decorated function. Parameters ---------- *args : tuple Positional arguments passed to the decorated function. **kwargs : dict Keyword arguments passed to the decorated function. Returns ------- T The return value of the decorated function. """ if alias_func: warning_message = ( f"The `{alias_func}` function is deprecated and will be removed in a future release. " f"Use `{func.__name__}` instead." ) else: warning_message = f"The `{func.__name__}` function is deprecated and will be removed in a future release." warnings.warn(warning_message, category=DeprecationWarning, stacklevel=2) return func(*args, **kwargs) return deprecated_func class BaseError(Exception): # numpydoc ignore=ES01,EX01 """Base class for exceptions in this module. This is the base class for all custom exceptions in the module. It inherits from Python's built-in Exception class and can be used to catch errors specific to this module. """ class ServerError(BaseError): # numpydoc ignore=ES01,EX01 """Exception raised for server errors during requests. This exception is raised when a exception occurs during a request. It inherits from BaseError and can be used to handle server-related issues specifically. """ def __str__(self) -> str: """Return a string representation of the error..""" return "Server error occurred during the request" class LoginError(BaseError): # numpydoc ignore=ES01,EX01 """Exception raised for login- and authentication related errors. This exception is raised when an authentication exception occurs during a request. It inherits from BaseError and is used specifically to handle issues related to authentication and login. """ def __str__(self) -> str: """Return a string representation of an authentication error.""" return "An authentication error occurred during the request" class ParserError(ServerError): # numpydoc ignore=ES01,EX01 """Exception raised for errors encountered during parsing. This exception is raised when an error occurs during the parsing process of the request response. It inherits from BaseError and can be used to handle issues specifically related to parsing. """ def __str__(self) -> str: """Return a string representation of parser error.""" return "Error occurred during parsing of the request response" # The MIT License (MIT) # # Copyright (C) 2017 Marcos Pereira # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of # the Software, and to permit persons to whom the Software is furnished to do so, # subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # Source from # https://github.com/marcospereirampj/python-keycloak/blob/c98189ca6951f12f1023ed3370c9aaa0d81e4aa4/src/keycloak/exceptions.py # Keycloak custom exceptions module. class KeycloakError(Exception): # numpydoc ignore=ES01,EX01,PR01 """Base class for custom Keycloak errors.""" def __init__(self, error_message="", response_code=None, response_body=None): # numpydoc ignore=ES01,EX01 """Init method. Parameters ---------- error_message : str, optional The error message (default is an empty string). response_code : int, optional The code of the response (default is None). response_body : bytes, optional Body of the response (default is None). """ Exception.__init__(self, error_message) self.response_code = response_code self.response_body = response_body self.error_message = error_message def __str__(self): """Str method. Returns ------- str String representation of the object. """ if self.response_code is not None: return f"{self.response_code}: {self.error_message}" return f"{self.error_message}" class KeycloakAuthenticationError(KeycloakError): # numpydoc ignore=ES01,EX01 """Keycloak authentication error exception.""" class KeycloakOperationError(KeycloakError): # numpydoc ignore=ES01,EX01 """Keycloak operation error exception.""" class KeycloakGetError(KeycloakOperationError): # numpydoc ignore=ES01,EX01 """Keycloak request get error exception.""" class KeycloakPostError(KeycloakOperationError): # numpydoc ignore=ES01,EX01 """Keycloak request post error exception.""" class KeycloakCodeNotFound(KeycloakOperationError): # noqa: N818 numpydoc ignore=ES01,EX01 """Keycloak Code not found exception.""" class KeycloakInvalidTokenError(KeycloakOperationError): # numpydoc ignore=ES01,EX01 """Keycloak invalid token exception.""" Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/helper_object_de.py000066400000000000000000000355341511651160300262220ustar00rootroot00000000000000"""Dataclasses.""" # numpydoc ignore=EX01,ES01 from __future__ import annotations from dataclasses import dataclass from dataclasses_json import DataClassJsonMixin, dataclass_json # pylint: disable=invalid-name @dataclass_json @dataclass class AverageConsumption(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Represents average consumption data. Attributes ---------- averageConsumptionValue : float Average consumption value. residentConsumptionValue : float Resident consumption value. averageConsumptionPercentage : int Percentage of average consumption. residentConsumptionPercentage : int Percentage of resident consumption. additionalAverageConsumptionValue : float Additional average consumption value. additionalResidentConsumptionValue : float Additional resident consumption value. additionalAverageConsumptionPercentage : int Percentage of additional average consumption. additionalResidentConsumptionPercentage : int Percentage of additional resident consumption. """ averageConsumptionValue: float # noqa: N815 residentConsumptionValue: float # noqa: N815 averageConsumptionPercentage: int # noqa: N815 residentConsumptionPercentage: int # noqa: N815 additionalAverageConsumptionValue: float # noqa: N815 additionalResidentConsumptionValue: float # noqa: N815 additionalAverageConsumptionPercentage: int # noqa: N815 additionalResidentConsumptionPercentage: int # noqa: N815 # pylint: disable=no-member def replace_point(self): # numpydoc ignore=ES01,EX01 """Replace commas with periods in specific attributes.""" for _field in self.__dataclass_fields__.values(): if _field.name in [ "averageConsumptionValue", "residentConsumptionValue", "additionalAverageConsumptionValue", "additionalResidentConsumptionValue", ]: if isinstance(getattr(self, _field.name), str): setattr(self, _field.name, float(getattr(self, _field.name).replace(",", "."))) def __post_init__(self): # numpydoc ignore=ES01,EX01 """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class ComparedConsumption(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """ Represents compared consumption data. Attributes ---------- lastYearValue : float, optional Last year's consumption value. period : Date, optional Period represented by month and year. smiley : str, optional Smiley indicator representing satisfaction level. comparedPercentage : int, optional Percentage comparison with another consumption value. comparedValue : float, optional Value comparison with another consumption. """ lastYearValue: float | None = None # noqa: N815 period: Date | None = None smiley: str | None = None comparedPercentage: int | None = None # noqa: N815 comparedValue: float | None = None # noqa: N815 # pylint: disable=no-member def replace_point(self): # numpydoc ignore=ES01,EX01 """Replace commas with periods in specific attributes.""" for _field in self.__dataclass_fields__.values(): if _field.name in ["lastYearValue", "comparedValue"]: if isinstance(getattr(self, _field.name), str): setattr(self, _field.name, float(getattr(self, _field.name).replace(",", "."))) else: setattr(self, _field.name, float(getattr(self, _field.name))) def __post_init__(self): # numpydoc ignore=ES01,EX01 """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class Consumption(DataClassJsonMixin): # numpydoc ignore=ES01,EX01,PR02 """Data class representing consumption. Parameters ---------- type : str Type of consumption. value : float Value of the consumption. unit : str Unit of measurement for the consumption value. additionalValue : float Additional value associated with the consumption. additionalUnit : str Unit of measurement for the additional value. estimated : bool Flag indicating if the consumption is estimated. comparedConsumption : ComparedConsumption, optional Optional comparison with another consumption instance. comparedCost : ComparedConsumption, optional Optional comparison with another cost related to consumption. averageConsumption : AverageConsumption, optional Optional average consumption data. """ type: str value: float unit: str additionalValue: float # noqa: N815 additionalUnit: str # noqa: N815 estimated: bool comparedConsumption: ComparedConsumption | None # noqa: N815 comparedCost: ComparedConsumption | None # noqa: N815 averageConsumption: AverageConsumption | None # field(default_factory=AverageConsumption) # noqa: N815 # pylint: disable=no-member def replace_point(self): # numpydoc ignore=ES01,EX01 """Replace commas with periods in specific attributes.""" for _field in self.__dataclass_fields__.values(): if _field.name in ["value", "additionalValue"]: if isinstance(getattr(self, _field.name), str): setattr(self, _field.name, float(getattr(self, _field.name).replace(",", "."))) def __post_init__(self): # numpydoc ignore=ES01,EX01 """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class Cost(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing cost information. Attributes ---------- type : str The type of cost. value : int The numerical value of the cost. unit : str The monetary unit for the cost value. estimated : bool Indicates whether the cost is estimated or not. comparedCost : ComparedConsumption, optional Object containing compared consumption data, if available. """ type: str value: int unit: str estimated: bool comparedCost: ComparedConsumption | None # noqa: N815 @dataclass_json @dataclass class Date(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing a date with month and year. Attributes ---------- month : int The month of the date. year : int The year of the date. """ month: int year: int @dataclass_json @dataclass class LastValue(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing last values. Attributes ---------- heating : float, optional The last recorded heating value. warmwater : float, optional The last recorded warm water value. water : float, optional The last recorded water value. month : int, optional The month of the last recorded values. year : int, optional The year of the last recorded values. ww : str, optional Additional attribute description related to warm water. w : str, optional Additional attribute description related to water. h : str, optional Additional attribute description related to heating. """ heating: float | None = None warmwater: float | None = None water: float | None = None month: int | None = None year: int | None = None ww: str | None = None w: str | None = None h: str | None = None @dataclass_json @dataclass class LastCustomValue(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing last custom values. Attributes ---------- heating : float, optional The last recorded custom heating value. warmwater : float, optional The last recorded custom warm water value. water : float, optional The last recorded custom water value. month : int, optional The month of the last recorded custom values. year : int, optional The year of the last recorded custom values. ww : str, optional Additional warm water attribute description. w : str, optional Additional water attribute description. h : str, optional Additional heating attribute description. """ heating: float | None = None warmwater: float | None = None water: float | None = None month: int | None = None year: int | None = None ww: str | None = None w: str | None = None h: str | None = None @dataclass_json @dataclass class LastCosts(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing last costs. Attributes ---------- heating : float, optional The last recorded heating cost. warmwater : float, optional The last recorded warm water cost. water : float, optional The last recorded water cost. month : int, optional The month of the last recorded costs. year : int, optional The year of the last recorded costs. unit : str, optional The monetary unit for the costs. """ heating: float | None = None warmwater: float | None = None water: float | None = None month: int | None = None year: int | None = None unit: str | None = None @dataclass_json @dataclass class CombinedData(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class representing combined data. Attributes ---------- date : Date The date associated with the combined data. consumptions : list of Consumption List of consumptions associated with the combined data. costs : list of Cost List of costs associated with the combined data. """ date: Date consumptions: list[Consumption] costs: list[Cost] @dataclass_json @dataclass class TotalAdditionalValues(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class for representing total additional values. Attributes ---------- heating : float or None, optional Total additional value for heating, or None if not available. Default is None. warmwater : float or None, optional Total additional value for warm water, or None if not available. Default is None. water : float or None, optional Total additional value for water, or None if not available. Default is None. ww : str or None, optional A string representation for warm water, or None if not available. Default is None. w : str or None, optional A string representation for water, or None if not available. Default is None. h : str or None, optional A string representation for heating, or None if not available. Default is None. """ heating: float | None = None warmwater: float | None = None water: float | None = None ww: str | None = None w: str | None = None h: str | None = None @dataclass_json @dataclass class TotalAdditionalCustomValues(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class for representing total additional custom values. Attributes ---------- heating : float or None, optional Total additional custom value for heating, or None if not available. Default is None. warmwater : float or None, optional Total additional custom value for warm water, or None if not available. Default is None. water : float or None, optional Total additional custom value for water, or None if not available. Default is None. ww : str or None, optional A string representation for warm water, or None if not available. Default is None. w : str or None, optional A string representation for water, or None if not available. Default is None. h : str or None, optional A string representation for heating, or None if not available. Default is None. """ heating: float | None = None warmwater: float | None = None water: float | None = None ww: str | None = None w: str | None = None h: str | None = None @dataclass_json @dataclass class SumByYear(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class for representing the sum of values grouped by year. Attributes ---------- heating : dict of int to float or None, optional A dictionary mapping years to heating values, or None if not available. Default is None. warmwater : dict of int to float or None, optional A dictionary mapping years to warm water values, or None if not available. Default is None. water : dict of int to float or None, optional A dictionary mapping years to water values, or None if not available. Default is None. ww : str or None, optional A string representation for warm water, or None if not available. Default is None. w : str or None, optional A string representation for water, or None if not available. Default is None. h : str or None, optional A string representation for heating, or None if not available. Default is None. """ heating: dict[int, float] | None = None warmwater: dict[int, float] | None = None water: dict[int, float] | None = None ww: str | None = None w: str | None = None h: str | None = None @dataclass_json @dataclass class CustomRaw(DataClassJsonMixin): # numpydoc ignore=ES01,EX01 """Data class for representing custom raw data. Attributes ---------- consum_types : list of str or None A list of consumption types or None if not available. combined_data : list of CombinedData or None A list of combined data entries or None if not available. total_additional_values : TotalAdditionalValues The total for additional values. total_additional_custom_values : TotalAdditionalCustomValues The total for additional custom values. last_value : LastValue or None The last value recorded or None if not available. last_custom_value : LastCustomValue or None The last custom value recorded or None if not available. all_dates : list of Date or None A list of all relevant dates or None if not available. sum_by_year : SumByYear The sum of values grouped by year. last_costs : LastCosts or None The last recorded costs or None if not available. last_year_compared_consumption : dict of str to ComparedConsumption or None A dictionary with last year's compared consumption values or None if not available. """ consum_types: list[str] | None combined_data: list[CombinedData] | None total_additional_values: TotalAdditionalValues total_additional_custom_values: TotalAdditionalCustomValues last_value: LastValue | None last_custom_value: LastCustomValue | None all_dates: list[Date] | None sum_by_year: SumByYear last_costs: LastCosts | None last_year_compared_consumption: dict[str, ComparedConsumption] | None Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/login_helper.py000066400000000000000000000334051511651160300254070ustar00rootroot00000000000000"""Login helper for Keycloak.""" # numpydoc ignore=EX01,ES01 from __future__ import annotations import html import logging import re from typing import Any, cast import urllib.parse import requests from requests.adapters import HTTPAdapter, Retry from .const import ( CLIENT_ID, DEMO_USER_ACCOUNT, GRANT_TYPE_AUTHORIZATION_CODE, GRANT_TYPE_REFRESH_TOKEN, PROVIDER_URL, REDIRECT_URI, RESPONSE_MODE, RESPONSE_TYPE, SCOPE, TIMEOUT, ) from .exception_classes import ( KeycloakAuthenticationError, KeycloakCodeNotFound, KeycloakGetError, KeycloakInvalidTokenError, KeycloakOperationError, KeycloakPostError, ) from .types import GetTokenResponse class LoginHelper: # numpydoc ignore=ES01,EX01,PR01 """Login helper for Keycloak. Attributes ---------- session : requests.Session Optional session object for making HTTP requests. username : str Username for authentication. password : str Password for authentication. cookie : str Authentication cookie. auth_code : str Authorization code. form_action : str Form action URL for authentication. Notes ----- This class provides utility methods for handling authentication and session management using Keycloak. """ session: requests.Session cookie: str auth_code: str form_action: str def __init__( self, username: str, password: str, totp: str | None = None, session: requests.Session | None = None, logger=None, ) -> None: # numpydoc ignore=ES01,EX01 """Initialize the object with username and password. Parameters ---------- username : str Username for authentication. password : str Password for authentication. totp : str, optional Time-based One-Time Password if enabled, by default None. session : requests.Session, optional Optional session object for making HTTP requests, by default None. logger : logging.Logger, optional Logger object for logging messages, by default None. """ self.username: str = username self.password: str = password self.totp: str | None = totp self.session = session or requests.Session() self.session.verify = True retries = Retry(total=5, backoff_factor=1, status_forcelist=[502, 503, 504, 408]) self.session.mount("https://", HTTPAdapter(max_retries=retries)) self.logger = logger or logging.getLogger(__name__) def _send_request(self, method, url, **kwargs) -> requests.Response: # numpydoc ignore=ES01,EX01 """Send an HTTP request using the session object. Parameters ---------- method : str HTTP method for the request (e.g., 'GET', 'POST', 'PUT', 'DELETE'). url : str URL to send the request to. **kwargs : dict Additional keyword arguments to pass to `session.request`. Returns ------- requests.Response Response object returned by the HTTP request. Raises ------ ValueError If `self.session` is not initialized (i.e., is `None`). KeycloakOperationError If an HTTP request exception (`requests.RequestException`) occurs. """ if self.session is None: raise ValueError("Session object is not initialized.") try: response = self.session.request(method, url, **kwargs) self.logger.debug("Performed %s request: %s [%s]:\n%s", method, url, response.status_code, response.text[:100]) response.raise_for_status() except requests.RequestException as e: raise KeycloakOperationError from e return response def _login(self) -> None: # numpydoc ignore=ES01,EX01 """Log in to ista EcoTrend. Raises ------ KeycloakAuthenticationError If an authentication error occurs during the login process. """ try: self.auth_code = self._get_auth_code() except KeycloakAuthenticationError as error: raise KeycloakAuthenticationError(error.error_message) from error def _get_auth_code(self) -> str: # numpydoc ignore=ES01,EX01 """ Retrieve the authentication code for ista EcoTrend. Returns ------- str The authentication code obtained from the ista EcoTrend API. Raises ------ KeycloakAuthenticationError If an authentication error occurs during the login process. KeycloakCodeNotFound If the authentication code ('code') is not found in the redirection URL parameters. """ cookie, form_action = self._get_cookie_and_action() resp: requests.Response = self._send_request( "POST", form_action, data={ "username": self.username, "password": self.password, "login": "Login", "credentialId": None, }, headers={"Cookie": cookie}, timeout=TIMEOUT, allow_redirects=False, ) # If the response code is not 302 # raise_error_from_response(resp, KeycloakAuthenticationError, expected_codes=[302]) if resp.status_code != 302: if resp.status_code == 200: form_action = re.search(r' tuple: # numpydoc ignore=ES01,EX01 """Retrieve the cookie and action URL from the OpenID Connect provider. Returns ------- tuple[str, str] A tuple containing the cookie obtained from the response headers and the action URL extracted from the HTML form. Raises ------ KeycloakGetError If the GET request to the OpenID Connect provider returns a non-200 status code. """ form_action = None resp: requests.Response = self._send_request( "GET", url=f"{PROVIDER_URL}auth", params={ "response_mode": RESPONSE_MODE, # fragment "response_type": RESPONSE_TYPE, # code "client_id": CLIENT_ID, "scope": SCOPE, "redirect_uri": REDIRECT_URI, }, timeout=TIMEOUT, allow_redirects=False, ) # If the response code is not 200 raise an exception. raise_error_from_response(resp, KeycloakGetError) cookie = resp.headers["Set-Cookie"] cookie = "; ".join(c.split(";")[0] for c in cookie.split(", ")) search = re.search(r' tuple: # numpydoc ignore=ES01,EX01 """Refresh the access token using the provided refresh token. Parameters ---------- refresh_token : str The refresh token obtained from previous authentication. Returns ------- tuple[str, int, str] Tuple containing the refreshed access token, its expiration time in seconds, and the new refresh token. """ resp: requests.Response = self._send_request( "POST", url=f"{PROVIDER_URL}token", data={ "grant_type": GRANT_TYPE_REFRESH_TOKEN, "client_id": CLIENT_ID, # ecotrend "refresh_token": refresh_token, }, ) result = resp.json() return result["access_token"], result["expires_in"], result["refresh_token"] def get_token(self) -> GetTokenResponse: # numpydoc ignore=ES01,EX01 """Retrieve access and refresh tokens using the obtained authorization code. Raises ------ KeycloakPostError If there's an error during the POST request to retrieve tokens. KeycloakInvalidTokenError If the response status code is not 200, indicating an invalid token. Returns ------- GetTokenResponse A TypedDict containing authentication tokens including 'accessToken', 'accessTokenExpiresIn', and 'refreshToken'. """ self._login() _data = { "grant_type": GRANT_TYPE_AUTHORIZATION_CODE, "client_id": CLIENT_ID, # ecotrend "redirect_uri": REDIRECT_URI, "code": self.auth_code, } if self.totp: _data["totp"] = self.totp resp: requests.Response = self._send_request( "POST", url=f"{PROVIDER_URL}token", data=_data, timeout=TIMEOUT, allow_redirects=False, ) raise_error_from_response(response=resp, error=KeycloakPostError) # If the response code is not 200 raise an exception. if resp.status_code != 200: raise KeycloakInvalidTokenError() return cast(GetTokenResponse, resp.json()) def userinfo(self, token) -> Any: # numpydoc ignore=EX01 """Retrieve user information from the Keycloak provider. This method sends a GET request to the Keycloak `userinfo` endpoint using the provided token in the Authorization header. It returns the JSON response containing user information. Parameters ---------- token : str The access token to be used for authorization. Returns ------- Any A dictionary containing the user information if the request is successful, or an empty dictionary if the user is a demo user. Raises ------ KeycloakOperationError If the request fails due to a Keycloak operation error. """ if self.username == DEMO_USER_ACCOUNT: return {} header = {"Authorization": f"Bearer {token}"} url = f"{PROVIDER_URL}userinfo" resp: requests.Response = self._send_request("GET", url=url, headers=header) return resp.json() def logout(self, token) -> dict | Any | bytes | dict[str, str]: # numpydoc ignore=ES01,EX01 """Log out the user session from the identity provider. Parameters ---------- token : str Refresh token associated with the user session. Returns ------- Union[dict, Any, bytes, dict[str, str]] Response data from the logout request. The exact type may vary based on the response content. Raises ------ KeycloakPostError If an error occurs during the POST request to logout the user. """ resp: requests.Response = self._send_request( "POST", url=f"{PROVIDER_URL}logout", data={ "client_id": CLIENT_ID, "refresh_token": token, }, ) return raise_error_from_response(resp, KeycloakPostError) def raise_error_from_response( response: requests.Response, error, expected_codes=None, skip_exists=False ) -> dict | Any | bytes | dict[str, str]: # numpydoc ignore=ES01,EX01 """Raise an exception for the response. Parameters ---------- response : Response The response object. error : dict or Exception Error object to raise. expected_codes : Sequence[int], optional Set of expected codes, which should not raise the exception. skip_exists : bool, optional Indicates whether the response on already existing object should be ignored. Returns ------- bytes or dict Content of the response message. Raises ------ KeycloakError In case of unexpected status codes. Notes ----- Source from https://github.com/marcospereirampj/python-keycloak/blob/c98189ca6951f12f1023ed3370c9aaa0d81e4aa4/src/keycloak/exceptions.py """ # noqa: DAR401,DAR402 pylint: disable=line-too-long if expected_codes is None: expected_codes = [200, 201, 204] if response.status_code in expected_codes: if response.status_code == requests.codes["no_content"]: return {} try: return response.json() except ValueError: return response.content if skip_exists and response.status_code == 409: return {"msg": "Already exists"} try: message = response.json()["message"] except (KeyError, ValueError): message = response.content if isinstance(error, dict): error = error.get(response.status_code, KeycloakOperationError) else: if response.status_code == 401: error = KeycloakAuthenticationError raise error(error_message=message, response_code=response.status_code, response_body=response.content) Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/pyecotrend_ista.py000066400000000000000000001236201511651160300261330ustar00rootroot00000000000000# numpydoc ignore=EX01,GL06,GL07 """Unofficial python library for the ista EcoTrend API. This module provides a Python client for interacting with the ista EcoTrend API. Classes ------- PyEcotrendIsta A Python client for interacting with the ista EcoTrend API. """ from __future__ import annotations from http import HTTPStatus import logging import time from typing import Any, cast import requests from .const import API_BASE_URL, DEMO_USER_ACCOUNT, VERSION from .exception_classes import KeycloakError, LoginError, ParserError, ServerError from .helper_object_de import CustomRaw from .login_helper import LoginHelper from .types import AccountResponse, ConsumptionsResponse, ConsumptionUnitDetailsResponse, GetTokenResponse _LOGGER = logging.getLogger(__name__) class PyEcotrendIsta: # numpydoc ignore=PR01 """ A Python client for interacting with the ista EcoTrend API. This class provides methods to authenticate and interact with the ista EcoTrend API. Attributes ---------- _account : AccountResponse The account information. _uuid : str The UUID of the consumption unit. _access_token : str | None The access token for API authentication. _refresh_token : str | None The refresh token for obtaining new access tokens. _access_token_expires_in : int The expiration time of the access token. _header : dict[str, str] The headers used in HTTP requests. _support_code : str | None The support code for the account. _start_timer : float The start time for tracking elapsed time. Examples -------- Initialize the client and log in: >>> client = PyEcotrendIsta(email="user@example.com", password="password") >>> client.login() """ _account: AccountResponse _uuid: str _access_token: str | None = None _refresh_token: str | None = None _access_token_expires_in: int = 0 _header: dict[str, str] = {} _support_code: str | None = None _start_timer: float = 0.0 def __init__( self, email: str, password: str, totp: str | None = None, session: requests.Session | None = None, ) -> None: # numpydoc ignore=ES01,EX01 """Initialize the PyEcotrendIsta client. Parameters ---------- email : str The email address used to log in to the ista EcoTrend API. password : str The password used to log in to the ista EcoTrend API. totp : str, optional An optional TOTP (Time-based One-Time Password) for two-factor authentication. Default is None. session : requests.Session, optional An optional requests session for making HTTP requests. Default is None. """ self._email: str = email.strip() self._password: str = password self.session = session or requests.Session() self.session.headers.update({"User-Agent": self.get_user_agent()}) self.loginhelper = LoginHelper( username=self._email, password=self._password, totp=totp, session=self.session, logger=_LOGGER, ) @property def access_token(self): # numpydoc ignore=EX01 """ Retrieve the access token, refreshing it if necessary. This property checks if the access token is still valid. If the token has expired and the client is connected, it refreshes the token. The token is considered expired if the current time minus the start time exceeds the token's expiration period. Returns ------- str The current access token. Notes ----- This method will automatically refresh the access token if it has expired. """ if ( self._access_token_expires_in > 0 and self._is_connected() and self._refresh_token and self._access_token_expires_in <= time.time() - self._start_timer ): self.__refresh() return self._access_token @access_token.setter def access_token(self, value: str) -> None: # numpydoc ignore=ES01,EX01 """ Setter method for the access token attribute. Parameters ---------- value : str The new access token value. Notes ----- Sets the access token value and updates the start timer to the current time. This method is used to assign a new access token value and reset the timer tracking the token's validity period. """ self._access_token = value self._start_timer = time.time() _LOGGER.debug( "Initialized start timer for refresh token at %s", time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(self._start_timer)), ) def _is_connected(self) -> bool: # numpydoc ignore=ES01,EX01 """ Check if the client is connected by verifying the presence of an access token. Returns ------- bool True if the client has a valid access token, False otherwise. """ return bool(self._access_token) def __login(self) -> str | None: # numpydoc ignore=ES01,EX01 """ Perform the login process to obtain an access token. If the email is a demo account, it logs in using a demo user login function. For other accounts, it retrieves a token using a login helper. Returns ------- str or None The access token if login is successful, None otherwise. """ if self._email == DEMO_USER_ACCOUNT: _LOGGER.debug("Logging in as demo user") token = self.demo_user_login() else: token = self.loginhelper.get_token() if token: self.access_token = token["access_token"] self._access_token_expires_in = token["expires_in"] self._refresh_token = token["refresh_token"] return self.access_token return None def __refresh(self) -> None: # numpydoc ignore=ES01,EX01 """ Refresh the access token using the refresh token. This method retrieves a new access token, updates internal variables, and resets the token expiration timer. Raises ------ ParserError If there is an error parsing the request response. LoginError If there is an authorization failure. ServerError If there is a server error, connection timeout, or request exception. Notes ----- This method assumes `self._refresh_token` is already set. """ ( self.access_token, self._access_token_expires_in, self._refresh_token, ) = self.loginhelper.refresh_token(self._refresh_token) self._header["Authorization"] = f"Bearer {self.access_token}" def __set_account(self) -> None: # numpydoc ignore=ES01,EX01 """ Fetch and set account information from the API. This method performs an API request to retrieve account information, handles various potential errors that might occur during the request, and sets instance variables accordingly using the response data. Raises ------ ParserError If there is an error parsing the JSON response. LoginError If the request fails due to an authorization error. ServerError If the request fails due to a server error, timeout, or other request exceptions. """ self._header = { "Content-Type": "application/json", "User-Agent": self.get_user_agent(), "Authorization": f"Bearer {self.access_token}", } url = f"{API_BASE_URL}account" try: with self.session.get(url, headers=self._header) as r: _LOGGER.debug("Performed GET request: %s [%s]:\n%s", url, r.status_code, r.text) r.raise_for_status() try: data = r.json() except requests.JSONDecodeError as exc: raise ParserError( "Loading account information failed due to an error parsing the request response" ) from exc except requests.HTTPError as exc: if exc.response.status_code == HTTPStatus.UNAUTHORIZED: raise LoginError("Loading account information failed due to an authorization failure") from exc raise ServerError( "Loading account information failed due to a server error " f"[{exc.response.status_code}: {exc.response.reason}]" ) from exc except requests.Timeout as exc: raise ServerError("Loading account information failed due a connection timeout") from exc except requests.RequestException as exc: raise ServerError("Loading account information failed due to a request exception") from exc self._account = cast(AccountResponse, data) self._uuid = data["activeConsumptionUnit"] def get_version(self) -> str: # numpydoc ignore=EX01,ES01 """ Get the version of the PyEcotrendIsta client. Returns ------- str The version number of the PyEcotrendIsta client. """ return VERSION def login(self, **kwargs) -> str | None: # numpydoc ignore=ES01,EX01,PR01,PR02 """ Perform the login process if not already connected or forced. Returns ------- str or None The access token if login is successful, None otherwise. Raises ------ LoginError If the login process fails due to an error. ServerError If a server error occurs during login attempts. InternalServerError If an internal server error occurs during login attempts. Exception For any other unexpected errors during the login process. """ if not self._is_connected(): try: self.__login() self.__set_account() except (KeycloakError, LoginError) as exc: # Login failed self._access_token = None raise LoginError( "Login failed due to an authorization failure, please verify your email and password" ) from exc except ServerError as exc: raise ServerError("Login failed due to a request exception, please try again later") from exc return self.access_token def userinfo(self, token): """ Retrieve user information using the provided access token. This method constructs an authorization header using the provided access token and sends a GET request to the userinfo endpoint of the provider API. It expects a JSON response with user information. Parameters ---------- token : str The access token used for authentication. Returns ------- Any JSON response containing user information. Raises ------ requests.exceptions.RequestException If an error occurs while making the HTTP request. Notes ----- This method constructs an authorization header using the provided access token and sends a GET request to the userinfo endpoint of the provider API. It expects a JSON response with user information. Examples -------- >>> client = PyEcotrendIsta(email="user@example.com", password="password") >>> token = client.login() >>> user_info = client.userinfo(token) """ return self.loginhelper.userinfo(token=token) def logout(self) -> None: """ Perform logout operation by invalidating the current session. This method invokes the logout functionality in the loginhelper module, passing the current refresh token for session invalidation. Raises ------ KeycloakPostError If an error occurs during the logout process. This error is raised based on the response from the logout request. Notes ----- This method assumes `self._refresh_token` is already set. Examples -------- >>> client = PyEcotrendIsta(email="user@example.com", password="password") >>> client.login() >>> client.logout() """ if self.loginhelper.username != DEMO_USER_ACCOUNT: self.loginhelper.logout(self._refresh_token) def get_uuids(self) -> list[str]: # numpydoc ignore=ES01 """ Retrieve UUIDs of consumption units registered in the account. Returns ------- list[str] A list containing UUIDs of consumption units. Each UUID represents a consumption unit, which could be a flat or a house for which consumption readings are provided. Notes ----- A consumption unit represents a residence or building where consumption readings are recorded. The UUIDs are extracted from the `_residentAndConsumptionUuidsMap` attribute. Examples -------- >>> client = PyEcotrendIsta(email="user@example.com", password="password") >>> client.login() >>> uuids = client.get_uuids() >>> print(uuids) ['uuid1', 'uuid2', 'uuid3'] """ return list(self._account.get("residentAndConsumptionUuidsMap", {}).values()) # pylint: disable=too-many-branches,too-many-statements def consum_raw( # noqa: C901 self, select_year: list[int] | None = None, select_month: list[int] | None = None, filter_none: bool = True, obj_uuid: str | None = None, ) -> dict[str, Any] | ConsumptionsResponse: # noqa: C901 """ Process and filter consumption and cost data for a given consumption unit. This method processes consumption and cost data obtained from the `get_consumption_data` method. It filters and aggregates data based on the parameters provided. Parameters ---------- select_year : list[int] | None, optional List of years to filter data by year, default is None. select_month : list[int] | None, optional List of months to filter data by month, default is None. filter_none : bool, optional Whether to filter out None values in readings, default is True. obj_uuid : str | None, optional UUID of the consumption unit to fetch data for, default is None. Returns ------- dict[str, Any] | ConsumptionsResponse Processed data including consumption types, total additional values, last values, last costs, sum by year, and last year compared consumption. Raises ------ Exception If there is an unexpected error during data processing. Notes ----- This method processes consumption and cost data obtained from the `get_consumption_data` method. It filters and aggregates data based on the parameters provided. Examples -------- >>> api = PyEcotrendIsta() >>> result = api.consum_raw(select_year=[2023], select_month=[7], filter_none=True, obj_uuid="uuid") >>> print(result) """ # Fetch raw consumption data for the specified UUID c_raw: ConsumptionsResponse = self.get_consumption_data(obj_uuid) if not isinstance(c_raw, dict) or (c_raw.get("consumptions") is None and c_raw.get("costs") is None): return c_raw if "consumptions" not in c_raw or not isinstance(c_raw.get("consumptions"), list): c_raw["consumptions"] = [] consum_types = [] all_dates = [] indices_to_delete_consumption = [] for i, consumption in enumerate(c_raw.get("consumptions", [])): if ( not isinstance(consumption, dict) or "readings" not in consumption or consumption.get("readings") is None or not isinstance(consumption.get("readings"), list) ): consumption = {} continue for reading in consumption.get("readings", []): if reading["additionalValue"] is not None or reading["value"] is not None: consum_types.append(reading["type"]) consum_types = list({consum_type for consum_type in consum_types if i is not None}) new_readings = [] if "date" in consumption: all_dates.append(consumption["date"]) if select_month is None and select_year is None: for reading in consumption.get("readings", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif ( select_year is not None and select_month is not None and consumption["date"]["year"] in select_year and consumption["date"]["month"] in select_month ): for reading in consumption.get("readings", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif select_year is not None and consumption["date"]["year"] in select_year and select_month is None: for reading in consumption.get("readings", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif select_month is not None and consumption["date"]["month"] in select_month and select_year is None: for reading in consumption.get("readings", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) if new_readings: consumption["readings"] = new_readings else: indices_to_delete_consumption.append(i) for index in sorted(indices_to_delete_consumption, reverse=True): if index < len(c_raw["consumptions"]): del c_raw["consumptions"][index] _all_date = all_dates new_date = [] sum_by_year = {} for date in _all_date: if select_year is None or date["year"] in select_year: new_date.append(date["year"]) new_date = list(dict.fromkeys(new_date)) cost_consum_types = consum_types sum_by_year = {typ: {year: 0.0 for year in new_date} for typ in cost_consum_types} # pylint: disable=too-many-nested-blocks for item in c_raw.get("consumptions", []): if "readings" not in item or not item["readings"]: continue for reading in item.get("readings", []): if reading.get("type", None) is None: continue for typ in cost_consum_types: for year in new_date: if reading["type"] == typ and item["date"]["year"] == year: if reading["value"]: sum_by_year[typ][year] += round( float(reading["value"].replace(",", ".")), 1, ) else: sum_by_year[typ][year] += round( ( float(reading["additionalValue"].replace(",", ".")) if reading["additionalValue"] is not None else 0.0 ), 1, ) if reading["type"] == "warmwater": sum_by_year["ww"] = reading["unit"] elif reading["type"] == "water": sum_by_year["w"] = reading["unit"] elif reading["type"] == "heating" and reading["unit"]: sum_by_year["h"] = reading["unit"] elif reading["type"] == "heating": sum_by_year["h"] = reading["additionalUnit"] indices_to_delete_costs = [] if "costs" not in c_raw or not isinstance(c_raw.get("costs"), list): c_raw["costs"] = [] for i, costs in enumerate(c_raw.get("costs", [])): new_readings = [] if "costsByEnergyType" in costs: if select_month is None and select_year is None: for reading in costs.get("costsByEnergyType", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif ( select_year is not None and select_month is not None and costs["date"]["year"] in select_year and costs["date"]["month"] in select_month ): for reading in costs.get("costsByEnergyType", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif select_year is not None and costs["date"]["year"] in select_year and select_month is None: for reading in costs.get("costsByEnergyType", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) elif select_month is not None and costs["date"]["month"] in select_month and select_year is None: for reading in costs.get("costsByEnergyType", []): if filter_none and reading["type"] is not None: new_readings.append(reading) elif not filter_none: new_readings.append(reading) if new_readings: costs["costsByEnergyType"] = new_readings else: indices_to_delete_costs.append(i) for index in sorted(indices_to_delete_costs, reverse=True): if "costs" in c_raw and index < len(c_raw["costs"]): del c_raw["costs"][index] for key in [ "consumptionsBillingPeriods", "costsBillingPeriods", "resident", "co2Emissions", "co2EmissionsBillingPeriods", ]: if key in c_raw: del c_raw[key] consumptions: list = c_raw.get("consumptions", []) costs: list = c_raw.get("costs", []) combined_data = [] for cost_entry in costs: for consumption_entry in consumptions: # Überprüfen, ob die Daten das gleiche Datum haben if cost_entry["date"] == consumption_entry["date"]: # Wenn ja, kombiniere die Kosten- und Verbrauchsdaten in einem Eintrag combined_entry = { "date": cost_entry["date"], "consumptions": consumption_entry["readings"], "costs": cost_entry["costsByEnergyType"], } combined_data.append(combined_entry) total_additional_values = {} total_additional_custom_values = {} for consumption_unit in consumptions: if "readings" not in consumption_unit or not consumption_unit["readings"]: continue for reading in consumption_unit.get("readings", []): if reading["type"] is None or (reading["value"] is None and reading["additionalValue"] is None): continue if reading["type"] not in total_additional_custom_values: total_additional_custom_values[reading["type"]] = 0.0 if reading["additionalValue"]: total_additional_custom_values[reading["type"]] += round( float(reading["additionalValue"].replace(",", ".")), 1 ) else: total_additional_custom_values[reading["type"]] += round( (float(reading["value"].replace(",", ".")) if reading["value"] is not None else 0.0), 1, ) if reading["type"] == "warmwater": total_additional_custom_values["ww"] = reading["additionalUnit"] elif reading["type"] == "water": total_additional_custom_values["w"] = reading["additionalUnit"] elif reading["type"] == "heating" and reading["additionalUnit"]: total_additional_custom_values["h"] = reading["additionalUnit"] elif reading["type"] == "heating": total_additional_custom_values["h"] = reading["unit"] if reading["type"] not in total_additional_values: total_additional_values[reading["type"]] = 0.0 if reading["value"]: total_additional_values[reading["type"]] += round(float(reading["value"].replace(",", ".")), 1) else: total_additional_values[reading["type"]] += round( ( float(reading["additionalValue"].replace(",", ".")) if reading["additionalValue"] is not None else 0.0 ), 1, ) if reading["type"] == "warmwater": total_additional_values["ww"] = reading["unit"] elif reading["type"] == "water": total_additional_values["w"] = reading["unit"] elif reading["type"] == "heating" and reading["unit"]: total_additional_values["h"] = reading["unit"] elif reading["type"] == "heating": total_additional_values["h"] = reading["additionalUnit"] last_value = None last_custom_value = None last_year_compared_consumption = None if consumptions: last_value = {} last_custom_value = {} last_year_compared_consumption = {} if len(consumptions) > 0 and "readings" in consumptions[0] and consumptions[0]["readings"]: for reading in consumptions[0]["readings"]: if reading["type"] is None or (reading["value"] is None and reading["additionalValue"] is None): continue if reading["comparedConsumption"]: last_year_compared_consumption[reading["type"]] = reading["comparedConsumption"] last_year_compared_consumption[reading["type"]]["comparedValue"] = float( last_year_compared_consumption[reading["type"]]["comparedValue"].replace(",", ".") ) if reading["value"]: last_year_compared_consumption[reading["type"]]["nowYearValue"] = float( reading["value"].replace(",", ".") ) elif reading["additionalValue"]: last_year_compared_consumption[reading["type"]]["nowYearValue"] = float( reading["additionalValue"].replace(",", ".") ) if "period" in last_year_compared_consumption[reading["type"]]: del last_year_compared_consumption[reading["type"]]["period"] if reading["type"] not in last_custom_value: last_custom_value[reading["type"]] = 0.0 if reading["additionalValue"]: last_custom_value[reading["type"]] += float(reading["additionalValue"].replace(",", ".")) else: last_custom_value[reading["type"]] += ( float(reading["value"].replace(",", ".")) if reading["value"] is not None else 0.0 ) if reading["type"] == "warmwater": last_custom_value["ww"] = reading["additionalUnit"] elif reading["type"] == "water": last_custom_value["w"] = reading["additionalUnit"] elif reading["type"] == "heating" and reading["additionalUnit"]: last_custom_value["h"] = reading["additionalUnit"] elif reading["type"] == "heating": last_custom_value["h"] = reading["unit"] if reading["type"] not in last_value: last_value[reading["type"]] = 0.0 if reading["value"]: # reading["type"] in ("warmwater", "water", "heating") and last_value[reading["type"]] += float(reading["value"].replace(",", ".")) else: last_value[reading["type"]] += ( float(reading["additionalValue"].replace(",", ".")) if reading["additionalValue"] is not None else 0.0 ) if reading["type"] == "warmwater": last_value["ww"] = reading["unit"] elif reading["type"] == "water": last_value["w"] = reading["unit"] elif reading["type"] == "heating" and reading["additionalUnit"]: last_value["h"] = reading["unit"] elif reading["type"] == "heating": last_value["h"] = reading["additionalUnit"] last_custom_value["month"] = consumptions[0]["date"]["month"] last_custom_value["year"] = consumptions[0]["date"]["year"] last_value["month"] = consumptions[0]["date"]["month"] last_value["year"] = consumptions[0]["date"]["year"] last_costs = None if costs: if last_costs is None: last_costs = {} for costs_by_energy_type in costs[0]["costsByEnergyType"]: # pylint: disable=too-many-boolean-expressions if ( costs_by_energy_type is None or "type" not in costs_by_energy_type or costs_by_energy_type["type"] is None or "comparedCost" not in costs_by_energy_type or costs_by_energy_type["comparedCost"] is None or "smiley" not in costs_by_energy_type["comparedCost"] or costs_by_energy_type["comparedCost"]["smiley"] is None or "comparedPercentage" not in costs_by_energy_type["comparedCost"] or costs_by_energy_type["comparedCost"]["comparedPercentage"] is None ): continue if costs_by_energy_type["type"] not in last_costs: last_costs[costs_by_energy_type["type"]] = 0.0 last_costs[costs_by_energy_type["type"]] += costs_by_energy_type["value"] last_costs["unit"] = costs_by_energy_type["unit"] if costs_by_energy_type["type"] == "warmwater": if costs_by_energy_type["comparedCost"]["smiley"] == ["MAD", "EQUAL"]: last_costs["ww"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] elif costs_by_energy_type["comparedCost"]["smiley"] in ["HAPPY"]: last_costs["ww"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] * -1 elif costs_by_energy_type["type"] == "water": if costs_by_energy_type["comparedCost"]["smiley"] == ["MAD", "EQUAL"]: last_costs["w"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] elif costs_by_energy_type["comparedCost"]["smiley"] in ["HAPPY"]: last_costs["w"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] * -1 elif costs_by_energy_type["type"] == "heating": if costs_by_energy_type["comparedCost"]["smiley"] in ["MAD", "EQUAL"]: last_costs["h"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] elif costs_by_energy_type["comparedCost"]["smiley"] in ["HAPPY"]: last_costs["h"] = costs_by_energy_type["comparedCost"]["comparedPercentage"] * -1 last_costs["month"] = costs[0]["date"]["month"] last_costs["year"] = costs[0]["date"]["year"] return CustomRaw.from_dict( { "consum_types": consum_types, "combined_data": None, # combined_data, "total_additional_values": total_additional_values, "total_additional_custom_values": total_additional_custom_values, "last_value": last_value, "last_custom_value": last_custom_value, "last_costs": last_costs, "all_dates": None, # all_dates, "sum_by_year": sum_by_year, "last_year_compared_consumption": last_year_compared_consumption, } ).to_dict() def get_consumption_data(self, obj_uuid: str | None = None) -> ConsumptionsResponse: """ Fetch consumption data from the API for a specific consumption unit. This method sends a GET request to the ista EcoTrend API to retrieve consumption data for a specific consumption unit identified by the provided UUID. If no UUID is provided, the method uses the UUID associated with the instance. Parameters ---------- obj_uuid : str, optional The UUID of the consumption unit. If not provided, defaults to the UUID associated with the instance (`self._uuid`). Returns ------- ConsumptionsResponse A dictionary containing the consumption data fetched from the API. Raises ------ LoginError If the API responds with an error indicating authorization failure. ParserError If there is an error parsing the request response. ValueError If the provided UUID is invalid. ServerError If there is a server error, connection timeout, or request exception. Examples -------- >>> api = PyEcotrendIsta() >>> data = api.get_consumption_data(obj_uuid="uuid") >>> print(data) """ params = {"consumptionUnitUuid": obj_uuid or self._uuid} url = f"{API_BASE_URL}consumptions" try: with self.session.get( url, params=params, headers=self._header, ) as result: _LOGGER.debug("Performed GET request: %s [%s]:\n%s", url, result.status_code, result.text[:100]) result.raise_for_status() try: return cast(ConsumptionsResponse, result.json()) except requests.JSONDecodeError as exc: raise ParserError("Loading consumption data failed due to an error parsing the request response") from exc except requests.HTTPError as exc: if exc.response.status_code == HTTPStatus.UNAUTHORIZED: raise LoginError("Loading consumption data failed failed due to an authorization failure") from exc if exc.response.status_code == HTTPStatus.BAD_REQUEST: raise ValueError( f"Invalid UUID. Retrieving data for consumption unit {obj_uuid or self._uuid} failed" ) from exc raise ServerError( "Loading consumption data failed due to a server error " f"[{exc.response.status_code}: {exc.response.reason}]" ) from exc except requests.Timeout as exc: raise ServerError("Loading consumption data failed due a connection timeout") from exc except requests.RequestException as exc: raise ServerError("Loading consumption data failed due to a request exception") from exc def get_consumption_unit_details(self) -> ConsumptionUnitDetailsResponse: # numpydoc ignore=ES01,EX01 """ Retrieve details of the consumption unit from the API. Returns ------- ConsumptionUnitDetailsResponse A dictionary containing the details of the consumption unit. Raises ------ LoginError If the API responds with an authorization failure. ParserError If there is an issue with decoding the JSON response ServerError If there is a server error, connection timeout, or request exception. """ url = f"{API_BASE_URL}menu" try: with self.session.get(url, headers=self._header) as r: _LOGGER.debug("Performed GET request: %s [%s]:\n%s", url, r.status_code, r.text) r.raise_for_status() try: return cast(ConsumptionUnitDetailsResponse, r.json()) except requests.JSONDecodeError as exc: raise ParserError( "Loading consumption unit details failed due to an error parsing the request response" ) from exc except requests.HTTPError as exc: if exc.response.status_code == HTTPStatus.UNAUTHORIZED: raise LoginError("Loading consumption unit details failed failed due to an authorization failure") from exc raise ServerError( "Loading consumption unit details failed due to a server error " f"[{exc.response.status_code}: {exc.response.reason}]" ) from exc except requests.Timeout as exc: raise ServerError("Loading consumption unit details failed due a connection timeout") from exc except requests.RequestException as exc: raise ServerError("Loading consumption unit details failed due to a request exception") from exc def get_support_code(self) -> str | None: # numpydoc ignore=ES01,EX01 """ Return the support code associated with the instance. Returns ------- str or None The support code associated with the instance, or None if not set. """ return getattr(self, "_account", {}).get("supportCode") def get_user_agent(self) -> str: # numpydoc ignore=ES01,EX01 """ Return the User-Agent string used for HTTP requests. Returns ------- str The User-Agent string. Notes ----- This method provides a static User-Agent string commonly used for web browsers. """ return ( "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0" " Safari/537.36" ) def demo_user_login(self) -> GetTokenResponse: # numpydoc ignore=ES01,EX01 """ Retrieve authentication tokens for the demo user. Returns ------- GetTokenResponse A TypedDict containing authentication tokens including 'accessToken', 'accessTokenExpiresIn', and 'refreshToken'. Raises ------ ParserError If there is an error parsing the request response. ServerError If there is a server error, connection timeout, or request exception. """ url = f"{API_BASE_URL}demo-user-token" try: self._header["User-Agent"] = self.get_user_agent() with self.session.get(url, headers=self._header) as r: _LOGGER.debug("Performed GET request %s [%s]:\n%s", url, r.status_code, r.text) r.raise_for_status() try: data = r.json() key = iter(GetTokenResponse.__annotations__) token = {next(key): value for value in data.values()} return cast(GetTokenResponse, token) except requests.JSONDecodeError as exc: raise ParserError("Demo user authentication failed due to an error parsing the request response") from exc except requests.HTTPError as exc: raise ServerError( "Demo user authentication failed due to a server error " f"[{exc.response.status_code}: {exc.response.reason}]" ) from exc except requests.Timeout as exc: raise ServerError("Demo user authentication failed due a connection timeout") from exc except requests.RequestException as exc: raise ServerError("Demo user authentication failed due to a request exception") from exc def get_account(self) -> AccountResponse | None: # numpydoc ignore=ES01,EX01 """ Retrieve the account information. Returns the `_account` attribute if it exists, otherwise returns None. Returns ------- AccountResponse | None Account information if available, otherwise None. """ return getattr(self, "_account", None) Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/types.py000066400000000000000000000337661511651160300241160ustar00rootroot00000000000000# numpydoc ignore=EX01 """ Types for PyEcotrendIsta. This module defines various TypedDicts used in the PyEcotrendIsta client to represent responses and data structures from the ista EcoTrend API. See Also -------- PyEcotrendIsta : The main client class for interacting with the ista EcoTrend API. """ from typing import Any, Literal, TypedDict class GetTokenResponse(TypedDict): # numpydoc ignore=ES01,SA01,EX01,GL01,GL02,GL03 """A TypedDict for the response returned by the getToken function. Attributes ---------- access_token : str The access token issued by the authentication provider. expires_in : int The number of seconds until the access token expires. refresh_token : str The refresh token that can be used to obtain new access tokens. refresh_expires_in : int The number of seconds until the refresh token expires. """ access_token: str expires_in: int refresh_token: str refresh_expires_in: int class AccountResponse(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ Represents the response for an account in the ista EcoTrend API. Attributes ---------- firstName : str The first name of the account holder. lastName : str The last name of the account holder. email : str The email address of the account holder. keycloakId : str The Keycloak ID associated with the account. country : str The country associated with the account. locale : str The locale setting for the account. authcode : str The authentication code for the account. tos : str The terms of service agreed to by the account holder. tosUpdated : str The date the terms of service were last updated. privacy : str The privacy setting for the account. mobileNumber : str The mobile phone number associated with the account. transitionMobileNumber : str The mobile number used during the transition period. unconfirmedPhoneNumber : str The unconfirmed phone number associated with the account. password : str The password for the account. enabled : bool Indicates whether the account is enabled. consumptionUnitUuids : list of str List of UUIDs for the consumption units. residentTimeRangeUuids : list of str List of UUIDs for the resident time ranges. ads : bool Indicates whether advertisements are enabled. marketing : bool Indicates whether the account holder has opted into marketing communications. fcmToken : str The FCM (Firebase Cloud Messaging) token for push notifications. betaPhase : str Indicates if the account is in the beta phase. notificationMethod : str The method of notification preferred by the account holder. emailConfirmed : bool Indicates whether the email address is confirmed. isDemo : bool Indicates whether the account is a demo account. userGroup : str The user group the account belongs to. mobileLoginStatus : str The status of mobile login for the account. residentAndConsumptionUuidsMap : dict of str to str A map of resident UUIDs to consumption unit UUIDs. activeConsumptionUnit : str The UUID of the active consumption unit. supportCode : str The support code for the account. notificationMethodEmailConfirmed : bool Indicates whether the email for notification method is confirmed. """ firstName: str lastName: str email: str keycloakId: str country: str locale: str authcode: str tos: str tosUpdated: str privacy: str mobileNumber: str transitionMobileNumber: str unconfirmedPhoneNumber: str password: str enabled: bool consumptionUnitUuids: list[str] residentTimeRangeUuids: list[str] ads: bool marketing: bool fcmToken: str betaPhase: str notificationMethod: str emailConfirmed: bool isDemo: bool userGroup: str mobileLoginStatus: str residentAndConsumptionUuidsMap: dict[str, str] activeConsumptionUnit: str supportCode: str notificationMethodEmailConfirmed: bool class IstaMonthYear(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing a month and year. Attributes ---------- month : int The month value. year : int The year value. """ month: int year: int class IstaAverageConsumption(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing average consumption values. Attributes ---------- additionalAverageConsumptionPercentage : int Percentage of additional average consumption. additionalAverageConsumptionValue : str Value of additional average consumption. additionalResidentConsumptionPercentage : int Percentage of additional resident consumption. additionalResidentConsumptionValue : str Value of additional resident consumption. averageConsumptionPercentage : int Percentage of average consumption. averageConsumptionValue : str Value of average consumption. residentConsumptionPercentage : int Percentage of resident consumption. residentConsumptionValue : str Value of resident consumption. """ additionalAverageConsumptionPercentage: int additionalAverageConsumptionValue: str additionalResidentConsumptionPercentage: int additionalResidentConsumptionValue: str averageConsumptionPercentage: int averageConsumptionValue: str residentConsumptionPercentage: int residentConsumptionValue: str class IstaCompared(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing compared values. Attributes ---------- comparedPercentage : int Percentage comparison value. comparedValue : str Compared value. lastYearValue : float Value from the last year. period : IstaMonthYear Period associated with the comparison. smiley : str Smiley associated with the comparison. """ comparedPercentage: int comparedValue: str lastYearValue: float period: IstaMonthYear smiley: str class IstaReading(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing a reading. Attributes ---------- additionalUnit : str Additional unit associated with the reading. additionalValue : str Additional value associated with the reading. averageConsumption : IstaAverageConsumption Average consumption details. comparedConsumption : dict Compared consumption details. comparedCost : IstaCompared Compared cost details. estimated : bool Indicates if the reading is estimated. type : Literal["heating", "warmwater", "water"] Type of the reading (heating, warmwater, water). unit : str Unit of measurement for the reading. value : str Value of the reading. """ additionalUnit: str additionalValue: str averageConsumption: IstaAverageConsumption comparedConsumption: dict comparedCost: IstaCompared estimated: bool type: Literal["heating", "warmwater", "water"] unit: str value: str class IstaTimeRange(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing a time range. Attributes ---------- end : IstaMonthYear The end of the time range. start : IstaMonthYear The start of the time range. """ end: IstaMonthYear start: IstaMonthYear class IstaBillingPeriod(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing a billing period. Attributes ---------- exception : Any, optional Any exceptions related to this billing period. (data type unknown) readings : list[IstaReading] List of readings associated with this billing period. timeRange : IstaTimeRange The time range for this billing period. """ exception: Any readings: list[IstaReading] timeRange: IstaTimeRange class IstaBillingPeriods(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing the billing periods. Attributes ---------- currentBillingPeriod : IstaBillingPeriod The details of the current billing period. previousBillingPeriod : IstaBillingPeriod The details of the previous billing period. """ currentBillingPeriod: IstaBillingPeriod previousBillingPeriod: IstaBillingPeriod class IstaCostsByEnergyType(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing the costs associated with a specific energy type. Attributes ---------- comparedCost : IstaCompared The cost comparison data for the energy type. estimated : bool Indicates whether the cost is estimated. type : Literal["heating", "warmwater", "water"] The type of energy (heating, warm water, or water). unit : str The unit of measurement for the cost. value : int The cost value. """ comparedCost: IstaCompared estimated: bool type: Literal["heating", "warmwater", "water"] unit: str value: int class IstaPeriods(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing data for a specific period. Attributes ---------- date : IstaMonthYear The month and year for the period. documentNumber : str | None The document number associated with the period, if any. exception : Any An exception associated with the period (data type unspecified). isSCEedBasic : bool Indicates if the SCEed basic plan is active for the period. readings : list[IstaReading] A list of readings recorded during the period. costsByEnergyType : list[IstaCostsByEnergyType] A list of costs categorized by energy type for the period. """ date: IstaMonthYear documentNumber: str | None exception: Any isSCEedBasic: bool readings: list[IstaReading] costsByEnergyType: list[IstaCostsByEnergyType] class ConsumptionsResponse(TypedDict, total=False): # numpydoc ignore=ES01,SA01,EX01 """ A TypedDict representing the response structure for consumption data. Attributes ---------- co2Emissions : list[IstaPeriods] A list of CO2 emission data over different periods. co2EmissionsBillingPeriods : list[IstaBillingPeriods] A list of CO2 emission data over different billing periods. consumptionUnitId : str The unique identifier for the consumption unit. consumptions : list[IstaPeriods] A list of consumption data over different periods. consumptionsBillingPeriods : IstaBillingPeriods The consumption data over different billing periods. costs : list[IstaPeriods] A list of cost data over different periods. costsBillingPeriods : IstaBillingPeriods The cost data over different billing periods. isSCEedBasicForCurrentMonth : bool Indicates if the SCEed basic plan is active for the current month. nonEEDBasicStartDate : Any The start date for non-EED basic plan (data type unknown). resident : dict[str, Any] A dictionary containing resident information. """ co2Emissions: list[IstaPeriods] co2EmissionsBillingPeriods: list[IstaBillingPeriods] consumptionUnitId: str consumptions: list[IstaPeriods] consumptionsBillingPeriods: IstaBillingPeriods costs: list[IstaPeriods] costsBillingPeriods: IstaBillingPeriods isSCEedBasicForCurrentMonth: bool nonEEDBasicStartDate: Any resident: dict[str, Any] class IstaConsumptionUnitAddress(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ Represents the address of a consumption unit. Attributes ---------- street : str The street name of the address. houseNumber : str The house number of the address. postalCode : str The postal code of the address. city : str The city of the address. country : str The country code of the address. floor : str The floor number of the address. propertyNumber : str The property number of the address. consumptionUnitNumber : str The consumption unit number associated with the address. idAtCustomerUser : str The ID assigned to the address at the customer user's end. """ street: str houseNumber: str postalCode: str city: str country: str # country code floor: str propertyNumber: str consumptionUnitNumber: str idAtCustomerUser: str class IstaConsumptionUnitBookedServices(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ Represents the booked extra services for an Ista consumption unit. Attributes ---------- cost : bool Indicates if cost service is booked. co2 : bool Indicates if CO2 service is booked. """ cost: bool co2: bool class IstaConsumptionUnit(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ Represents a consumption unit. Attributes ---------- id : str The UUID of the consumption unit. address : IstaConsumptionUnitAddress The address details of the consumption unit. booked : IstaConsumptionUnitBookedServices The booked services for the consumption unit. propertyNumber : str The property number associated with the consumption unit. """ id: str # UUID address: IstaConsumptionUnitAddress booked: IstaConsumptionUnitBookedServices propertyNumber: str class ConsumptionUnitDetailsResponse(TypedDict): # numpydoc ignore=ES01,SA01,EX01 """ Represents the response details for consumption units. Attributes ---------- consumptionUnits : list[IstaConsumptionUnit] The list of consumption units. coBranding : Any Co-branding information (data type unknown). """ consumptionUnits: list[IstaConsumptionUnit] coBranding: Any # #unknown Ludy87-pyecotrend-ista-10e3acc/src/pyecotrend_ista/ua.json000066400000000000000000000164341511651160300236710ustar00rootroot00000000000000[ {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36","system":"Chrome Generic Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36","system":"Chrome Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36","system":"Chrome Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko\/20100101 Firefox\/114.0","system":"Firefox Generic Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36","system":"Chrome Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko\/20100101 Firefox\/113.0","system":"Firefox Generic Win10"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36","system":"Chrome Generic Linux"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64; rv:109.0) Gecko\/20100101 Firefox\/114.0","system":"Firefox Generic Linux"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.5 Safari\/605.1.15","system":"Safari Generic macOS"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36","system":"Chrome Generic Linux"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko\/20100101 Firefox\/114.0","system":"Firefox Generic macOS"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64; rv:109.0) Gecko\/20100101 Firefox\/113.0","system":"Firefox Generic Linux"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko\/20100101 Firefox\/113.0","system":"Firefox Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36 Edg\/114.0.1823.43","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64; rv:102.0) Gecko\/20100101 Firefox\/102.0","system":"Firefox 102.0 Linux"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; rv:114.0) Gecko\/20100101 Firefox\/114.0","system":"Firefox Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/109.0.0.0 Safari\/537.36","system":"Chrome 109.0 Win10"}, {"useragent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko\/20100101 Firefox\/114.0","system":"Firefox Generic Linux"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36 OPR\/99.0.0.0","system":"Opera Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/113.0.0.0 Safari\/537.36 Edg\/113.0.1774.57","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36 Edg\/114.0.1823.51","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko\/20100101 Firefox\/113.0","system":"Firefox Generic Linux"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; rv:113.0) Gecko\/20100101 Firefox\/113.0","system":"Firefox Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 Safari\/537.36","system":"Chrome 112.0 Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.4 Safari\/605.1.15","system":"Safari Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36 Edg\/114.0.1823.37","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko\/20100101 Firefox\/102.0","system":"Firefox 102.0 Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 Safari\/537.36","system":"Chrome 112.0 macOS"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.3 Safari\/605.1.15","system":"Safari Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; rv:102.0) Gecko\/20100101 Firefox\/102.0","system":"Firefox 102.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36 Edg\/114.0.1823.58","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/99.0.4844.51 Safari\/537.36","system":"Chrome 99.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.0.0 Safari\/537.36 Edg\/114.0.1823.41","system":"Edge Generic Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.5.1 Safari\/605.1.15","system":"Safari Generic macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 Safari\/537.36 OPR\/98.0.0.0","system":"Chrome 112.0 Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/111.0.0.0 Safari\/537.36","system":"Chrome 111.0 macOS"}, {"useragent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 Safari\/537.36","system":"Chrome 112.0 Linux"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/111.0.0.0 Safari\/537.36","system":"Chrome 111.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko\/20100101 Firefox\/112.0","system":"Firefox 112.0 Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/15.6.1 Safari\/605.1.15","system":"Safari 15.6.1 macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/110.0.0.0 Safari\/537.36","system":"Chrome 110.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 YaBrowser\/23.5.2.625 Yowser\/2.5 Safari\/537.36","system":"Yandex Browser Generic Win10"}, {"useragent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/79.0.3945.88 Safari\/537.36","system":"Chrome 79.0 macOS"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko\/20100101 Firefox\/115.0","system":"Firefox Generic Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36","system":"Chrome 107.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/108.0.0.0 Safari\/537.36","system":"Chrome 108.0 Win10"}, {"useragent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/108.0.0.0 Safari\/537.36","system":"Chrome 108.0 Win10"} ] Ludy87-pyecotrend-ista-10e3acc/tests/000077500000000000000000000000001511651160300175405ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/tests/__init__.py000066400000000000000000000000401511651160300216430ustar00rootroot00000000000000"""Tests for PyEcotrendIsta.""" Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/000077500000000000000000000000001511651160300223565ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/test_consumption_unit_details.ambr000066400000000000000000000012761511651160300314100ustar00rootroot00000000000000# serializer version: 1 # name: test_get_consumption_unit_details dict({ 'coBranding': None, 'consumptionUnits': list([ dict({ 'address': dict({ 'city': 'Essen', 'consumptionUnitNumber': '0001', 'country': 'DE', 'floor': '2. OG links', 'houseNumber': '1', 'idAtCustomerUser': '6234XB', 'postalCode': '45131', 'propertyNumber': '112233445', 'street': 'Luxemburger Str.', }), 'booked': dict({ 'co2': False, 'cost': True, }), 'id': '7a226e08-2a90-4db9-ae9b-8148901c6ec2', 'propertyNumber': '57352474', }), ]), }) # --- Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/test_consumptions.ambr000066400000000000000000031531431511651160300270330ustar00rootroot00000000000000# serializer version: 1 # name: test_consum_raw dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 5754.2, 'w': None, 'warmwater': 1290.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 5294.0, 'w': None, 'warmwater': 22.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 5754.2, 'w': None, 'warmwater': 1290.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 5294.0, 'w': None, 'warmwater': 22.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2540.0, }), 'w': None, 'warmwater': dict({ 2023: 11.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2760.8, 'w': None, 'warmwater': 665.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2540.0, 'w': None, 'warmwater': 11.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1182.6, 'w': None, 'warmwater': 334.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1088.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2993.3999999999996, 'w': None, 'warmwater': 624.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2754.0, 'w': None, 'warmwater': 10.799999999999999, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 5754.2, 'w': None, 'warmwater': 1290.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 5294.0, 'w': None, 'warmwater': 22.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-None-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3943.3999999999996, 'w': None, 'warmwater': 1000.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3628.0, 'w': None, 'warmwater': 17.299999999999997, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2467.3999999999996, 'w': None, 'warmwater': 216.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2270.0, 'w': None, 'warmwater': 3.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1219.6, 'w': None, 'warmwater': 106.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1122.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1148.0, }), 'w': None, 'warmwater': dict({ 2023: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1247.8, 'w': None, 'warmwater': 109.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1148.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1219.6, 'w': None, 'warmwater': 106.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1122.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2467.3999999999996, 'w': None, 'warmwater': 216.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2270.0, 'w': None, 'warmwater': 3.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month1-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1247.8, 'w': None, 'warmwater': 109.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1148.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4642.3, 'w': None, 'warmwater': 1169.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4271.0, 'w': None, 'warmwater': 20.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2051.0, }), 'w': None, 'warmwater': dict({ 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2229.3, 'w': None, 'warmwater': 602.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2051.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 602.2, 'w': None, 'warmwater': 276.79999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 554.0, 'w': None, 'warmwater': 4.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2412.9999999999995, 'w': None, 'warmwater': 566.9999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2220.0, 'w': None, 'warmwater': 9.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4642.3, 'w': None, 'warmwater': 1169.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4271.0, 'w': None, 'warmwater': 20.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month10-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2831.4999999999995, 'w': None, 'warmwater': 879.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2605.0, 'w': None, 'warmwater': 15.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4982.5, 'w': None, 'warmwater': 1164.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4584.0, 'w': None, 'warmwater': 20.099999999999998, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2195.0, }), 'w': None, 'warmwater': dict({ 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2385.8, 'w': None, 'warmwater': 601.4000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2195.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 785.9000000000001, 'w': None, 'warmwater': 273.29999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 723.0, 'w': None, 'warmwater': 4.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2596.7, 'w': None, 'warmwater': 563.4999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2389.0, 'w': None, 'warmwater': 9.700000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4982.5, 'w': None, 'warmwater': 1164.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4584.0, 'w': None, 'warmwater': 20.099999999999998, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month11-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3171.7, 'w': None, 'warmwater': 874.7000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2918.0, 'w': None, 'warmwater': 15.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1307.6, 'w': None, 'warmwater': 120.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1203.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 1, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 650.0, 'month': 1, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 598.0, 'month': 1, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 598.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 650.0, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 598.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1307.6, 'w': None, 'warmwater': 120.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1203.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month12-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 1, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 650.0, 'month': 1, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 598.0, 'month': 1, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 650.0, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 598.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1159.8, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1067.0, 'w': None, 'warmwater': 1.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 562.0, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 517.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 550.0, }), 'w': None, 'warmwater': dict({ 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 597.8, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 550.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 562.0, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 517.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1159.8, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1067.0, 'w': None, 'warmwater': 1.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month13-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 597.8, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 550.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 765.2, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 704.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 440.2, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 405.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 299.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 325.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 299.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 440.2, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 405.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 765.2, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 704.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month14-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 325.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 299.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 186.9, 'w': None, 'warmwater': 118.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 172.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 113.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 104.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 68.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 73.9, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 68.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 113.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 104.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 186.9, 'w': None, 'warmwater': 118.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 172.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month15-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 73.9, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 68.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 86.9, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 80.0, 'w': None, 'warmwater': 1.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 38.0, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 35.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 45.0, }), 'w': None, 'warmwater': dict({ 2023: 0.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 48.9, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 45.0, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 38.0, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 35.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 86.9, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 80.0, 'w': None, 'warmwater': 1.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month16-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 48.9, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 45.0, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month17-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month17-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month18-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month19-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3232.6000000000004, 'w': None, 'warmwater': 342.50000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2974.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1659.8000000000002, 'w': None, 'warmwater': 172.10000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1527.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1447.0, }), 'w': None, 'warmwater': dict({ 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1572.8, 'w': None, 'warmwater': 170.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1447.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1659.8000000000002, 'w': None, 'warmwater': 172.10000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1527.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3232.6000000000004, 'w': None, 'warmwater': 342.50000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2974.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month2-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1572.8, 'w': None, 'warmwater': 170.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1447.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 23.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 25.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 23.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 8.7, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 8.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 8.7, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 8.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month20-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 123.0, }), 'w': None, 'warmwater': dict({ 2023: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 133.7, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 123.0, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 194.6, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 179.0, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 194.6, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 179.0, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month21-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 345.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 375.0, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 345.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 396.7, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 365.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 396.7, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 365.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month22-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 489.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 531.5, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 489.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month23-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2419.5, 'w': None, 'warmwater': 241.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2226.0, 'w': None, 'warmwater': 4.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1087.0, }), 'w': None, 'warmwater': dict({ 2023: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1181.5, 'w': None, 'warmwater': 125.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1087.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1238.0, 'w': None, 'warmwater': 116.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1139.0, 'w': None, 'warmwater': 2.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2419.5, 'w': None, 'warmwater': 241.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2226.0, 'w': None, 'warmwater': 4.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month24-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1761.9, 'w': None, 'warmwater': 182.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1621.0, 'w': None, 'warmwater': 3.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3036.9, 'w': None, 'warmwater': 343.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2794.0, 'w': None, 'warmwater': 5.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1002.2, 'w': None, 'warmwater': 113.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 922.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1338.0, }), 'w': None, 'warmwater': dict({ 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1454.3, 'w': None, 'warmwater': 172.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1338.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1582.6, 'w': None, 'warmwater': 171.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1456.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3036.9, 'w': None, 'warmwater': 343.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2794.0, 'w': None, 'warmwater': 5.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month25-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2034.6999999999998, 'w': None, 'warmwater': 229.79999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1872.0, 'w': None, 'warmwater': 3.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2064.0, 'w': None, 'warmwater': 365.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1899.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 553.2, 'w': None, 'warmwater': 126.80000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 509.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 856.0, }), 'w': None, 'warmwater': dict({ 2023: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 930.4, 'w': None, 'warmwater': 181.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 856.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1133.6, 'w': None, 'warmwater': 184.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1043.0, 'w': None, 'warmwater': 3.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2064.0, 'w': None, 'warmwater': 365.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1899.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month26-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1510.8, 'w': None, 'warmwater': 239.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1390.0, 'w': None, 'warmwater': 4.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1385.6999999999998, 'w': None, 'warmwater': 335.70000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1275.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 151.0, 'w': None, 'warmwater': 118.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 139.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 602.0, }), 'w': None, 'warmwater': dict({ 2023: 2.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 654.3, 'w': None, 'warmwater': 160.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 602.0, 'w': None, 'warmwater': 2.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 731.4, 'w': None, 'warmwater': 175.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 673.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1385.6999999999998, 'w': None, 'warmwater': 335.70000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1275.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month27-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1234.6999999999998, 'w': None, 'warmwater': 217.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1136.0, 'w': None, 'warmwater': 3.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2967.2999999999993, 'w': None, 'warmwater': 696.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2730.0, 'w': None, 'warmwater': 12.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1135.8, 'w': None, 'warmwater': 181.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1045.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1310.0, }), 'w': None, 'warmwater': dict({ 2023: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1423.9, 'w': None, 'warmwater': 338.40000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1310.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 407.59999999999997, 'w': None, 'warmwater': 176.20000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 375.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1543.4, 'w': None, 'warmwater': 357.59999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1420.0, 'w': None, 'warmwater': 6.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2967.2999999999993, 'w': None, 'warmwater': 696.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2730.0, 'w': None, 'warmwater': 12.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month28-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1831.5000000000002, 'w': None, 'warmwater': 514.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1685.0, 'w': None, 'warmwater': 8.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3419.5, 'w': None, 'warmwater': 461.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3146.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1772.8000000000002, 'w': None, 'warmwater': 233.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1631.0, 'w': None, 'warmwater': 4.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1515.0, }), 'w': None, 'warmwater': dict({ 2023: 3.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1646.6999999999998, 'w': None, 'warmwater': 227.99999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1515.0, 'w': None, 'warmwater': 3.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1772.8000000000002, 'w': None, 'warmwater': 233.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1631.0, 'w': None, 'warmwater': 4.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3419.5, 'w': None, 'warmwater': 461.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3146.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month3-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1646.6999999999998, 'w': None, 'warmwater': 227.99999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1515.0, 'w': None, 'warmwater': 3.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 557.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 9.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 4.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 267.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 4.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 557.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 9.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month4-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 267.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 4.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 604.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 5.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 314.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 5.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 604.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month5-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 314.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 5.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 706.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 12.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 6.300000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 366.40000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1813.0000000000002, 'w': None, 'warmwater': 339.59999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1668.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 706.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 12.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month6-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1697.8, 'w': None, 'warmwater': 415.8, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1562.0, 'w': None, 'warmwater': 7.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 767.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 13.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 6.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 399.00000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 6.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 77.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1813.0000000000002, 'w': None, 'warmwater': 368.09999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1668.0, 'w': None, 'warmwater': 6.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 767.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 13.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month7-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1697.8, 'w': None, 'warmwater': 476.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1562.0, 'w': None, 'warmwater': 8.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3542.3, 'w': None, 'warmwater': 893.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3259.0, 'w': None, 'warmwater': 15.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1583.0, }), 'w': None, 'warmwater': dict({ 2023: 7.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1720.6, 'w': None, 'warmwater': 459.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1583.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 10.899999999999999, 'w': None, 'warmwater': 143.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 10.0, 'w': None, 'warmwater': 2.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1821.7000000000003, 'w': None, 'warmwater': 433.79999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1676.0, 'w': None, 'warmwater': 7.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3542.3, 'w': None, 'warmwater': 893.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3259.0, 'w': None, 'warmwater': 15.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month8-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1731.5, 'w': None, 'warmwater': 603.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1593.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3870.6, 'w': None, 'warmwater': 1043.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3561.0, 'w': None, 'warmwater': 18.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1706.0, }), 'w': None, 'warmwater': dict({ 2023: 9.3, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1854.3, 'w': None, 'warmwater': 538.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1706.0, 'w': None, 'warmwater': 9.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 205.49999999999997, 'w': None, 'warmwater': 215.70000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 189.0, 'w': None, 'warmwater': 3.6999999999999997, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2016.3000000000002, 'w': None, 'warmwater': 505.8999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1855.0, 'w': None, 'warmwater': 8.700000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3870.6, 'w': None, 'warmwater': 1043.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3561.0, 'w': None, 'warmwater': 18.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[False-select_month9-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2059.7999999999997, 'w': None, 'warmwater': 753.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1895.0, 'w': None, 'warmwater': 13.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 5754.2, 'w': None, 'warmwater': 1290.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 5294.0, 'w': None, 'warmwater': 22.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2540.0, }), 'w': None, 'warmwater': dict({ 2023: 11.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2760.8, 'w': None, 'warmwater': 665.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2540.0, 'w': None, 'warmwater': 11.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1182.6, 'w': None, 'warmwater': 334.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1088.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2993.3999999999996, 'w': None, 'warmwater': 624.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2754.0, 'w': None, 'warmwater': 10.799999999999999, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 5754.2, 'w': None, 'warmwater': 1290.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 5294.0, 'w': None, 'warmwater': 22.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-None-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 1088.0, 2023: 2540.0, }), 'w': None, 'warmwater': dict({ 2022: 5.800000000000001, 2023: 11.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3943.3999999999996, 'w': None, 'warmwater': 1000.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3628.0, 'w': None, 'warmwater': 17.299999999999997, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2467.3999999999996, 'w': None, 'warmwater': 216.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2270.0, 'w': None, 'warmwater': 3.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1219.6, 'w': None, 'warmwater': 106.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1122.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1148.0, }), 'w': None, 'warmwater': dict({ 2023: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1247.8, 'w': None, 'warmwater': 109.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1148.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1219.6, 'w': None, 'warmwater': 106.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1122.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, 2024: 1122.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, 2024: 1.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2467.3999999999996, 'w': None, 'warmwater': 216.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2270.0, 'w': None, 'warmwater': 3.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month1-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1148.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1247.8, 'w': None, 'warmwater': 109.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1148.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4642.3, 'w': None, 'warmwater': 1169.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4271.0, 'w': None, 'warmwater': 20.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2051.0, }), 'w': None, 'warmwater': dict({ 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2229.3, 'w': None, 'warmwater': 602.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2051.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 602.2, 'w': None, 'warmwater': 276.79999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 554.0, 'w': None, 'warmwater': 4.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2412.9999999999995, 'w': None, 'warmwater': 566.9999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2220.0, 'w': None, 'warmwater': 9.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4642.3, 'w': None, 'warmwater': 1169.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4271.0, 'w': None, 'warmwater': 20.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month10-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 554.0, 2023: 2051.0, }), 'w': None, 'warmwater': dict({ 2022: 4.8, 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2831.4999999999995, 'w': None, 'warmwater': 879.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2605.0, 'w': None, 'warmwater': 15.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4982.5, 'w': None, 'warmwater': 1164.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4584.0, 'w': None, 'warmwater': 20.099999999999998, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 2195.0, }), 'w': None, 'warmwater': dict({ 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2385.8, 'w': None, 'warmwater': 601.4000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2195.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 785.9000000000001, 'w': None, 'warmwater': 273.29999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 723.0, 'w': None, 'warmwater': 4.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2596.7, 'w': None, 'warmwater': 563.4999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2389.0, 'w': None, 'warmwater': 9.700000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 4982.5, 'w': None, 'warmwater': 1164.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 4584.0, 'w': None, 'warmwater': 20.099999999999998, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month11-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 723.0, 2023: 2195.0, }), 'w': None, 'warmwater': dict({ 2022: 4.7, 2023: 10.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3171.7, 'w': None, 'warmwater': 874.7000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2918.0, 'w': None, 'warmwater': 15.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1307.6, 'w': None, 'warmwater': 120.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1203.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 1, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 650.0, 'month': 1, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 598.0, 'month': 1, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 598.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 650.0, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 598.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1307.6, 'w': None, 'warmwater': 120.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1203.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month12-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 1, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 650.0, 'month': 1, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 598.0, 'month': 1, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 598.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 650.0, 'w': None, 'warmwater': 61.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 598.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1159.8, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1067.0, 'w': None, 'warmwater': 1.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 562.0, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 517.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 550.0, }), 'w': None, 'warmwater': dict({ 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 597.8, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 550.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 562.0, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 517.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 306.0, 'month': 2, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 562.0, 'month': 2, 'w': None, 'warmwater': 47.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 517.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 6, 'comparedValue': 33.0, 'lastYearValue': 550.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.8, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, 2024: 517.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1159.8, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1067.0, 'w': None, 'warmwater': 1.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month13-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 2, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 597.8, 'month': 2, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 550.0, 'month': 2, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 550.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 597.8, 'w': None, 'warmwater': 48.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 550.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 765.2, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 704.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 440.2, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 405.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 299.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 325.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 299.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 440.2, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 405.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, 2024: 405.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 765.2, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 704.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month14-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 299.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 325.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 299.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 186.9, 'w': None, 'warmwater': 118.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 172.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 113.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 104.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 68.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 73.9, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 68.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 113.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 104.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, 2024: 104.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, 2024: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 186.9, 'w': None, 'warmwater': 118.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 172.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month15-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 68.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 73.9, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 68.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 86.9, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 80.0, 'w': None, 'warmwater': 1.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 38.0, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 35.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 45.0, }), 'w': None, 'warmwater': dict({ 2023: 0.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 48.9, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 45.0, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 38.0, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 35.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, 2024: 35.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 86.9, 'w': None, 'warmwater': 96.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 80.0, 'w': None, 'warmwater': 1.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month16-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 45.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.7, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 48.9, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 45.0, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month17-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month17-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 0.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month18-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 101.69999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2023: 0.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month19-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.5, 2023: 0.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 0.0, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 0.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3232.6000000000004, 'w': None, 'warmwater': 342.50000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2974.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1659.8000000000002, 'w': None, 'warmwater': 172.10000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1527.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1447.0, }), 'w': None, 'warmwater': dict({ 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1572.8, 'w': None, 'warmwater': 170.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1447.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1659.8000000000002, 'w': None, 'warmwater': 172.10000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1527.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, 2024: 1527.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, 2024: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3232.6000000000004, 'w': None, 'warmwater': 342.50000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2974.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month2-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 3, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 325.0, 'month': 3, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 299.0, 'month': 3, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1447.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1572.8, 'w': None, 'warmwater': 170.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1447.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 23.0, }), 'w': None, 'warmwater': dict({ 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 25.0, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 23.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 8.7, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 8.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 8.7, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 8.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month20-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 8.0, 2023: 23.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 33.7, 'w': None, 'warmwater': 126.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 31.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 123.0, }), 'w': None, 'warmwater': dict({ 2023: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 133.7, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 123.0, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 194.6, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 179.0, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 194.6, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 179.0, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month21-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 179.0, 2023: 123.0, }), 'w': None, 'warmwater': dict({ 2022: 1.2, 2023: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 328.29999999999995, 'w': None, 'warmwater': 150.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 302.0, 'w': None, 'warmwater': 2.5999999999999996, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 345.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 375.0, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 345.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 396.7, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 365.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 396.7, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 365.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month22-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 365.0, 2023: 345.0, }), 'w': None, 'warmwater': dict({ 2022: 1.1, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 771.7, 'w': None, 'warmwater': 125.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 710.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2024: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 489.0, }), 'w': None, 'warmwater': dict({ 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 531.5, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 489.0, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, 2024: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, 2024: 0.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month23-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 489.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 1.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1111.9, 'w': None, 'warmwater': 121.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1023.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2419.5, 'w': None, 'warmwater': 241.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2226.0, 'w': None, 'warmwater': 4.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 657.6, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 605.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1087.0, }), 'w': None, 'warmwater': dict({ 2023: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1181.5, 'w': None, 'warmwater': 125.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1087.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1238.0, 'w': None, 'warmwater': 116.30000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1139.0, 'w': None, 'warmwater': 2.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 358.0, 'month': 1, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 657.6, 'month': 1, 'w': None, 'warmwater': 58.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 605.0, 'month': 1, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 1, 'comparedValue': 7.0, 'lastYearValue': 598.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, 2024: 605.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, 2024: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2419.5, 'w': None, 'warmwater': 241.29999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2226.0, 'w': None, 'warmwater': 4.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month24-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1087.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1761.9, 'w': None, 'warmwater': 182.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1621.0, 'w': None, 'warmwater': 3.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3036.9, 'w': None, 'warmwater': 343.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2794.0, 'w': None, 'warmwater': 5.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1002.2, 'w': None, 'warmwater': 113.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 922.0, 'w': None, 'warmwater': 1.9000000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1338.0, }), 'w': None, 'warmwater': dict({ 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1454.3, 'w': None, 'warmwater': 172.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1338.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1582.6, 'w': None, 'warmwater': 171.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1456.0, 'w': None, 'warmwater': 2.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 240.0, 'month': 3, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 440.2, 'month': 3, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 405.0, 'month': 3, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 35, 'comparedValue': 106.0, 'lastYearValue': 299.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, 2024: 922.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, 2024: 1.9000000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3036.9, 'w': None, 'warmwater': 343.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2794.0, 'w': None, 'warmwater': 5.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month25-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 1338.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.9000000000000004, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2034.6999999999998, 'w': None, 'warmwater': 229.79999999999998, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1872.0, 'w': None, 'warmwater': 3.9000000000000004, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2064.0, 'w': None, 'warmwater': 365.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1899.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 553.2, 'w': None, 'warmwater': 126.80000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 509.0, 'w': None, 'warmwater': 2.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 856.0, }), 'w': None, 'warmwater': dict({ 2023: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 930.4, 'w': None, 'warmwater': 181.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 856.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1133.6, 'w': None, 'warmwater': 184.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1043.0, 'w': None, 'warmwater': 3.2, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, 2024: 509.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, 2024: 2.2, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2064.0, 'w': None, 'warmwater': 365.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1899.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month26-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 856.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1510.8, 'w': None, 'warmwater': 239.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1390.0, 'w': None, 'warmwater': 4.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1385.6999999999998, 'w': None, 'warmwater': 335.70000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1275.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 151.0, 'w': None, 'warmwater': 118.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 139.0, 'w': None, 'warmwater': 2.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 602.0, }), 'w': None, 'warmwater': dict({ 2023: 2.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 654.3, 'w': None, 'warmwater': 160.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 602.0, 'w': None, 'warmwater': 2.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 12, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 580.4, 'month': 12, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 534.0, 'month': 12, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 580.4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 534.0, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 731.4, 'w': None, 'warmwater': 175.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 673.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, 2024: 139.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, 2024: 2.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1385.6999999999998, 'w': None, 'warmwater': 335.70000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1275.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month27-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 289.0, 'month': 12, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 531.5, 'month': 12, 'w': None, 'warmwater': 63.4, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 489.0, 'month': 12, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 8, 'comparedValue': 45.0, 'lastYearValue': 534.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 534.0, 2023: 602.0, }), 'w': None, 'warmwater': dict({ 2022: 1.0, 2023: 2.8, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1234.6999999999998, 'w': None, 'warmwater': 217.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1136.0, 'w': None, 'warmwater': 3.8, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2967.2999999999993, 'w': None, 'warmwater': 696.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2730.0, 'w': None, 'warmwater': 12.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1135.8, 'w': None, 'warmwater': 181.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1045.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1310.0, }), 'w': None, 'warmwater': dict({ 2023: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1423.9, 'w': None, 'warmwater': 338.40000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1310.0, 'w': None, 'warmwater': 5.800000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 11, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 396.7, 'month': 11, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 365.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 407.59999999999997, 'w': None, 'warmwater': 176.20000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 375.0, 'w': None, 'warmwater': 3.1, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1543.4, 'w': None, 'warmwater': 357.59999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1420.0, 'w': None, 'warmwater': 6.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, 2024: 1045.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, 2024: 3.1, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2967.2999999999993, 'w': None, 'warmwater': 696.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2730.0, 'w': None, 'warmwater': 12.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month28-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 204.0, 'month': 11, 'unit': 'EUR', 'warmwater': 8.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 375.0, 'month': 11, 'w': None, 'warmwater': 64.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 345.0, 'month': 11, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 5, 'comparedValue': 20.0, 'lastYearValue': 365.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 1.1, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 375.0, 2023: 1310.0, }), 'w': None, 'warmwater': dict({ 2022: 3.1, 2023: 5.800000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1831.5000000000002, 'w': None, 'warmwater': 514.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1685.0, 'w': None, 'warmwater': 8.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3419.5, 'w': None, 'warmwater': 461.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3146.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1772.8000000000002, 'w': None, 'warmwater': 233.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1631.0, 'w': None, 'warmwater': 4.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1515.0, }), 'w': None, 'warmwater': dict({ 2023: 3.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1646.6999999999998, 'w': None, 'warmwater': 227.99999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1515.0, 'w': None, 'warmwater': 3.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1772.8000000000002, 'w': None, 'warmwater': 233.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1631.0, 'w': None, 'warmwater': 4.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 62.0, 'month': 4, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 113.0, 'month': 4, 'w': None, 'warmwater': 61.1, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 104.0, 'month': 4, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 53, 'comparedValue': 36.0, 'lastYearValue': 68.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 10, 'comparedValue': 0.1, 'lastYearValue': 1.0, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, 2024: 1631.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, 2024: 4.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3419.5, 'w': None, 'warmwater': 461.20000000000005, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3146.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month3-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 4, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 73.9, 'month': 4, 'w': None, 'warmwater': 57.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 68.0, 'month': 4, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1515.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 3.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1646.6999999999998, 'w': None, 'warmwater': 227.99999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1515.0, 'w': None, 'warmwater': 3.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 557.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 9.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 4.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 267.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 4.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 557.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 9.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month4-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 5, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 48.9, 'month': 5, 'w': None, 'warmwater': 39.0, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 45.0, 'month': 5, 'w': None, 'warmwater': 0.7, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 4.6, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 267.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 4.6, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 604.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 5.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 314.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 5.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': None, 'last_custom_value': None, 'last_value': None, 'last_year_compared_consumption': None, 'sum_by_year': dict({ 'h': None, 'heating': dict({ 2022: 0.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, }), 'water': None, 'ww': None, }), 'total_additional_custom_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), 'total_additional_values': dict({ 'h': None, 'heating': None, 'w': None, 'warmwater': None, 'water': None, 'ww': None, }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3506.4000000000005, 'w': None, 'warmwater': 604.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3226.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month5-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 6, 'unit': None, 'warmwater': None, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 47.1, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 6, 'w': None, 'warmwater': 0.8, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 0.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.0, 2023: 5.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 314.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 5.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 706.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 12.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 6.300000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 366.40000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 6.300000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 7, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 2.2, 'month': 7, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 2.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 49.4, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1813.0000000000002, 'w': None, 'warmwater': 339.59999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1668.0, 'w': None, 'warmwater': 5.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 706.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 12.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month6-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 7, 'unit': 'EUR', 'warmwater': 6.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 52.3, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 7, 'w': None, 'warmwater': 0.9, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 100, 'comparedValue': 2.0, 'lastYearValue': 2.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.9, 'period': None, 'smiley': 'EQUAL', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 0.9, 2023: 6.300000000000001, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1697.8, 'w': None, 'warmwater': 415.8, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1562.0, 'w': None, 'warmwater': 7.200000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 767.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 13.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2023: 6.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1695.6, 'w': None, 'warmwater': 399.00000000000006, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1560.0, 'w': None, 'warmwater': 6.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 8, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 28.5, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.5, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2.2, 'w': None, 'warmwater': 77.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 2.0, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1813.0000000000002, 'w': None, 'warmwater': 368.09999999999997, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1668.0, 'w': None, 'warmwater': 6.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3508.6000000000004, 'w': None, 'warmwater': 767.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3228.0, 'w': None, 'warmwater': 13.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month7-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 0.0, 'month': 8, 'unit': 'EUR', 'warmwater': 4.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 32.6, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 0.0, 'month': 8, 'w': None, 'warmwater': 0.6, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 0, 'comparedValue': 0.0, 'lastYearValue': 0.0, 'period': None, 'smiley': 'EQUAL', }), 'warmwater': dict({ 'comparedPercentage': 20, 'comparedValue': 0.1, 'lastYearValue': 0.5, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 2.0, 2023: 1560.0, }), 'w': None, 'warmwater': dict({ 2022: 1.4, 2023: 6.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1697.8, 'w': None, 'warmwater': 476.90000000000003, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1562.0, 'w': None, 'warmwater': 8.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3542.3, 'w': None, 'warmwater': 893.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3259.0, 'w': None, 'warmwater': 15.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1583.0, }), 'w': None, 'warmwater': dict({ 2023: 7.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1720.6, 'w': None, 'warmwater': 459.5, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1583.0, 'w': None, 'warmwater': 7.9, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 9, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 8.7, 'month': 9, 'w': None, 'warmwater': 65.7, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 8.0, 'month': 9, 'w': None, 'warmwater': 1.1, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 10.899999999999999, 'w': None, 'warmwater': 143.6, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 10.0, 'w': None, 'warmwater': 2.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1821.7000000000003, 'w': None, 'warmwater': 433.79999999999995, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1676.0, 'w': None, 'warmwater': 7.5, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3542.3, 'w': None, 'warmwater': 893.3000000000001, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3259.0, 'w': None, 'warmwater': 15.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month8-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 14.0, 'month': 9, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 25.0, 'month': 9, 'w': None, 'warmwater': 60.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 23.0, 'month': 9, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 188, 'comparedValue': 15.0, 'lastYearValue': 8.0, 'period': None, 'smiley': 'MAD', }), 'warmwater': dict({ 'comparedPercentage': 9, 'comparedValue': 0.1, 'lastYearValue': 1.1, 'period': None, 'smiley': 'HAPPY', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 10.0, 2023: 1583.0, }), 'w': None, 'warmwater': dict({ 2022: 2.5, 2023: 7.9, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1731.5, 'w': None, 'warmwater': 603.1, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1593.0, 'w': None, 'warmwater': 10.4, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-None] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3870.6, 'w': None, 'warmwater': 1043.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3561.0, 'w': None, 'warmwater': 18.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year0] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1810.8000000000002, 'w': None, 'warmwater': 290.2, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1666.0, 'w': None, 'warmwater': 5.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year1] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2023: 1706.0, }), 'w': None, 'warmwater': dict({ 2023: 9.3, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 1854.3, 'w': None, 'warmwater': 538.0, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1706.0, 'w': None, 'warmwater': 9.3, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year2] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': None, 'month': 10, 'unit': None, 'warmwater': None, 'water': None, 'year': 2022, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 194.6, 'month': 10, 'w': None, 'warmwater': 72.1, 'water': None, 'ww': 'kWh', 'year': 2022, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 179.0, 'month': 10, 'w': None, 'warmwater': 1.2, 'water': None, 'ww': 'm³', 'year': 2022, }), 'last_year_compared_consumption': dict({ }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 205.49999999999997, 'w': None, 'warmwater': 215.70000000000002, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 189.0, 'w': None, 'warmwater': 3.6999999999999997, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year3] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2016.3000000000002, 'w': None, 'warmwater': 505.8999999999999, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1855.0, 'w': None, 'warmwater': 8.700000000000001, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year4] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 21.0, 'month': 5, 'unit': 'EUR', 'warmwater': 7.0, 'water': None, 'year': 2024, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 38.0, 'month': 5, 'w': None, 'warmwater': 57.0, 'water': None, 'ww': 'kWh', 'year': 2024, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 35.0, 'month': 5, 'w': None, 'warmwater': 1.0, 'water': None, 'ww': 'm³', 'year': 2024, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 22, 'comparedValue': 10.0, 'lastYearValue': 45.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 43, 'comparedValue': 0.3, 'lastYearValue': 0.7, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, 2024: 1666.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, 2024: 5.0, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 3870.6, 'w': None, 'warmwater': 1043.9, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 3561.0, 'w': None, 'warmwater': 18.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_consum_raw_filters[True-select_month9-select_year5] dict({ 'all_dates': None, 'combined_data': None, 'last_costs': dict({ 'heating': 73.0, 'month': 10, 'unit': 'EUR', 'warmwater': 9.0, 'water': None, 'year': 2023, }), 'last_custom_value': dict({ 'h': 'kWh', 'heating': 133.7, 'month': 10, 'w': None, 'warmwater': 78.5, 'water': None, 'ww': 'kWh', 'year': 2023, }), 'last_value': dict({ 'h': 'Einheiten', 'heating': 123.0, 'month': 10, 'w': None, 'warmwater': 1.4, 'water': None, 'ww': 'm³', 'year': 2023, }), 'last_year_compared_consumption': dict({ 'heating': dict({ 'comparedPercentage': 31, 'comparedValue': 56.0, 'lastYearValue': 179.0, 'period': None, 'smiley': 'HAPPY', }), 'warmwater': dict({ 'comparedPercentage': 17, 'comparedValue': 0.2, 'lastYearValue': 1.2, 'period': None, 'smiley': 'MAD', }), }), 'sum_by_year': dict({ 'h': 'Einheiten', 'heating': dict({ 2022: 189.0, 2023: 1706.0, }), 'w': None, 'warmwater': dict({ 2022: 3.6999999999999997, 2023: 9.3, }), 'water': None, 'ww': 'm³', }), 'total_additional_custom_values': dict({ 'h': 'kWh', 'heating': 2059.7999999999997, 'w': None, 'warmwater': 753.7, 'water': None, 'ww': 'kWh', }), 'total_additional_values': dict({ 'h': 'Einheiten', 'heating': 1895.0, 'w': None, 'warmwater': 13.0, 'water': None, 'ww': 'm³', }), }) # --- # name: test_get_comsumption_data dict({ 'co2Emissions': None, 'co2EmissionsBillingPeriods': None, 'consumptionUnitId': '26e93f1a-c828-11ea-87d0-0242ac130003', 'consumptions': list([ dict({ 'date': dict({ 'month': 5, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '38,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 72, 'additionalAverageConsumptionValue': '27,2', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '38,0', 'averageConsumptionPercentage': 71, 'averageConsumptionValue': '25', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '35', }), 'comparedConsumption': dict({ 'comparedPercentage': 22, 'comparedValue': '10', 'lastYearValue': 45.0, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '35', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '45,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,0', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 43, 'comparedValue': '0,3', 'lastYearValue': 0.7, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 4, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '113,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 96, 'additionalAverageConsumptionValue': '108,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '113,0', 'averageConsumptionPercentage': 96, 'averageConsumptionValue': '100', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '104', }), 'comparedConsumption': dict({ 'comparedPercentage': 53, 'comparedValue': '36', 'lastYearValue': 68.0, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '104', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,1', 'averageConsumptionPercentage': 73, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 3, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '440,2', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '476,1', 'additionalResidentConsumptionPercentage': 92, 'additionalResidentConsumptionValue': '440,2', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '438', 'residentConsumptionPercentage': 92, 'residentConsumptionValue': '405', }), 'comparedConsumption': dict({ 'comparedPercentage': 35, 'comparedValue': '106', 'lastYearValue': 299.0, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '405', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '65,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '52,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '65,7', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 2, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '562,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '630,4', 'additionalResidentConsumptionPercentage': 89, 'additionalResidentConsumptionValue': '562,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '580', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '517', }), 'comparedConsumption': dict({ 'comparedPercentage': 6, 'comparedValue': '33', 'lastYearValue': 550.0, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '517', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '47,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '57,6', 'additionalResidentConsumptionPercentage': 83, 'additionalResidentConsumptionValue': '47,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 80, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.8, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 1, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '657,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '723,4', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '657,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '666', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '605', }), 'comparedConsumption': dict({ 'comparedPercentage': 1, 'comparedValue': '7', 'lastYearValue': 598.0, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '605', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '58,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '47,0', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '58,7', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 9, 'comparedValue': '0,1', 'lastYearValue': 1.1, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 12, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '531,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '584,7', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '531,5', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '538', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '489', }), 'comparedConsumption': dict({ 'comparedPercentage': 8, 'comparedValue': '45', 'lastYearValue': 534.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '489', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '63,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '50,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '63,4', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 11, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '375,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '423,9', 'additionalResidentConsumptionPercentage': 88, 'additionalResidentConsumptionValue': '375,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '390', 'residentConsumptionPercentage': 88, 'residentConsumptionValue': '345', }), 'comparedConsumption': dict({ 'comparedPercentage': 5, 'comparedValue': '20', 'lastYearValue': 365.0, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '345', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '64,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '51,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '64,5', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 1.1, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 10, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '133,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '147,1', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '133,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '135', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '123', }), 'comparedConsumption': dict({ 'comparedPercentage': 31, 'comparedValue': '56', 'lastYearValue': 179.0, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '123', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '78,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 73, 'additionalAverageConsumptionValue': '57,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '78,5', 'averageConsumptionPercentage': 71, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,4', }), 'comparedConsumption': dict({ 'comparedPercentage': 17, 'comparedValue': '0,2', 'lastYearValue': 1.2, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,4', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 9, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '25,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '48,9', 'additionalResidentConsumptionPercentage': 51, 'additionalResidentConsumptionValue': '25,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '45', 'residentConsumptionPercentage': 51, 'residentConsumptionValue': '23', }), 'comparedConsumption': dict({ 'comparedPercentage': 188, 'comparedValue': '15', 'lastYearValue': 8.0, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '23', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '60,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '60,5', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 9, 'comparedValue': '0,1', 'lastYearValue': 1.1, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 8, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.0, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '32,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '43,6', 'additionalResidentConsumptionPercentage': 75, 'additionalResidentConsumptionValue': '32,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 75, 'residentConsumptionValue': '0,6', }), 'comparedConsumption': dict({ 'comparedPercentage': 20, 'comparedValue': '0,1', 'lastYearValue': 0.5, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,6', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 7, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': dict({ 'comparedPercentage': 100, 'comparedValue': '2', 'lastYearValue': 2.0, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '52,3', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '41,9', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '52,3', 'averageConsumptionPercentage': 78, 'averageConsumptionValue': '0,7', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,9', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.9, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,9', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 6, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '47,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '53,5', 'additionalResidentConsumptionPercentage': 88, 'additionalResidentConsumptionValue': '47,1', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 5, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '48,9', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '53,8', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '48,9', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '50', 'residentConsumptionPercentage': 90, 'residentConsumptionValue': '45', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '45', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '39,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '46,5', 'additionalResidentConsumptionPercentage': 84, 'additionalResidentConsumptionValue': '39,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 88, 'residentConsumptionValue': '0,7', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,7', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 4, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '73,9', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '97,8', 'additionalResidentConsumptionPercentage': 76, 'additionalResidentConsumptionValue': '73,9', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '90', 'residentConsumptionPercentage': 76, 'residentConsumptionValue': '68', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '68', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '46,1', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,6', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 3, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '325,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '380,4', 'additionalResidentConsumptionPercentage': 85, 'additionalResidentConsumptionValue': '325,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '350', 'residentConsumptionPercentage': 85, 'residentConsumptionValue': '299', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '299', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '60,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '60,5', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 2, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '597,8', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 98, 'additionalAverageConsumptionValue': '587,0', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '597,8', 'averageConsumptionPercentage': 98, 'averageConsumptionValue': '540', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '550', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '550', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '48,3', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 99, 'additionalAverageConsumptionValue': '47,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '48,3', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 1, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '650,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 97, 'additionalAverageConsumptionValue': '630,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '650,0', 'averageConsumptionPercentage': 97, 'averageConsumptionValue': '580', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '598', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '598', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '49,3', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,6', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 12, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '580,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 96, 'additionalAverageConsumptionValue': '559,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '580,4', 'averageConsumptionPercentage': 96, 'averageConsumptionValue': '515', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '534', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '534', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '46,1', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,6', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 11, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '396,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '413,0', 'additionalResidentConsumptionPercentage': 96, 'additionalResidentConsumptionValue': '396,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '380', 'residentConsumptionPercentage': 96, 'residentConsumptionValue': '365', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '365', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,1', 'averageConsumptionPercentage': 73, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 10, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '194,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '271,7', 'additionalResidentConsumptionPercentage': 72, 'additionalResidentConsumptionValue': '194,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '250', 'residentConsumptionPercentage': 72, 'residentConsumptionValue': '179', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '179', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '72,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '57,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '72,1', 'averageConsumptionPercentage': 83, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,2', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,2', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 9, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '8,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '9,6', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '8,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '9', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '65,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '52,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '65,7', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 8, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '28,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '43,6', 'additionalResidentConsumptionPercentage': 65, 'additionalResidentConsumptionValue': '28,5', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 63, 'residentConsumptionValue': '0,5', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,5', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 7, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2,2', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '2,4', 'additionalResidentConsumptionPercentage': 92, 'additionalResidentConsumptionValue': '2,2', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '2', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '2', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '49,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '39,5', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '49,4', 'averageConsumptionPercentage': 78, 'averageConsumptionValue': '0,7', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,9', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,9', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), ]), 'consumptionsBillingPeriods': dict({ 'currentBillingPeriod': dict({ 'exception': None, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2876,0', 'averageConsumption': None, 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '2', 'lastYearValue': 2648.0, 'period': None, 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2646', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '642,0', 'averageConsumption': None, 'comparedConsumption': dict({ 'comparedPercentage': 7, 'comparedValue': '0,7', 'lastYearValue': 10.4, 'period': None, 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '11,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2024, }), 'start': dict({ 'month': 7, 'year': 2023, }), }), }), 'previousBillingPeriod': dict({ 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2878,2', 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2648', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '601,4', 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '10,4', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2023, }), 'start': dict({ 'month': 7, 'year': 2022, }), }), }), }), 'costs': list([ dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 22, 'comparedValue': '6', 'lastYearValue': 26.6, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 21, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 47, 'comparedValue': '2', 'lastYearValue': 4.7, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 5, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 53, 'comparedValue': '22', 'lastYearValue': 40.2, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 62, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 6.9, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 4, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 36, 'comparedValue': '63', 'lastYearValue': 176.9, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 240, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '1', 'lastYearValue': 7.3, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 3, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 6, 'comparedValue': '20', 'lastYearValue': 325.5, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 306, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 5.8, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 2, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 1, 'comparedValue': '4', 'lastYearValue': 353.9, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 358, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 7.4, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 1, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '27', 'lastYearValue': 316.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 289, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 10, 'comparedValue': '1', 'lastYearValue': 6.9, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 12, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 6, 'comparedValue': '12', 'lastYearValue': 216.0, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 204, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 5, 'comparedValue': '1', 'lastYearValue': 7.4, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 11, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 31, 'comparedValue': '33', 'lastYearValue': 105.9, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 73, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 9, 'comparedValue': '1', 'lastYearValue': 8.7, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 9, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 10, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 189, 'comparedValue': '9', 'lastYearValue': 4.7, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 14, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '1', 'lastYearValue': 7.9, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 9, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.0, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 15, 'comparedValue': '1', 'lastYearValue': 3.4, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 4, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 8, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 100, 'comparedValue': '1', 'lastYearValue': 1.2, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 6.0, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 7, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 6, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 27, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 5, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 5, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 40, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 4, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 177, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 3, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 326, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 2, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 354, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 1, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 316, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 12, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 216, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 11, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 106, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 9, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 10, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 5, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 9, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 3, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 8, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 1, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 7, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), ]), 'costsBillingPeriods': dict({ 'currentBillingPeriod': dict({ 'exception': None, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '1', 'lastYearValue': 1568.0, 'period': None, 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': '1567', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': dict({ 'comparedPercentage': 7, 'comparedValue': '5', 'lastYearValue': 72.0, 'period': None, 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': '77', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2024, }), 'start': dict({ 'month': 7, 'year': 2023, }), }), }), 'previousBillingPeriod': dict({ 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': '1568', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': '72', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2023, }), 'start': dict({ 'month': 7, 'year': 2022, }), }), }), }), 'isSCEedBasicForCurrentMonth': True, 'nonEEDBasicStartDate': None, 'resident': dict({ 'invalid': False, 'invalidDate': None, 'moveOutDate': None, 'movedOut': False, }), }) # --- # name: test_get_raw dict({ 'co2Emissions': None, 'co2EmissionsBillingPeriods': None, 'consumptionUnitId': '26e93f1a-c828-11ea-87d0-0242ac130003', 'consumptions': list([ dict({ 'date': dict({ 'month': 5, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '38,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 72, 'additionalAverageConsumptionValue': '27,2', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '38,0', 'averageConsumptionPercentage': 71, 'averageConsumptionValue': '25', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '35', }), 'comparedConsumption': dict({ 'comparedPercentage': 22, 'comparedValue': '10', 'lastYearValue': 45.0, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '35', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '45,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,0', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 43, 'comparedValue': '0,3', 'lastYearValue': 0.7, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 4, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '113,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 96, 'additionalAverageConsumptionValue': '108,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '113,0', 'averageConsumptionPercentage': 96, 'averageConsumptionValue': '100', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '104', }), 'comparedConsumption': dict({ 'comparedPercentage': 53, 'comparedValue': '36', 'lastYearValue': 68.0, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '104', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,1', 'averageConsumptionPercentage': 73, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 3, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '440,2', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '476,1', 'additionalResidentConsumptionPercentage': 92, 'additionalResidentConsumptionValue': '440,2', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '438', 'residentConsumptionPercentage': 92, 'residentConsumptionValue': '405', }), 'comparedConsumption': dict({ 'comparedPercentage': 35, 'comparedValue': '106', 'lastYearValue': 299.0, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '405', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '65,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '52,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '65,7', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 2, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '562,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '630,4', 'additionalResidentConsumptionPercentage': 89, 'additionalResidentConsumptionValue': '562,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '580', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '517', }), 'comparedConsumption': dict({ 'comparedPercentage': 6, 'comparedValue': '33', 'lastYearValue': 550.0, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '517', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '47,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '57,6', 'additionalResidentConsumptionPercentage': 83, 'additionalResidentConsumptionValue': '47,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 80, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.8, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 1, 'year': 2024, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '657,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '723,4', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '657,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '666', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '605', }), 'comparedConsumption': dict({ 'comparedPercentage': 1, 'comparedValue': '7', 'lastYearValue': 598.0, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '605', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '58,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '47,0', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '58,7', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 9, 'comparedValue': '0,1', 'lastYearValue': 1.1, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 12, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '531,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '584,7', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '531,5', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '538', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '489', }), 'comparedConsumption': dict({ 'comparedPercentage': 8, 'comparedValue': '45', 'lastYearValue': 534.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '489', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '63,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '50,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '63,4', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 10, 'comparedValue': '0,1', 'lastYearValue': 1.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 11, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '375,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '423,9', 'additionalResidentConsumptionPercentage': 88, 'additionalResidentConsumptionValue': '375,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '390', 'residentConsumptionPercentage': 88, 'residentConsumptionValue': '345', }), 'comparedConsumption': dict({ 'comparedPercentage': 5, 'comparedValue': '20', 'lastYearValue': 365.0, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '345', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '64,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '51,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '64,5', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 1.1, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 10, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '133,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '147,1', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '133,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '135', 'residentConsumptionPercentage': 91, 'residentConsumptionValue': '123', }), 'comparedConsumption': dict({ 'comparedPercentage': 31, 'comparedValue': '56', 'lastYearValue': 179.0, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '123', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '78,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 73, 'additionalAverageConsumptionValue': '57,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '78,5', 'averageConsumptionPercentage': 71, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,4', }), 'comparedConsumption': dict({ 'comparedPercentage': 17, 'comparedValue': '0,2', 'lastYearValue': 1.2, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,4', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 9, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '25,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '48,9', 'additionalResidentConsumptionPercentage': 51, 'additionalResidentConsumptionValue': '25,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '45', 'residentConsumptionPercentage': 51, 'residentConsumptionValue': '23', }), 'comparedConsumption': dict({ 'comparedPercentage': 188, 'comparedValue': '15', 'lastYearValue': 8.0, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '23', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '60,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '60,5', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': dict({ 'comparedPercentage': 9, 'comparedValue': '0,1', 'lastYearValue': 1.1, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 8, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.0, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '32,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '43,6', 'additionalResidentConsumptionPercentage': 75, 'additionalResidentConsumptionValue': '32,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 75, 'residentConsumptionValue': '0,6', }), 'comparedConsumption': dict({ 'comparedPercentage': 20, 'comparedValue': '0,1', 'lastYearValue': 0.5, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,6', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 7, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': dict({ 'comparedPercentage': 100, 'comparedValue': '2', 'lastYearValue': 2.0, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '52,3', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '41,9', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '52,3', 'averageConsumptionPercentage': 78, 'averageConsumptionValue': '0,7', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,9', }), 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.9, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'EQUAL', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,9', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 6, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '47,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '53,5', 'additionalResidentConsumptionPercentage': 88, 'additionalResidentConsumptionValue': '47,1', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 5, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '48,9', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '53,8', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '48,9', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '50', 'residentConsumptionPercentage': 90, 'residentConsumptionValue': '45', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '45', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '39,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '46,5', 'additionalResidentConsumptionPercentage': 84, 'additionalResidentConsumptionValue': '39,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 88, 'residentConsumptionValue': '0,7', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,7', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 4, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '73,9', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '97,8', 'additionalResidentConsumptionPercentage': 76, 'additionalResidentConsumptionValue': '73,9', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '90', 'residentConsumptionPercentage': 76, 'residentConsumptionValue': '68', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '68', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '46,1', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,6', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 3, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '325,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '380,4', 'additionalResidentConsumptionPercentage': 85, 'additionalResidentConsumptionValue': '325,0', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '350', 'residentConsumptionPercentage': 85, 'residentConsumptionValue': '299', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '299', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '60,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '60,5', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 2, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '597,8', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 98, 'additionalAverageConsumptionValue': '587,0', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '597,8', 'averageConsumptionPercentage': 98, 'averageConsumptionValue': '540', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '550', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '550', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '48,3', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 99, 'additionalAverageConsumptionValue': '47,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '48,3', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 1, 'year': 2023, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '650,0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 97, 'additionalAverageConsumptionValue': '630,4', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '650,0', 'averageConsumptionPercentage': 97, 'averageConsumptionValue': '580', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '598', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '598', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '49,3', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,6', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 12, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '580,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 96, 'additionalAverageConsumptionValue': '559,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '580,4', 'averageConsumptionPercentage': 96, 'averageConsumptionValue': '515', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '534', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '534', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '57,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '46,1', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '57,6', 'averageConsumptionPercentage': 80, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 11, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '396,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '413,0', 'additionalResidentConsumptionPercentage': 96, 'additionalResidentConsumptionValue': '396,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '380', 'residentConsumptionPercentage': 96, 'residentConsumptionValue': '365', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '365', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '61,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '48,8', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '61,1', 'averageConsumptionPercentage': 73, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 10, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '194,6', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '271,7', 'additionalResidentConsumptionPercentage': 72, 'additionalResidentConsumptionValue': '194,6', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '250', 'residentConsumptionPercentage': 72, 'residentConsumptionValue': '179', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '179', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '72,1', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '57,7', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '72,1', 'averageConsumptionPercentage': 83, 'averageConsumptionValue': '1,0', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,2', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,2', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 9, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '8,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '9,6', 'additionalResidentConsumptionPercentage': 91, 'additionalResidentConsumptionValue': '8,7', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '9', 'residentConsumptionPercentage': 89, 'residentConsumptionValue': '8', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '8', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '65,7', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '52,6', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '65,7', 'averageConsumptionPercentage': 82, 'averageConsumptionValue': '0,9', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '1,1', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '1,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 8, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '0', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 0, 'additionalAverageConsumptionValue': '0', 'additionalResidentConsumptionPercentage': 0, 'additionalResidentConsumptionValue': '0', 'averageConsumptionPercentage': 0, 'averageConsumptionValue': '0', 'residentConsumptionPercentage': 0, 'residentConsumptionValue': '0', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '0', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '28,5', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '43,6', 'additionalResidentConsumptionPercentage': 65, 'additionalResidentConsumptionValue': '28,5', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '0,8', 'residentConsumptionPercentage': 63, 'residentConsumptionValue': '0,5', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,5', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), dict({ 'date': dict({ 'month': 7, 'year': 2022, }), 'documentNumber': None, 'exception': None, 'isSCEedBasic': True, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2,2', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 100, 'additionalAverageConsumptionValue': '2,4', 'additionalResidentConsumptionPercentage': 92, 'additionalResidentConsumptionValue': '2,2', 'averageConsumptionPercentage': 100, 'averageConsumptionValue': '2', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '2', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '49,4', 'averageConsumption': dict({ 'additionalAverageConsumptionPercentage': 80, 'additionalAverageConsumptionValue': '39,5', 'additionalResidentConsumptionPercentage': 100, 'additionalResidentConsumptionValue': '49,4', 'averageConsumptionPercentage': 78, 'averageConsumptionValue': '0,7', 'residentConsumptionPercentage': 100, 'residentConsumptionValue': '0,9', }), 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '0,9', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), }), ]), 'consumptionsBillingPeriods': dict({ 'currentBillingPeriod': dict({ 'exception': None, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2876,0', 'averageConsumption': None, 'comparedConsumption': dict({ 'comparedPercentage': 0, 'comparedValue': '2', 'lastYearValue': 2648.0, 'period': None, 'smiley': 'HAPPY', }), 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2646', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '642,0', 'averageConsumption': None, 'comparedConsumption': dict({ 'comparedPercentage': 7, 'comparedValue': '0,7', 'lastYearValue': 10.4, 'period': None, 'smiley': 'MAD', }), 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '11,1', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2024, }), 'start': dict({ 'month': 7, 'year': 2023, }), }), }), 'previousBillingPeriod': dict({ 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '2878,2', 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'Einheiten', 'value': '2648', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': '601,4', 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'm³', 'value': '10,4', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2023, }), 'start': dict({ 'month': 7, 'year': 2022, }), }), }), }), 'costs': list([ dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 22, 'comparedValue': '6', 'lastYearValue': 26.6, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 21, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 47, 'comparedValue': '2', 'lastYearValue': 4.7, 'period': dict({ 'month': 5, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 5, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 53, 'comparedValue': '22', 'lastYearValue': 40.2, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 62, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 6.9, 'period': dict({ 'month': 4, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 4, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 36, 'comparedValue': '63', 'lastYearValue': 176.9, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 240, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '1', 'lastYearValue': 7.3, 'period': dict({ 'month': 3, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 3, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 6, 'comparedValue': '20', 'lastYearValue': 325.5, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 306, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 5.8, 'period': dict({ 'month': 2, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 2, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 1, 'comparedValue': '4', 'lastYearValue': 353.9, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 358, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 7.4, 'period': dict({ 'month': 1, 'year': 2023, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 1, 'year': 2024, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '27', 'lastYearValue': 316.0, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 289, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 10, 'comparedValue': '1', 'lastYearValue': 6.9, 'period': dict({ 'month': 12, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 12, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 6, 'comparedValue': '12', 'lastYearValue': 216.0, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 204, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 5, 'comparedValue': '1', 'lastYearValue': 7.4, 'period': dict({ 'month': 11, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 11, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 31, 'comparedValue': '33', 'lastYearValue': 105.9, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 73, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 9, 'comparedValue': '1', 'lastYearValue': 8.7, 'period': dict({ 'month': 10, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 9, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 10, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 189, 'comparedValue': '9', 'lastYearValue': 4.7, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 14, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 8, 'comparedValue': '1', 'lastYearValue': 7.9, 'period': dict({ 'month': 9, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 9, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 0.0, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 15, 'comparedValue': '1', 'lastYearValue': 3.4, 'period': dict({ 'month': 8, 'year': 2022, }), 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 4, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 8, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': dict({ 'comparedPercentage': 100, 'comparedValue': '1', 'lastYearValue': 1.2, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '0', 'lastYearValue': 6.0, 'period': dict({ 'month': 7, 'year': 2022, }), 'smiley': 'EQUAL', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 7, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 6, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 27, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 5, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 5, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 40, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 4, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 177, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 3, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 326, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 2, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 354, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 1, 'year': 2023, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 316, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 12, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 216, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 7, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 11, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 106, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 9, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 10, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 5, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 8, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 9, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 0, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 3, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 8, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), dict({ 'costsByEnergyType': list([ dict({ 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': 1, }), dict({ 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': 6, }), dict({ 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'date': dict({ 'month': 7, 'year': 2022, }), 'exception': None, 'isSCEedBasic': True, }), ]), 'costsBillingPeriods': dict({ 'currentBillingPeriod': dict({ 'exception': None, 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': dict({ 'comparedPercentage': 0, 'comparedValue': '1', 'lastYearValue': 1568.0, 'period': None, 'smiley': 'HAPPY', }), 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': '1567', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': dict({ 'comparedPercentage': 7, 'comparedValue': '5', 'lastYearValue': 72.0, 'period': None, 'smiley': 'MAD', }), 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': '77', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2024, }), 'start': dict({ 'month': 7, 'year': 2023, }), }), }), 'previousBillingPeriod': dict({ 'readings': list([ dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'heating', 'unit': 'EUR', 'value': '1568', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': 'warmwater', 'unit': 'EUR', 'value': '72', }), dict({ 'additionalUnit': 'kWh', 'additionalValue': None, 'averageConsumption': None, 'comparedConsumption': None, 'comparedCost': None, 'estimated': False, 'type': None, 'unit': None, 'value': None, }), ]), 'timeRange': dict({ 'end': dict({ 'month': 5, 'year': 2023, }), 'start': dict({ 'month': 7, 'year': 2022, }), }), }), }), 'isSCEedBasicForCurrentMonth': True, 'nonEEDBasicStartDate': None, 'resident': dict({ 'invalid': False, 'invalidDate': None, 'moveOutDate': None, 'movedOut': False, }), }) # --- Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/test_login.ambr000066400000000000000000000003321511651160300253660ustar00rootroot00000000000000# serializer version: 1 # name: test_demo_user_login[demo@ista.de] dict({ 'access_token': 'ACCESS_TOKEN', 'expires_in': 60, 'refresh_expires_in': 5184000, 'refresh_token': 'REFRESH_TOKEN', }) # --- Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/test_other.ambr000066400000000000000000000020521511651160300254000ustar00rootroot00000000000000# serializer version: 1 # name: test_get_account dict({ 'activeConsumptionUnit': '7a226e08-2a90-4db9-ae9b-8148901c6ec2', 'ads': False, 'authcode': None, 'betaPhase': None, 'consumptionUnitUuids': None, 'country': 'DE', 'email': 'max.istamann@test.com', 'emailConfirmed': False, 'enabled': True, 'fcmToken': 'null', 'firstName': 'Max', 'isDemo': False, 'keycloakId': None, 'lastName': 'Istamann', 'locale': 'de_DE', 'marketing': False, 'mobileLoginStatus': 'non_initial', 'mobileNumber': '+49123456789', 'notificationMethod': 'email', 'notificationMethodEmailConfirmed': True, 'password': None, 'privacy': None, 'residentAndConsumptionUuidsMap': dict({ '17c4dff7-799f-4f16-badc-a9b3607a9383': '7a226e08-2a90-4db9-ae9b-8148901c6ec2', }), 'residentTimeRangeUuids': None, 'supportCode': 'XXXXXXXXX', 'tos': '1.0', 'tosUpdated': '01.01.1970', 'transitionMobileNumber': '', 'unconfirmedPhoneNumber': '', 'userGroup': 'resident', }) # --- Ludy87-pyecotrend-ista-10e3acc/tests/__snapshots__/test_set_account.ambr000066400000000000000000000020521511651160300265660ustar00rootroot00000000000000# serializer version: 1 # name: test_set_account dict({ 'activeConsumptionUnit': '7a226e08-2a90-4db9-ae9b-8148901c6ec2', 'ads': False, 'authcode': None, 'betaPhase': None, 'consumptionUnitUuids': None, 'country': 'DE', 'email': 'max.istamann@test.com', 'emailConfirmed': False, 'enabled': True, 'fcmToken': 'null', 'firstName': 'Max', 'isDemo': False, 'keycloakId': None, 'lastName': 'Istamann', 'locale': 'de_DE', 'marketing': False, 'mobileLoginStatus': 'non_initial', 'mobileNumber': '+49123456789', 'notificationMethod': 'email', 'notificationMethodEmailConfirmed': True, 'password': None, 'privacy': None, 'residentAndConsumptionUuidsMap': dict({ '17c4dff7-799f-4f16-badc-a9b3607a9383': '7a226e08-2a90-4db9-ae9b-8148901c6ec2', }), 'residentTimeRangeUuids': None, 'supportCode': 'XXXXXXXXX', 'tos': '1.0', 'tosUpdated': '01.01.1970', 'transitionMobileNumber': '', 'unconfirmedPhoneNumber': '', 'userGroup': 'resident', }) # --- Ludy87-pyecotrend-ista-10e3acc/tests/conftest.py000066400000000000000000000111371511651160300217420ustar00rootroot00000000000000"""Fixtures for Tests.""" from http import HTTPStatus from pathlib import Path import pytest from requests_mock.mocker import Mocker as RequestsMock from pyecotrend_ista import PyEcotrendIsta from pyecotrend_ista.const import API_BASE_URL, DEMO_USER_ACCOUNT, PROVIDER_URL TEST_EMAIL = "max.istamann@test.com" DEMO_EMAIL = DEMO_USER_ACCOUNT TEST_PASSWORD = "password" @pytest.fixture def json_data(request) -> str: """Load json test data.""" file = getattr(request, "param", "test_data") path = Path(__file__).parent / "data" / f"{file}.json" return path.read_text(encoding="utf-8") @pytest.fixture def ista_client(request) -> PyEcotrendIsta: """Create Bring instance.""" ista = PyEcotrendIsta( email=getattr(request, "param", TEST_EMAIL), password=TEST_PASSWORD, ) return ista @pytest.fixture def mock_requests_login(requests_mock: RequestsMock) -> RequestsMock: """Mock requests to Login Endpoints.""" requests_mock.post( PROVIDER_URL + "token", json={ "access_token": "ACCESS_TOKEN", "expires_in": 60, "refresh_expires_in": 5183999, "refresh_token": "REFRESH_TOKEN", "token_type": "Bearer", "id_token": "ID_TOKEN", "not-before-policy": 0, "session_state": "SESSION_STATE", "scope": "openid profile email", }, ) requests_mock.get( f"{API_BASE_URL}demo-user-token", json={ "accessToken": "ACCESS_TOKEN", "accessTokenExpiresIn": 60, "refreshToken": "REFRESH_TOKEN", "refreshTokenExpiresIn": 5184000, }, ) requests_mock.get( PROVIDER_URL + "auth", text="""

""", headers={ "Set-Cookie": "AUTH_SESSION_ID=xxxxx.keycloak-xxxxxx; Version=1; Path=/realms/eed-prod/; SameSite=None; Secure; HttpOnly" }, ) requests_mock.post( "https://keycloak.ista.com/realms/eed-prod/login-actions/authenticate", headers={"Location": "https://ecotrend.ista.de/login-redirect#state=STATE&session_state=SESSION_STATE&code=AUTH_CODE"}, ) requests_mock.get( f"{API_BASE_URL}account", json={ "firstName": "Max", "lastName": "Istamann", "email": "max.istamann@test.com", "keycloakId": None, "country": "DE", "locale": "de_DE", "authcode": None, "tos": "1.0", "tosUpdated": "01.01.1970", "privacy": None, "mobileNumber": "+49123456789", "transitionMobileNumber": "", "unconfirmedPhoneNumber": "", "password": None, "enabled": True, "consumptionUnitUuids": None, "residentTimeRangeUuids": None, "ads": False, "marketing": False, "fcmToken": "null", "betaPhase": None, "notificationMethod": "email", "emailConfirmed": False, "isDemo": False, "userGroup": "resident", "mobileLoginStatus": "non_initial", "residentAndConsumptionUuidsMap": {"17c4dff7-799f-4f16-badc-a9b3607a9383": "7a226e08-2a90-4db9-ae9b-8148901c6ec2"}, "activeConsumptionUnit": "7a226e08-2a90-4db9-ae9b-8148901c6ec2", "supportCode": "XXXXXXXXX", "notificationMethodEmailConfirmed": True, }, ) requests_mock.post(PROVIDER_URL + "logout", status_code=HTTPStatus.NO_CONTENT) requests_mock.get( f"{API_BASE_URL}menu", json={ "consumptionUnits": [ { "id": "7a226e08-2a90-4db9-ae9b-8148901c6ec2", "address": { "street": "Luxemburger Str.", "houseNumber": "1", "postalCode": "45131", "city": "Essen", "country": "DE", "floor": "2. OG links", "propertyNumber": "112233445", "consumptionUnitNumber": "0001", "idAtCustomerUser": "6234XB", }, "booked": {"cost": True, "co2": False}, "propertyNumber": "57352474", } ], "coBranding": None, }, ) return requests_mock Ludy87-pyecotrend-ista-10e3acc/tests/data/000077500000000000000000000000001511651160300204515ustar00rootroot00000000000000Ludy87-pyecotrend-ista-10e3acc/tests/data/test_data.json000066400000000000000000002631551511651160300233300ustar00rootroot00000000000000{ "co2Emissions": null, "co2EmissionsBillingPeriods": null, "consumptionUnitId": "26e93f1a-c828-11ea-87d0-0242ac130003", "consumptions": [ { "date": { "month": 5, "year": 2024 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "38,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 72, "additionalAverageConsumptionValue": "27,2", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "38,0", "averageConsumptionPercentage": 71, "averageConsumptionValue": "25", "residentConsumptionPercentage": 100, "residentConsumptionValue": "35" }, "comparedConsumption": { "comparedPercentage": 22, "comparedValue": "10", "lastYearValue": 45.0, "period": { "month": 5, "year": 2023 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "35" }, { "additionalUnit": "kWh", "additionalValue": "57,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "45,6", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "57,0", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": { "comparedPercentage": 43, "comparedValue": "0,3", "lastYearValue": 0.7, "period": { "month": 5, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 4, "year": 2024 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "113,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 96, "additionalAverageConsumptionValue": "108,7", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "113,0", "averageConsumptionPercentage": 96, "averageConsumptionValue": "100", "residentConsumptionPercentage": 100, "residentConsumptionValue": "104" }, "comparedConsumption": { "comparedPercentage": 53, "comparedValue": "36", "lastYearValue": 68.0, "period": { "month": 4, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "104" }, { "additionalUnit": "kWh", "additionalValue": "61,1", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "48,8", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "61,1", "averageConsumptionPercentage": 73, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": { "comparedPercentage": 10, "comparedValue": "0,1", "lastYearValue": 1.0, "period": { "month": 4, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 3, "year": 2024 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "440,2", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "476,1", "additionalResidentConsumptionPercentage": 92, "additionalResidentConsumptionValue": "440,2", "averageConsumptionPercentage": 100, "averageConsumptionValue": "438", "residentConsumptionPercentage": 92, "residentConsumptionValue": "405" }, "comparedConsumption": { "comparedPercentage": 35, "comparedValue": "106", "lastYearValue": 299.0, "period": { "month": 3, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "405" }, { "additionalUnit": "kWh", "additionalValue": "65,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "52,6", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "65,7", "averageConsumptionPercentage": 82, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": { "comparedPercentage": 10, "comparedValue": "0,1", "lastYearValue": 1.0, "period": { "month": 3, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 2, "year": 2024 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "562,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "630,4", "additionalResidentConsumptionPercentage": 89, "additionalResidentConsumptionValue": "562,0", "averageConsumptionPercentage": 100, "averageConsumptionValue": "580", "residentConsumptionPercentage": 89, "residentConsumptionValue": "517" }, "comparedConsumption": { "comparedPercentage": 6, "comparedValue": "33", "lastYearValue": 550.0, "period": { "month": 2, "year": 2023 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "517" }, { "additionalUnit": "kWh", "additionalValue": "47,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "57,6", "additionalResidentConsumptionPercentage": 83, "additionalResidentConsumptionValue": "47,7", "averageConsumptionPercentage": 100, "averageConsumptionValue": "1,0", "residentConsumptionPercentage": 80, "residentConsumptionValue": "0,8" }, "comparedConsumption": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 0.8, "period": { "month": 2, "year": 2023 }, "smiley": "EQUAL" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,8" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 1, "year": 2024 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "657,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "723,4", "additionalResidentConsumptionPercentage": 91, "additionalResidentConsumptionValue": "657,6", "averageConsumptionPercentage": 100, "averageConsumptionValue": "666", "residentConsumptionPercentage": 91, "residentConsumptionValue": "605" }, "comparedConsumption": { "comparedPercentage": 1, "comparedValue": "7", "lastYearValue": 598.0, "period": { "month": 1, "year": 2023 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "605" }, { "additionalUnit": "kWh", "additionalValue": "58,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "47,0", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "58,7", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": { "comparedPercentage": 9, "comparedValue": "0,1", "lastYearValue": 1.1, "period": { "month": 1, "year": 2023 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 12, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "531,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "584,7", "additionalResidentConsumptionPercentage": 91, "additionalResidentConsumptionValue": "531,5", "averageConsumptionPercentage": 100, "averageConsumptionValue": "538", "residentConsumptionPercentage": 91, "residentConsumptionValue": "489" }, "comparedConsumption": { "comparedPercentage": 8, "comparedValue": "45", "lastYearValue": 534.0, "period": { "month": 12, "year": 2022 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "489" }, { "additionalUnit": "kWh", "additionalValue": "63,4", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "50,7", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "63,4", "averageConsumptionPercentage": 82, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": { "comparedPercentage": 10, "comparedValue": "0,1", "lastYearValue": 1.0, "period": { "month": 12, "year": 2022 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 11, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "375,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "423,9", "additionalResidentConsumptionPercentage": 88, "additionalResidentConsumptionValue": "375,0", "averageConsumptionPercentage": 100, "averageConsumptionValue": "390", "residentConsumptionPercentage": 88, "residentConsumptionValue": "345" }, "comparedConsumption": { "comparedPercentage": 5, "comparedValue": "20", "lastYearValue": 365.0, "period": { "month": 11, "year": 2022 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "345" }, { "additionalUnit": "kWh", "additionalValue": "64,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "51,6", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "64,5", "averageConsumptionPercentage": 82, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 1.1, "period": { "month": 11, "year": 2022 }, "smiley": "EQUAL" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 10, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "133,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "147,1", "additionalResidentConsumptionPercentage": 91, "additionalResidentConsumptionValue": "133,7", "averageConsumptionPercentage": 100, "averageConsumptionValue": "135", "residentConsumptionPercentage": 91, "residentConsumptionValue": "123" }, "comparedConsumption": { "comparedPercentage": 31, "comparedValue": "56", "lastYearValue": 179.0, "period": { "month": 10, "year": 2022 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "123" }, { "additionalUnit": "kWh", "additionalValue": "78,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 73, "additionalAverageConsumptionValue": "57,6", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "78,5", "averageConsumptionPercentage": 71, "averageConsumptionValue": "1,0", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,4" }, "comparedConsumption": { "comparedPercentage": 17, "comparedValue": "0,2", "lastYearValue": 1.2, "period": { "month": 10, "year": 2022 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,4" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 9, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "25,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "48,9", "additionalResidentConsumptionPercentage": 51, "additionalResidentConsumptionValue": "25,0", "averageConsumptionPercentage": 100, "averageConsumptionValue": "45", "residentConsumptionPercentage": 51, "residentConsumptionValue": "23" }, "comparedConsumption": { "comparedPercentage": 188, "comparedValue": "15", "lastYearValue": 8.0, "period": { "month": 9, "year": 2022 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "23" }, { "additionalUnit": "kWh", "additionalValue": "60,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "48,4", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "60,5", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": { "comparedPercentage": 9, "comparedValue": "0,1", "lastYearValue": 1.1, "period": { "month": 9, "year": 2022 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 8, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "0", "averageConsumption": { "additionalAverageConsumptionPercentage": 0, "additionalAverageConsumptionValue": "0", "additionalResidentConsumptionPercentage": 0, "additionalResidentConsumptionValue": "0", "averageConsumptionPercentage": 0, "averageConsumptionValue": "0", "residentConsumptionPercentage": 0, "residentConsumptionValue": "0" }, "comparedConsumption": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 0.0, "period": { "month": 8, "year": 2022 }, "smiley": "EQUAL" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "0" }, { "additionalUnit": "kWh", "additionalValue": "32,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "43,6", "additionalResidentConsumptionPercentage": 75, "additionalResidentConsumptionValue": "32,6", "averageConsumptionPercentage": 100, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 75, "residentConsumptionValue": "0,6" }, "comparedConsumption": { "comparedPercentage": 20, "comparedValue": "0,1", "lastYearValue": 0.5, "period": { "month": 8, "year": 2022 }, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,6" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 7, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "0", "averageConsumption": { "additionalAverageConsumptionPercentage": 0, "additionalAverageConsumptionValue": "0", "additionalResidentConsumptionPercentage": 0, "additionalResidentConsumptionValue": "0", "averageConsumptionPercentage": 0, "averageConsumptionValue": "0", "residentConsumptionPercentage": 0, "residentConsumptionValue": "0" }, "comparedConsumption": { "comparedPercentage": 100, "comparedValue": "2", "lastYearValue": 2.0, "period": { "month": 7, "year": 2022 }, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "0" }, { "additionalUnit": "kWh", "additionalValue": "52,3", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "41,9", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "52,3", "averageConsumptionPercentage": 78, "averageConsumptionValue": "0,7", "residentConsumptionPercentage": 100, "residentConsumptionValue": "0,9" }, "comparedConsumption": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 0.9, "period": { "month": 7, "year": 2022 }, "smiley": "EQUAL" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,9" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 6, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "0", "averageConsumption": { "additionalAverageConsumptionPercentage": 0, "additionalAverageConsumptionValue": "0", "additionalResidentConsumptionPercentage": 0, "additionalResidentConsumptionValue": "0", "averageConsumptionPercentage": 0, "averageConsumptionValue": "0", "residentConsumptionPercentage": 0, "residentConsumptionValue": "0" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "0" }, { "additionalUnit": "kWh", "additionalValue": "47,1", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "53,5", "additionalResidentConsumptionPercentage": 88, "additionalResidentConsumptionValue": "47,1", "averageConsumptionPercentage": 100, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 89, "residentConsumptionValue": "0,8" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,8" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 5, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "48,9", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "53,8", "additionalResidentConsumptionPercentage": 91, "additionalResidentConsumptionValue": "48,9", "averageConsumptionPercentage": 100, "averageConsumptionValue": "50", "residentConsumptionPercentage": 90, "residentConsumptionValue": "45" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "45" }, { "additionalUnit": "kWh", "additionalValue": "39,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "46,5", "additionalResidentConsumptionPercentage": 84, "additionalResidentConsumptionValue": "39,0", "averageConsumptionPercentage": 100, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 88, "residentConsumptionValue": "0,7" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,7" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 4, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "73,9", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "97,8", "additionalResidentConsumptionPercentage": 76, "additionalResidentConsumptionValue": "73,9", "averageConsumptionPercentage": 100, "averageConsumptionValue": "90", "residentConsumptionPercentage": 76, "residentConsumptionValue": "68" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "68" }, { "additionalUnit": "kWh", "additionalValue": "57,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "46,1", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "57,6", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 3, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "325,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "380,4", "additionalResidentConsumptionPercentage": 85, "additionalResidentConsumptionValue": "325,0", "averageConsumptionPercentage": 100, "averageConsumptionValue": "350", "residentConsumptionPercentage": 85, "residentConsumptionValue": "299" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "299" }, { "additionalUnit": "kWh", "additionalValue": "60,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "48,4", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "60,5", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 2, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "597,8", "averageConsumption": { "additionalAverageConsumptionPercentage": 98, "additionalAverageConsumptionValue": "587,0", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "597,8", "averageConsumptionPercentage": 98, "averageConsumptionValue": "540", "residentConsumptionPercentage": 100, "residentConsumptionValue": "550" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "550" }, { "additionalUnit": "kWh", "additionalValue": "48,3", "averageConsumption": { "additionalAverageConsumptionPercentage": 99, "additionalAverageConsumptionValue": "47,7", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "48,3", "averageConsumptionPercentage": 100, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "0,8" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,8" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 1, "year": 2023 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "650,0", "averageConsumption": { "additionalAverageConsumptionPercentage": 97, "additionalAverageConsumptionValue": "630,4", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "650,0", "averageConsumptionPercentage": 97, "averageConsumptionValue": "580", "residentConsumptionPercentage": 100, "residentConsumptionValue": "598" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "598" }, { "additionalUnit": "kWh", "additionalValue": "61,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "49,3", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "61,6", "averageConsumptionPercentage": 82, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 12, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "580,4", "averageConsumption": { "additionalAverageConsumptionPercentage": 96, "additionalAverageConsumptionValue": "559,8", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "580,4", "averageConsumptionPercentage": 96, "averageConsumptionValue": "515", "residentConsumptionPercentage": 100, "residentConsumptionValue": "534" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "534" }, { "additionalUnit": "kWh", "additionalValue": "57,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "46,1", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "57,6", "averageConsumptionPercentage": 80, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,0" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,0" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 11, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "396,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "413,0", "additionalResidentConsumptionPercentage": 96, "additionalResidentConsumptionValue": "396,7", "averageConsumptionPercentage": 100, "averageConsumptionValue": "380", "residentConsumptionPercentage": 96, "residentConsumptionValue": "365" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "365" }, { "additionalUnit": "kWh", "additionalValue": "61,1", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "48,8", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "61,1", "averageConsumptionPercentage": 73, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 10, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "194,6", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "271,7", "additionalResidentConsumptionPercentage": 72, "additionalResidentConsumptionValue": "194,6", "averageConsumptionPercentage": 100, "averageConsumptionValue": "250", "residentConsumptionPercentage": 72, "residentConsumptionValue": "179" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "179" }, { "additionalUnit": "kWh", "additionalValue": "72,1", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "57,7", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "72,1", "averageConsumptionPercentage": 83, "averageConsumptionValue": "1,0", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,2" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,2" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 9, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "8,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "9,6", "additionalResidentConsumptionPercentage": 91, "additionalResidentConsumptionValue": "8,7", "averageConsumptionPercentage": 100, "averageConsumptionValue": "9", "residentConsumptionPercentage": 89, "residentConsumptionValue": "8" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "8" }, { "additionalUnit": "kWh", "additionalValue": "65,7", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "52,6", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "65,7", "averageConsumptionPercentage": 82, "averageConsumptionValue": "0,9", "residentConsumptionPercentage": 100, "residentConsumptionValue": "1,1" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "1,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 8, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "0", "averageConsumption": { "additionalAverageConsumptionPercentage": 0, "additionalAverageConsumptionValue": "0", "additionalResidentConsumptionPercentage": 0, "additionalResidentConsumptionValue": "0", "averageConsumptionPercentage": 0, "averageConsumptionValue": "0", "residentConsumptionPercentage": 0, "residentConsumptionValue": "0" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "0" }, { "additionalUnit": "kWh", "additionalValue": "28,5", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "43,6", "additionalResidentConsumptionPercentage": 65, "additionalResidentConsumptionValue": "28,5", "averageConsumptionPercentage": 100, "averageConsumptionValue": "0,8", "residentConsumptionPercentage": 63, "residentConsumptionValue": "0,5" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,5" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] }, { "date": { "month": 7, "year": 2022 }, "documentNumber": null, "exception": null, "isSCEedBasic": true, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "2,2", "averageConsumption": { "additionalAverageConsumptionPercentage": 100, "additionalAverageConsumptionValue": "2,4", "additionalResidentConsumptionPercentage": 92, "additionalResidentConsumptionValue": "2,2", "averageConsumptionPercentage": 100, "averageConsumptionValue": "2", "residentConsumptionPercentage": 100, "residentConsumptionValue": "2" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "2" }, { "additionalUnit": "kWh", "additionalValue": "49,4", "averageConsumption": { "additionalAverageConsumptionPercentage": 80, "additionalAverageConsumptionValue": "39,5", "additionalResidentConsumptionPercentage": 100, "additionalResidentConsumptionValue": "49,4", "averageConsumptionPercentage": 78, "averageConsumptionValue": "0,7", "residentConsumptionPercentage": 100, "residentConsumptionValue": "0,9" }, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "0,9" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ] } ], "consumptionsBillingPeriods": { "currentBillingPeriod": { "exception": null, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "2876,0", "averageConsumption": null, "comparedConsumption": { "comparedPercentage": 0, "comparedValue": "2", "lastYearValue": 2648.0, "period": null, "smiley": "HAPPY" }, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "2646" }, { "additionalUnit": "kWh", "additionalValue": "642,0", "averageConsumption": null, "comparedConsumption": { "comparedPercentage": 7, "comparedValue": "0,7", "lastYearValue": 10.4, "period": null, "smiley": "MAD" }, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "11,1" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "timeRange": { "end": { "month": 5, "year": 2024 }, "start": { "month": 7, "year": 2023 } } }, "previousBillingPeriod": { "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": "2878,2", "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "Einheiten", "value": "2648" }, { "additionalUnit": "kWh", "additionalValue": "601,4", "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "m³", "value": "10,4" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "timeRange": { "end": { "month": 5, "year": 2023 }, "start": { "month": 7, "year": 2022 } } } }, "costs": [ { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 22, "comparedValue": "6", "lastYearValue": 26.6, "period": { "month": 5, "year": 2023 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 21 }, { "comparedCost": { "comparedPercentage": 47, "comparedValue": "2", "lastYearValue": 4.7, "period": { "month": 5, "year": 2023 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 5, "year": 2024 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 53, "comparedValue": "22", "lastYearValue": 40.2, "period": { "month": 4, "year": 2023 }, "smiley": "MAD" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 62 }, { "comparedCost": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 6.9, "period": { "month": 4, "year": 2023 }, "smiley": "EQUAL" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 4, "year": 2024 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 36, "comparedValue": "63", "lastYearValue": 176.9, "period": { "month": 3, "year": 2023 }, "smiley": "MAD" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 240 }, { "comparedCost": { "comparedPercentage": 8, "comparedValue": "1", "lastYearValue": 7.3, "period": { "month": 3, "year": 2023 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 8 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 3, "year": 2024 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 6, "comparedValue": "20", "lastYearValue": 325.5, "period": { "month": 2, "year": 2023 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 306 }, { "comparedCost": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 5.8, "period": { "month": 2, "year": 2023 }, "smiley": "EQUAL" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 6 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 2, "year": 2024 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 1, "comparedValue": "4", "lastYearValue": 353.9, "period": { "month": 1, "year": 2023 }, "smiley": "MAD" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 358 }, { "comparedCost": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 7.4, "period": { "month": 1, "year": 2023 }, "smiley": "EQUAL" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 1, "year": 2024 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 8, "comparedValue": "27", "lastYearValue": 316.0, "period": { "month": 12, "year": 2022 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 289 }, { "comparedCost": { "comparedPercentage": 10, "comparedValue": "1", "lastYearValue": 6.9, "period": { "month": 12, "year": 2022 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 8 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 12, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 6, "comparedValue": "12", "lastYearValue": 216.0, "period": { "month": 11, "year": 2022 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 204 }, { "comparedCost": { "comparedPercentage": 5, "comparedValue": "1", "lastYearValue": 7.4, "period": { "month": 11, "year": 2022 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 8 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 11, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 31, "comparedValue": "33", "lastYearValue": 105.9, "period": { "month": 10, "year": 2022 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 73 }, { "comparedCost": { "comparedPercentage": 9, "comparedValue": "1", "lastYearValue": 8.7, "period": { "month": 10, "year": 2022 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 9 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 10, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 189, "comparedValue": "9", "lastYearValue": 4.7, "period": { "month": 9, "year": 2022 }, "smiley": "MAD" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 14 }, { "comparedCost": { "comparedPercentage": 8, "comparedValue": "1", "lastYearValue": 7.9, "period": { "month": 9, "year": 2022 }, "smiley": "HAPPY" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 9, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 0.0, "period": { "month": 8, "year": 2022 }, "smiley": "EQUAL" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 0 }, { "comparedCost": { "comparedPercentage": 15, "comparedValue": "1", "lastYearValue": 3.4, "period": { "month": 8, "year": 2022 }, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 4 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 8, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": { "comparedPercentage": 100, "comparedValue": "1", "lastYearValue": 1.2, "period": { "month": 7, "year": 2022 }, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": 0 }, { "comparedCost": { "comparedPercentage": 0, "comparedValue": "0", "lastYearValue": 6.0, "period": { "month": 7, "year": 2022 }, "smiley": "EQUAL" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 6 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 7, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 0 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 6 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 6, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 27 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 5 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 5, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 40 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 4, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 177 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 3, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 326 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 6 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 2, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 354 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 1, "year": 2023 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 316 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 12, "year": 2022 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 216 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 7 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 11, "year": 2022 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 106 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 9 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 10, "year": 2022 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 5 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 8 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 9, "year": 2022 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 0 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 3 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 8, "year": 2022 }, "exception": null, "isSCEedBasic": true }, { "costsByEnergyType": [ { "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": 1 }, { "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": 6 }, { "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "date": { "month": 7, "year": 2022 }, "exception": null, "isSCEedBasic": true } ], "costsBillingPeriods": { "currentBillingPeriod": { "exception": null, "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": { "comparedPercentage": 0, "comparedValue": "1", "lastYearValue": 1568.0, "period": null, "smiley": "HAPPY" }, "estimated": false, "type": "heating", "unit": "EUR", "value": "1567" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": { "comparedPercentage": 7, "comparedValue": "5", "lastYearValue": 72.0, "period": null, "smiley": "MAD" }, "estimated": false, "type": "warmwater", "unit": "EUR", "value": "77" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "timeRange": { "end": { "month": 5, "year": 2024 }, "start": { "month": 7, "year": 2023 } } }, "previousBillingPeriod": { "readings": [ { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "heating", "unit": "EUR", "value": "1568" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": "warmwater", "unit": "EUR", "value": "72" }, { "additionalUnit": "kWh", "additionalValue": null, "averageConsumption": null, "comparedConsumption": null, "comparedCost": null, "estimated": false, "type": null, "unit": null, "value": null } ], "timeRange": { "end": { "month": 5, "year": 2023 }, "start": { "month": 7, "year": 2022 } } } }, "isSCEedBasicForCurrentMonth": true, "nonEEDBasicStartDate": null, "resident": { "invalid": false, "invalidDate": null, "moveOutDate": null, "movedOut": false } } Ludy87-pyecotrend-ista-10e3acc/tests/test_consumption_unit_details.py000066400000000000000000000035101511651160300262720ustar00rootroot00000000000000"""Tests for `get_consumption_unit_details` method.""" from http import HTTPStatus import pytest import requests from requests_mock.mocker import Mocker as RequestsMock from syrupy.assertion import SnapshotAssertion from pyecotrend_ista import LoginError, ParserError, PyEcotrendIsta, ServerError from pyecotrend_ista.const import API_BASE_URL @pytest.mark.usefixtures("mock_requests_login") def test_get_consumption_unit_details(ista_client: PyEcotrendIsta, snapshot: SnapshotAssertion) -> None: """Test `get_consumption_unit_details` method.""" ista_client.login() assert ista_client.get_consumption_unit_details() == snapshot @pytest.mark.parametrize( ("status_code", "expected_exception"), ( [ (HTTPStatus.OK, ParserError), (HTTPStatus.BAD_REQUEST, ServerError), (HTTPStatus.UNAUTHORIZED, LoginError), ] ), ) def test_get_consumption_unit_details_http_errors( requests_mock: RequestsMock, ista_client: PyEcotrendIsta, status_code: HTTPStatus, expected_exception ) -> None: """Test Login method.""" requests_mock.get( f"{API_BASE_URL}menu", status_code=status_code, ) with pytest.raises(expected_exception=expected_exception): ista_client.get_consumption_unit_details() @pytest.mark.parametrize( ("exception", "expected_exception"), ([(requests.RequestException, ServerError), (requests.Timeout, ServerError)]) ) def test_get_consumption_unit_details_exceptions( ista_client: PyEcotrendIsta, requests_mock: RequestsMock, exception, expected_exception, ) -> None: """Test exceptions for method `get_consumption_unit_details`.""" requests_mock.get(f"{API_BASE_URL}menu", exc=exception) with pytest.raises(expected_exception=expected_exception): ista_client.get_consumption_unit_details() Ludy87-pyecotrend-ista-10e3acc/tests/test_consumptions.py000066400000000000000000000103471511651160300237170ustar00rootroot00000000000000"""Tests for _set_account methods.""" from http import HTTPStatus import pytest import requests from requests_mock.mocker import Mocker as RequestsMock from syrupy.assertion import SnapshotAssertion from syrupy.filters import paths from pyecotrend_ista import LoginError, ParserError, PyEcotrendIsta, ServerError from pyecotrend_ista.const import API_BASE_URL def test_get_comsumption_data(ista_client: PyEcotrendIsta, requests_mock: RequestsMock, snapshot: SnapshotAssertion, json_data: str,) -> None: """Test `_set_account` method.""" requests_mock.get(f"{API_BASE_URL}consumptions", text=json_data) assert ista_client.get_consumption_data("26e93f1a-c828-11ea-87d0-0242ac130003") == snapshot @pytest.mark.parametrize( ("status_code", "expected_exception"), ( [ (HTTPStatus.OK, ParserError), (HTTPStatus.INTERNAL_SERVER_ERROR, ServerError), (HTTPStatus.BAD_REQUEST, ValueError), (HTTPStatus.UNAUTHORIZED, LoginError), ] ), ) def test_get_comsumption_data_http_errors( requests_mock: RequestsMock, ista_client: PyEcotrendIsta, status_code: HTTPStatus, expected_exception ) -> None: """Test Login method.""" requests_mock.get( f"{API_BASE_URL}consumptions?consumptionUnitUuid=26e93f1a-c828-11ea-87d0-0242ac130003", status_code=status_code, ) with pytest.raises(expected_exception=expected_exception): ista_client.get_consumption_data("26e93f1a-c828-11ea-87d0-0242ac130003") @pytest.mark.parametrize( ("exception", "expected_exception"), ([(requests.RequestException, ServerError), (requests.Timeout, ServerError)]) ) def test_get_comsumption_data_exceptions(requests_mock: RequestsMock, ista_client: PyEcotrendIsta, exception, expected_exception) -> None: """Test Login method.""" requests_mock.get( f"{API_BASE_URL}consumptions?consumptionUnitUuid=26e93f1a-c828-11ea-87d0-0242ac130003", exc=exception ) with pytest.raises(expected_exception=expected_exception): ista_client.get_consumption_data("26e93f1a-c828-11ea-87d0-0242ac130003") def test_consum_raw(ista_client: PyEcotrendIsta, requests_mock: RequestsMock, snapshot: SnapshotAssertion, json_data: str) -> None: """Test `cunsum_raw` method.""" requests_mock.get(f"{API_BASE_URL}consumptions", text=json_data) result = ista_client.consum_raw(obj_uuid="26e93f1a-c828-11ea-87d0-0242ac130003") # consum_raw returns consum_types list in random order, so we exclude it from snapshot matcher assert ["heating", "warmwater"] == sorted(result["consum_types"]) assert result == snapshot(exclude=paths("consum_types")) @pytest.mark.parametrize( ("select_year"), [[2024], [2023], [2022], [2024, 2022], [2024, 2023, 2022], [2023, 2022], None], ) @pytest.mark.parametrize( ("select_month"), [ None, [1, 2], [1, 2, 3], [1, 2, 3, 4], [1, 2, 3, 4, 5], [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6, 7], [1, 2, 3, 4, 5, 6, 7, 8], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12], [1], [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12], [12, 1], [12, 2, 3], [12, 3, 4], [12, 4, 5], [1, 3, 5, 7, 9, 11], ], ) @pytest.mark.parametrize(("filter_none"), [True, False]) def test_consum_raw_filters( ista_client: PyEcotrendIsta, requests_mock: RequestsMock, snapshot: SnapshotAssertion, json_data: str, select_year: list[int], select_month: list[int], filter_none: bool, ) -> None: """Test `cunsum_raw` method.""" requests_mock.get(f"{API_BASE_URL}consumptions", text=json_data) result = ista_client.consum_raw( obj_uuid="26e93f1a-c828-11ea-87d0-0242ac130003", select_year=select_year, select_month=select_month, filter_none=filter_none, ) # consum_raw returns consum_types list in random order, so we exclude it from snapshot matcher assert ["heating", "warmwater"] == sorted(result["consum_types"]) assert result == snapshot(exclude=paths("consum_types")) Ludy87-pyecotrend-ista-10e3acc/tests/test_login.py000066400000000000000000000044471511651160300222720ustar00rootroot00000000000000"""Tests for Login methods.""" from http import HTTPStatus import pytest import requests from requests_mock.mocker import Mocker as RequestsMock from syrupy.assertion import SnapshotAssertion from pyecotrend_ista import ParserError, PyEcotrendIsta, ServerError from pyecotrend_ista.const import API_BASE_URL from tests.conftest import DEMO_EMAIL, TEST_EMAIL @pytest.mark.parametrize(("force_login"), [True, False]) @pytest.mark.parametrize("ista_client", [TEST_EMAIL, DEMO_EMAIL], indirect=True) @pytest.mark.usefixtures("mock_requests_login") def test_login(ista_client: PyEcotrendIsta, force_login: bool) -> None: """Test Login method.""" assert ista_client.login(force_login=force_login) == "ACCESS_TOKEN" @pytest.mark.usefixtures("mock_requests_login") def test_logout(ista_client: PyEcotrendIsta, mock_requests_login: RequestsMock) -> None: """Test Login method.""" ista_client.logout() assert mock_requests_login.called_once @pytest.mark.parametrize("ista_client", [DEMO_EMAIL], indirect=True) @pytest.mark.usefixtures("mock_requests_login") def test_demo_user_login(ista_client: PyEcotrendIsta, snapshot: SnapshotAssertion) -> None: """Test Login method.""" assert ista_client.demo_user_login() == snapshot @pytest.mark.parametrize( ("exception", "expected_exception"), ([(requests.RequestException, ServerError), (requests.Timeout, ServerError)]) ) def test_demo_user_login_exceptions( ista_client: PyEcotrendIsta, requests_mock: RequestsMock, exception, expected_exception, ) -> None: """Test exceptions for method `demo_user_login`.""" requests_mock.get(f"{API_BASE_URL}demo-user-token", exc=exception) with pytest.raises(expected_exception=expected_exception): ista_client.demo_user_login() @pytest.mark.parametrize( ("status_code", "expected_exception"), ([(HTTPStatus.OK, ParserError), (HTTPStatus.BAD_REQUEST, ServerError)]), ) def test_demo_user_login_http_errors( ista_client: PyEcotrendIsta, requests_mock: RequestsMock, status_code: HTTPStatus, expected_exception, ) -> None: """Test http errors for method `demo_user_login`.""" requests_mock.get(f"{API_BASE_URL}demo-user-token", status_code=status_code) with pytest.raises(expected_exception=expected_exception): ista_client.demo_user_login() Ludy87-pyecotrend-ista-10e3acc/tests/test_other.py000066400000000000000000000045241511651160300222770ustar00rootroot00000000000000"""Tests for utility methods.""" from typing import cast import pytest from syrupy.assertion import SnapshotAssertion from pyecotrend_ista import PyEcotrendIsta from pyecotrend_ista.const import VERSION from pyecotrend_ista.types import AccountResponse def test_get_uuids(ista_client: PyEcotrendIsta) -> None: """Test `get_uuids` method.""" ista_client._account = cast(AccountResponse , { # pylint: disable=W0212 "residentAndConsumptionUuidsMap": { "17c4dff7-799f-4f16-badc-a9b3607a9383": "7a226e08-2a90-4db9-ae9b-8148901c6ec2", "756a591c-185b-4441-a21a-46d4b94df4ad": "df3e8a64-a622-4ffb-97c5-b892a2cf331d", } }) assert ista_client.get_uuids() == ["7a226e08-2a90-4db9-ae9b-8148901c6ec2", "df3e8a64-a622-4ffb-97c5-b892a2cf331d"] def test_get_version(ista_client: PyEcotrendIsta) -> None: """Test `get_version` method.""" assert ista_client.get_version() == VERSION def test_get_user_agent(ista_client: PyEcotrendIsta) -> None: """Test `get_user_agent` method.""" assert ista_client.get_user_agent() == ( "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0" " Safari/537.36" ) @pytest.mark.usefixtures("mock_requests_login") def test_get_support_code(ista_client: PyEcotrendIsta) -> None: """Test `get_support_code` method.""" ista_client.login() assert ista_client.get_support_code() == "XXXXXXXXX" @pytest.mark.usefixtures("mock_requests_login") def test_get_support_code_returns_none(ista_client: PyEcotrendIsta) -> None: """Test `get_support_code` method.""" assert ista_client.get_support_code() is None @pytest.mark.parametrize(("access_token", "expected_result"), [("ACCESS_TOKEN", True), (None, False)]) def test_is_connected(ista_client: PyEcotrendIsta, access_token: str | None, expected_result: bool) -> None: """Test `_is_connected` method.""" ista_client._access_token = access_token # pylint: disable=W0212 assert ista_client._is_connected() is expected_result # pylint: disable=W0212 @pytest.mark.usefixtures("mock_requests_login") def test_get_account(ista_client: PyEcotrendIsta, snapshot: SnapshotAssertion) -> None: """Test `get_account` method.""" assert ista_client.get_account() is None ista_client.login() assert ista_client.get_account() == snapshot Ludy87-pyecotrend-ista-10e3acc/tests/test_set_account.py000066400000000000000000000036521511651160300234660ustar00rootroot00000000000000"""Tests for _set_account methods.""" from http import HTTPStatus import pytest import requests from requests_mock.mocker import Mocker as RequestsMock from syrupy.assertion import SnapshotAssertion from pyecotrend_ista import LoginError, ParserError, PyEcotrendIsta, ServerError from pyecotrend_ista.const import API_BASE_URL @pytest.mark.usefixtures("mock_requests_login") def test_set_account(ista_client: PyEcotrendIsta, snapshot: SnapshotAssertion) -> None: """Test `_set_account` method.""" ista_client._PyEcotrendIsta__set_account() # type: ignore[attr-defined] # pylint: disable=W0212 assert ista_client._account == snapshot # pylint: disable=W0212 assert ista_client.get_uuids() == ["7a226e08-2a90-4db9-ae9b-8148901c6ec2"] @pytest.mark.parametrize( ("exception", "expected_exception"), ([(requests.RequestException, ServerError), (requests.Timeout, ServerError)]) ) def test_set_account_exceptions( requests_mock: RequestsMock, ista_client: PyEcotrendIsta, exception, expected_exception ) -> None: """Test `_set_account` method exceptions.""" requests_mock.get(f"{API_BASE_URL}account", exc=exception) with pytest.raises(expected_exception=expected_exception): ista_client._PyEcotrendIsta__set_account() # type: ignore[attr-defined] # pylint: disable=W0212 @pytest.mark.parametrize( ("status_code", "expected_exception"), ([(HTTPStatus.OK, ParserError), (HTTPStatus.BAD_REQUEST, ServerError), (HTTPStatus.UNAUTHORIZED, LoginError)]), ) def test_set_account_httperrors( requests_mock: RequestsMock, ista_client: PyEcotrendIsta, status_code: HTTPStatus, expected_exception ) -> None: """Test `_set_account` method http status errors.""" requests_mock.get(f"{API_BASE_URL}account", status_code=status_code) with pytest.raises(expected_exception=expected_exception): ista_client._PyEcotrendIsta__set_account() # type: ignore[attr-defined] # pylint: disable=W0212 Ludy87-pyecotrend-ista-10e3acc/tox.ini000066400000000000000000000051101511651160300177060ustar00rootroot00000000000000[tox] skipsdist = True envlist = py311, py312, py313, py314, format, lint, pre-commit, docstrings, documentation, test-publish isolated_build = True [gh-actions] python = 3.11: py311 3.12: py312 3.13: py313 3.14: py314 [testenv] deps = pytest==8.4.1 pytest-cov==7.0.0 pytest-xdist==3.8.0 requests-mock[fixture]==1.12.1 syrupy==5.0.0 requests>=2 dataclasses-json>=0.6 commands = pytest --cov=src/pyecotrend_ista --cov-report=xml --cov-report=term-missing {posargs} [testenv:pre-commit] skip_install = true deps = pre-commit commands = pre-commit run --all-files -c .pre-commit-config.yaml --show-diff-on-failure [testenv:lint] description = Run linters skip_install = true deps = pylint ruff dataclasses-json requests commands = pylint --rcfile=pyproject.toml {[common] files} tests/ ruff check {[common] files} tests/ --fix [testenv:format] description = Run formatters skip_install = true deps = ruff commands = ruff format {[common] files} tests/ [testenv:docstrings] description = Validate docstrings with pydocstyle skip_install = false deps = pydocstyle numpydoc commands = pydocstyle {[common] files} tests/ --convention=numpy [testenv:documentation] description = Build the documentation skip_install = true deps = -rrequirements.txt ; mkdocs==1.6.1 ; mkdocstrings[python]>=0.18 ; Markdown==3.3.6 ; markdown-callouts==0.4.0 ; mkdocs-material==9.5.50 ; pygments==2.17.2 ; pymdown-extensions==10.3.1 ; mdx-gh-links==0.4 ; mkdocs-click==0.8.1 ; mkdocs-minify-plugin==0.8.0 ; mkdocs-git-revision-date-localized-plugin==1.2.6 ; mkdocs-git-committers-plugin-2==2.3.0 ; mkdocs-git-authors-plugin==0.9.0 ; mkdocs-autorefs==1.0.1 ; mkdocs-literate-nav==0.6.1 setenv = MKDOCS_GIT_COMMITTERS_APIKEY = {env:GITHUB_TOKEN} commands = mkdocs build [testenv:test-publish] description = Build and publish the test-package to PyPI skip_install = true deps = build twine commands = python -m build python -m twine upload --repository testpypi dist/* --non-interactive [testenv:publish] description = Build and publish the package to PyPI skip_install = true deps = build twine commands = python -m build python -m twine upload dist/* [common] files = src/pyecotrend_ista/__init__.py src/pyecotrend_ista/const.py src/pyecotrend_ista/exception_classes.py src/pyecotrend_ista/helper_object_de.py src/pyecotrend_ista/login_helper.py src/pyecotrend_ista/pyecotrend_ista.py src/pyecotrend_ista/__version.py src/pyecotrend_ista/types.py