pax_global_header00006660000000000000000000000064146447646550014537gustar00rootroot0000000000000052 comment=b7c7630440bdd98fd309abf9028bbb38b1f58896 Ludy87-pyecotrend-ista-b7c7630/000077500000000000000000000000001464476465500163005ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/.gitattributes000066400000000000000000000002561464476465500211760ustar00rootroot00000000000000# 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-b7c7630/.github/000077500000000000000000000000001464476465500176405ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/.github/actions/000077500000000000000000000000001464476465500213005ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/.github/actions/get_version.py000066400000000000000000000007131464476465500241770ustar00rootroot00000000000000import configparser import sys def main(): """Read and print the version of pyecotrend_ista.""" with open("./src/pyecotrend_ista/const.py", encoding="utf-8") as f: config_string = "[dummy_section]\n" + f.read() config = configparser.ConfigParser(allow_no_value=True) config.read_string(config_string) print(config["dummy_section"]["VERSION"].strip('"')) return 0 if __name__ == "__main__": sys.exit(main()) Ludy87-pyecotrend-ista-b7c7630/.github/dependabot.yml000066400000000000000000000003071464476465500224700ustar00rootroot00000000000000version: 2 updates: - package-ecosystem: "github-actions" directory: "/" schedule: interval: daily time: "22:30" timezone: "Europe/Berlin" open-pull-requests-limit: 5 Ludy87-pyecotrend-ista-b7c7630/.github/labels.yml000066400000000000000000000024371464476465500216330ustar00rootroot00000000000000--- # 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-b7c7630/.github/workflows/000077500000000000000000000000001464476465500216755ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/.github/workflows/a_pre_commit.yml000066400000000000000000000026301464476465500250570ustar00rootroot00000000000000name: Pre-commit on: pull_request_target: types: - closed push: branches: [main] permissions: contents: write pull-requests: write jobs: update: if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: token: ${{ secrets.TOKEN }} - name: Set up Python uses: actions/setup-python@v5 with: python-version: | 3.11 - name: Install Dependencies run: | pip install pre-commit pre-commit install - name: Pre-commit and auto commit run: | pre-commit run --all-files || true - name: Create Pull Request uses: peter-evans/create-pull-request@v6 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-b7c7630/.github/workflows/codeql-analysis.yml000066400000000000000000000047731464476465500255230ustar00rootroot00000000000000# 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" jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read contents: read 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: Checkout repository uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 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@v3 # ℹ️ 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@v3 with: category: "/language:${{matrix.language}}" Ludy87-pyecotrend-ista-b7c7630/.github/workflows/labeler.yml000066400000000000000000000011041464476465500240220ustar00rootroot00000000000000name: Manage labels on: # push: # branches: [main] # paths-ignore: # - ".github/actions/**" # - ".github/workflows/**" # pull_request: # branches: [main] schedule: - cron: "31 12 * * 0" jobs: labeler: name: Labeler runs-on: ubuntu-latest steps: - name: Check out the repository uses: actions/checkout@v4 - name: Run Labeler uses: crazy-max/ghaction-github-labeler@v5 with: github-token: ${{ secrets.GITHUB_TOKEN }} yaml-file: .github/labels.yml skip-delete: true Ludy87-pyecotrend-ista-b7c7630/.github/workflows/pytest.yml000066400000000000000000000014701464476465500237520ustar00rootroot00000000000000name: Test on: push: branches: [main] paths-ignore: - ".github/**" pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest strategy: matrix: python_version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements_test.txt - name: Test run: | pytest --cov-report=xml - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false verbose: true Ludy87-pyecotrend-ista-b7c7630/.github/workflows/pythonpublish.yml000066400000000000000000000052531464476465500253350ustar00rootroot00000000000000name: Upload Python Package Pypi on: release: types: [created] push: branches: [main] paths-ignore: - ".github/**" jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: ref: main - name: Set up Python uses: actions/setup-python@v5 with: python-version: | 3.11 check-latest: true - name: Get Version id: version shell: bash run: | version="$(python3 ./.github/actions/get_version.py)" echo "version=$version" >> $GITHUB_OUTPUT - name: Is Tag exists uses: mukunku/tag-exists-action@v1.6.0 id: checkTag with: tag: ${{ steps.version.outputs.version }} - uses: actions/checkout@v4 - name: ZIP Component Dir run: | cd ${{ github.workspace }}/src/pyecotrend_ista zip -r pyecotrend_ista.zip ./ - name: Upload zip to release uses: svenstaro/upload-release-action@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 - if: steps.checkTag.outputs.exists == 'false' name: Check Tag id: check-tag run: | if [[ "${{ steps.version.outputs.version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echo "match=true" >> $GITHUB_OUTPUT fi - name: Build if: steps.check-tag.outputs.match == 'true' uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.version.outputs.version }} name: v${{ steps.version.outputs.version }} draft: false prerelease: false token: "${{ secrets.GITHUB_TOKEN }}" - name: Checkout code for release if: steps.check-tag.outputs.match == 'true' uses: actions/checkout@v4 - name: Set up Python if: steps.check-tag.outputs.match == 'true' uses: actions/setup-python@v5 with: python-version: "3.11" check-latest: true - name: Install dependencies if: steps.check-tag.outputs.match == 'true' run: | python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build and publish if: steps.check-tag.outputs.match == 'true' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/* Ludy87-pyecotrend-ista-b7c7630/.github/workflows/review-request.yml000066400000000000000000000051701464476465500254120ustar00rootroot00000000000000name: Request Reviewers on: pull_request_target: types: [opened, synchronize] permissions: contents: write pull-requests: write jobs: request-reviewers: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 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@v7 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-b7c7630/.gitignore000066400000000000000000000037121464476465500202730ustar00rootroot00000000000000# 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.* Ludy87-pyecotrend-ista-b7c7630/.pre-commit-config.yaml000066400000000000000000000055421464476465500225670ustar00rootroot00000000000000ci: 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.4.9 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.3.0 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: v4.5.0 hooks: - id: check-ast - id: check-yaml - 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 - id: requirements-txt-fixer - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.1.0 hooks: - id: prettier exclude_types: [json] exclude: \.md$ - repo: https://github.com/cdce8p/python-typing-update rev: v0.6.0 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==24.1.1 - repo: https://github.com/asottile/pyupgrade rev: v3.16.0 hooks: - id: pyupgrade args: [--py311-plus] exclude: ^.*object.*\.py$ Ludy87-pyecotrend-ista-b7c7630/.travis.yml000066400000000000000000000000441464476465500204070ustar00rootroot00000000000000language: python python: - "3.11" Ludy87-pyecotrend-ista-b7c7630/CODEOWNERS000066400000000000000000000003541464476465500176750ustar00rootroot00000000000000# 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-b7c7630/FUNDING.yml000066400000000000000000000017521464476465500201220ustar00rootroot00000000000000# 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://www.buymeacoffee.com/ludy87", "https://github.com/sponsors/Ludy87", "https://smile.amazon.de/registry/wishlist/2MX8QK8VE9MV1", ] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] Ludy87-pyecotrend-ista-b7c7630/LICENSE000066400000000000000000000020451464476465500173060ustar00rootroot00000000000000MIT 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-b7c7630/README.md000066400000000000000000000035401464476465500175610ustar00rootroot00000000000000# 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) [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ludy87) [✨ 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-b7c7630/image/000077500000000000000000000000001464476465500173625ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/image/logo.png000066400000000000000000001762441464476465500210460ustar00rootroot00000000000000PNG  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-b7c7630/pyproject.toml000066400000000000000000000014641464476465500212210ustar00rootroot00000000000000[tool.ruff] line-length = 127 indent-width = 4 target-version = "py311" [tool.ruff.lint] extend-select = ["I", "TRY", "UP", "D", "W", "N"] ignore = ["D213", "D202", "D203", "D213", "UP038", "TRY003"] [tool.ruff.lint.pydocstyle] convention = "numpy" [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.ruff.lint.isort] force-sort-within-sections = true known-first-party = ["pyecotrend_ista"] combine-as-imports = true split-on-trailing-comma = false [tool.pytest.ini_options] addopts = "--cov=src/pyecotrend_ista/ --cov-report=term-missing -n auto" testpaths = ["tests"] pythonpath = ["src"] [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", ] Ludy87-pyecotrend-ista-b7c7630/requirements.txt000066400000000000000000000000421464476465500215600ustar00rootroot00000000000000dataclasses-json>=0.6 requests>=2 Ludy87-pyecotrend-ista-b7c7630/requirements_test.txt000066400000000000000000000001411464476465500226170ustar00rootroot00000000000000pytest==8.2.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 requests-mock[fixture]==1.12.1 syrupy==4.6.1 Ludy87-pyecotrend-ista-b7c7630/setup.py000066400000000000000000000035341464476465500200170ustar00rootroot00000000000000"""Setuptool for PyPI.""" import configparser import setuptools with open("README.md", encoding="utf-8") as fh: long_description = fh.read() with open("./src/pyecotrend_ista/const.py", encoding="utf-8") as f: config_string = "[dummy_section]\n" + f.read() config = configparser.ConfigParser(allow_no_value=True) config.read_string(config_string) version = config["dummy_section"]["VERSION"].strip('"') requirements_array = [] with open("requirements.txt", encoding="utf-8") as requirements_file: for line in requirements_file: requirements_array.append(line.replace("\n", "")) setuptools.setup( name="pyecotrend-ista", version=version, author="Ludy87", author_email="android@astra-g.org", description="Python ecotrend-ista Api", license="MIT", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/Ludy87/pyecotrend-ista", project_urls={ "Bug Tracker": "https://github.com/Ludy87/pyecotrend-ista/issues", "Homepage": "https://github.com/Ludy87/pyecotrend-ista", }, package_dir={"": "src"}, packages=setuptools.find_packages(where="src"), classifiers=[ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Intended Audience :: Developers", "Topic :: Software Development", "Topic :: Utilities", "Topic :: Home Automation", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="python api ecotrend ista", install_requires=requirements_array, python_requires=">=3.11", ) Ludy87-pyecotrend-ista-b7c7630/src/000077500000000000000000000000001464476465500170675ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/src/pyecotrend_ista/000077500000000000000000000000001464476465500222635ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/src/pyecotrend_ista/__init__.py000066400000000000000000000011751464476465500244000ustar00rootroot00000000000000"""pyecotrend ista.""" 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-b7c7630/src/pyecotrend_ista/const.py000066400000000000000000000007421464476465500237660ustar00rootroot00000000000000"""Constants for PyEcotrendIsta.""" VERSION = "3.3.2" 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_TPYE = "code" GRANT_TYPE_REFRESH_TOKEN = "refresh_token" GRANT_TYPE_AUTHORIZATION_CODE = "authorization_code" TIMEOUT = 10 Ludy87-pyecotrend-ista-b7c7630/src/pyecotrend_ista/exception_classes.py000066400000000000000000000134531464476465500263560ustar00rootroot00000000000000"""Exception Class.""" 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]: """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): 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): """ 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): """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): """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): """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): """Base class for custom Keycloak errors. :param error_message: The error message :type error_message: str :param response_code: The response status code :type response_code: int """ def __init__(self, error_message="", response_code=None, response_body=None): """Init method. :param error_message: The error message :type error_message: str :param response_code: The code of the response :type response_code: int :param response_body: Body of the response :type response_body: bytes """ 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: String representation of the object :rtype: str """ if self.response_code is not None: return f"{self.response_code}: {self.error_message}" else: return f"{self.error_message}" class KeycloakAuthenticationError(KeycloakError): """Keycloak authentication error exception.""" class KeycloakOperationError(KeycloakError): """Keycloak operation error exception.""" class KeycloakGetError(KeycloakOperationError): """Keycloak request get error exception.""" class KeycloakPostError(KeycloakOperationError): """Keycloak request post error exception.""" class KeycloakCodeNotFound(KeycloakOperationError): # noqa: N818 """Keycloak Code not found exception.""" class KeycloakInvalidTokenError(KeycloakOperationError): """Keycloak invalid token exception.""" Ludy87-pyecotrend-ista-b7c7630/src/pyecotrend_ista/helper_object_de.py000066400000000000000000000342311464476465500261150ustar00rootroot00000000000000"""Dataclasses.""" from __future__ import annotations from dataclasses import dataclass from dataclasses_json import DataClassJsonMixin, dataclass_json @dataclass_json @dataclass class AverageConsumption(DataClassJsonMixin): """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 def replace_point(self): """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): """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class ComparedConsumption(DataClassJsonMixin): """ 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 def replace_point(self): """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): """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class Consumption(DataClassJsonMixin): """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 def replace_point(self): """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): """Post-initialization processing.""" self.replace_point() @dataclass_json @dataclass class Cost(DataClassJsonMixin): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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-b7c7630/src/pyecotrend_ista/login_helper.py000066400000000000000000000326131464476465500253110ustar00rootroot00000000000000"""Login helper for Keycloak.""" 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_TPYE, SCOPE, TIMEOUT, ) from .exception_classes import ( KeycloakAuthenticationError, KeycloakCodeNotFound, KeycloakGetError, KeycloakInvalidTokenError, KeycloakOperationError, KeycloakPostError, ) from .types import GetTokenResponse class LoginHelper: """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: """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: """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: """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: """ 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: """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_TPYE, # 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: """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: """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: """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]: """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]: """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 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-b7c7630/src/pyecotrend_ista/pyecotrend_ista.py000066400000000000000000001220771464476465500260420ustar00rootroot00000000000000"""Unofficial python library for the ista EcoTrend API.""" from __future__ import annotations from http import HTTPStatus import logging import time from typing import Any, cast import warnings import requests from .const import API_BASE_URL, DEMO_USER_ACCOUNT, VERSION from .exception_classes import KeycloakError, LoginError, ParserError, ServerError, deprecated from .helper_object_de import CustomRaw from .login_helper import LoginHelper from .types import AccountResponse, ConsumptionsResponse, ConsumptionUnitDetailsResponse, GetTokenResponse _LOGGER = logging.getLogger(__name__) class PyEcotrendIsta: """A Python client for interacting with the ista EcoTrend API. This class provides methods to authenticate and interact with the ista EcoTrend API. """ _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, logger: logging.Logger | None = None, hass_dir: str | None = None, totp: str | None = None, session: requests.Session | None = None, ) -> None: """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. logger : logging.Logger, optional [DEPRECATED] An optional logger instance for logging messages. Default is None. hass_dir : str, optional [DEPRECATED] An optional directory for Home Assistant configuration. Default is None. 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. """ if hass_dir: warnings.warn( "The 'hass_dir' parameter is deprecated and will be removed in a future release.", DeprecationWarning, stacklevel=2, ) if logger: warnings.warn( "The 'logger' parameter is deprecated and will be removed in a future release.", DeprecationWarning, stacklevel=2, ) self._email: str = email.strip() self._password: str = password self.loginhelper = LoginHelper( username=self._email, password=self._password, totp=totp, session=session, logger=_LOGGER, ) self.session: requests.Session = self.loginhelper.session @property def access_token(self): """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: """Setter method for the access token attribute. 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: """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: """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: """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: """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: """Get the version of the PyEcotrendIsta client. Returns ------- str The version number of the PyEcotrendIsta client. """ return VERSION getVersion = deprecated(get_version, "getVersion") # noqa: N815 def login(self, force_login: bool = False, debug: bool = False, **kwargs) -> str | None: """Perform the login process if not already connected or forced. Parameters ---------- force_login : bool, optional If True, forces a fresh login attempt even if already connected. Default is False. debug : bool, optional [DEPRECATED] Flag indicating whether to enable debug logging. Default is False. forceLogin : bool, optional [DEPRECATED] Use `force_login` instead. 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 debug: warnings.warn( "The 'debug' parameter is deprecated and will be removed in a future release.", DeprecationWarning, stacklevel=2, ) if "forceLogin" in kwargs: warnings.warn( "The 'forceLogin' keyword parameter is deprecated and will be removed in a future release. " "Use force_login instead.", DeprecationWarning, stacklevel=2, ) force_login = kwargs["forceLogin"] if not self._is_connected() or force_login: 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. Parameters ---------- token : str The access token used for authentication. Returns ------- Any JSON response containing user information. 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. Raises ------ requests.exceptions.RequestException If an error occurs while making the HTTP request. Example ------- >>> 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. Notes ----- This method assumes `self._refresh_token` is already set. Raises ------ KeycloakPostError If an error occurs during the logout process. This error is raised based on the response from the logout request. Example: ------- >>> 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]: """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. Example: ------- >>> 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()) getUUIDs = deprecated(get_uuids, "getUUIDs") # noqa: N815 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 consumption and cost data for a given consumption unit. 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. 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. Raises ------ Exception If there is an unexpected error during data processing. """ # 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} 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"]: 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. 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. """ 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 r: _LOGGER.debug("Performed GET request: %s [%s]:\n%s", url, r.status_code, r.text[:100]) r.raise_for_status() try: return cast(ConsumptionsResponse, r.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 get_raw = deprecated(get_consumption_data, "get_raw") def get_consumption_unit_details(self) -> ConsumptionUnitDetailsResponse: """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: """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") getSupportCode = deprecated(get_support_code, "getSupportCode") # noqa: N815 def get_user_agent(self) -> str: """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/101.0.4951.67" " Safari/537.36" ) def demo_user_login(self) -> GetTokenResponse: """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: """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-b7c7630/src/pyecotrend_ista/types.py000066400000000000000000000321401464476465500240010ustar00rootroot00000000000000"""Types for PyEcotrendIsta.""" from typing import Any, Literal, TypedDict class GetTokenResponse(TypedDict): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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): """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-b7c7630/src/pyecotrend_ista/ua.json000066400000000000000000000164341464476465500235730ustar00rootroot00000000000000[ {"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-b7c7630/tests/000077500000000000000000000000001464476465500174425ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/tests/__init__.py000066400000000000000000000000401464476465500215450ustar00rootroot00000000000000"""Tests for PyEcotrendIsta.""" Ludy87-pyecotrend-ista-b7c7630/tests/__snapshots__/000077500000000000000000000000001464476465500222605ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/tests/__snapshots__/test_consumption_unit_details.ambr000066400000000000000000000012761464476465500313120ustar00rootroot00000000000000# 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-b7c7630/tests/__snapshots__/test_consumptions.ambr000066400000000000000000031531431464476465500267350ustar00rootroot00000000000000# 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-b7c7630/tests/__snapshots__/test_login.ambr000066400000000000000000000003321464476465500252700ustar00rootroot00000000000000# 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-b7c7630/tests/__snapshots__/test_other.ambr000066400000000000000000000020521464476465500253020ustar00rootroot00000000000000# 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-b7c7630/tests/__snapshots__/test_set_account.ambr000066400000000000000000000020521464476465500264700ustar00rootroot00000000000000# 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-b7c7630/tests/conftest.py000066400000000000000000000111371464476465500216440ustar00rootroot00000000000000"""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-b7c7630/tests/data/000077500000000000000000000000001464476465500203535ustar00rootroot00000000000000Ludy87-pyecotrend-ista-b7c7630/tests/data/test_data.json000066400000000000000000002631551464476465500232320ustar00rootroot00000000000000{ "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-b7c7630/tests/test_consumption_unit_details.py000066400000000000000000000035101464476465500261740ustar00rootroot00000000000000"""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-b7c7630/tests/test_consumptions.py000066400000000000000000000103471464476465500236210ustar00rootroot00000000000000"""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-b7c7630/tests/test_login.py000066400000000000000000000044471464476465500221740ustar00rootroot00000000000000"""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-b7c7630/tests/test_other.py000066400000000000000000000066041464476465500222020ustar00rootroot00000000000000"""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/101.0.4951.67" " 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.parametrize(("deprecated_method"), ["getVersion", "getUUIDs", "getSupportCode"]) def test_method_deprecations(ista_client: PyEcotrendIsta, deprecated_method: str) -> None: """Test warnings for deprecated methods.""" with pytest.warns(DeprecationWarning): try: getattr(ista_client, deprecated_method)() except Exception: # pylint: disable=W0718 pass @pytest.mark.parametrize(("param"), ["debug", "forceLogin"]) def test_login_deprecated_parameters(ista_client: PyEcotrendIsta, param: str) -> None: """Test warnings for deprecated methods.""" with pytest.warns(DeprecationWarning): try: ista_client.login(**{param: True}) except Exception: # pylint: disable=W0718 pass @pytest.mark.parametrize(("param"), ["logger", "hass_dir"]) def test_init_deprecated_parameters(param: str) -> None: """Test warnings for deprecated methods.""" with pytest.warns(DeprecationWarning): PyEcotrendIsta(email="", password="", **{param: True}) # type: ignore @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-b7c7630/tests/test_set_account.py000066400000000000000000000036521464476465500233700ustar00rootroot00000000000000"""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