Full Code of oyvindwe/connectlife-ha for AI

main 2133dd07f8ae cached
183 files
1.8 MB
505.1k tokens
207 symbols
1 requests
Download .txt
Showing preview only (1,903K chars total). Download the full file or copy to clipboard to get everything.
Repository: oyvindwe/connectlife-ha
Branch: main
Commit: 2133dd07f8ae
Files: 183
Total size: 1.8 MB

Directory structure:
gitextract_mi7rib1t/

├── .claude/
│   └── skills/
│       ├── bump-version/
│       │   └── SKILL.md
│       └── release-notes/
│           └── SKILL.md
├── .github/
│   └── workflows/
│       ├── validate-ha.yaml
│       └── validate.yaml
├── .gitignore
├── .python-version
├── CLAUDE.md
├── DEVELOPMENT.md
├── DEVICES.md
├── LICENSE
├── README.md
├── custom_components/
│   └── connectlife/
│       ├── __init__.py
│       ├── binary_sensor.py
│       ├── button.py
│       ├── climate.py
│       ├── config_flow.py
│       ├── const.py
│       ├── coordinator.py
│       ├── data_dictionaries/
│       │   ├── 003-000.yaml
│       │   ├── 003.yaml
│       │   ├── 004-000.yaml
│       │   ├── 004.yaml
│       │   ├── 006-200.yaml
│       │   ├── 006-201.yaml
│       │   ├── 006-202.yaml
│       │   ├── 006-203.yaml
│       │   ├── 006.yaml
│       │   ├── 007-400.yaml
│       │   ├── 007-401.yaml
│       │   ├── 007-402.yaml
│       │   ├── 007-403.yaml
│       │   ├── 007-404.yaml
│       │   ├── 007-405.yaml
│       │   ├── 007-406.yaml
│       │   ├── 007-407.yaml
│       │   ├── 007-408.yaml
│       │   ├── 007-409.yaml
│       │   ├── 007.yaml
│       │   ├── 008-300.yaml
│       │   ├── 008-301.yaml
│       │   ├── 008-302.yaml
│       │   ├── 008-303.yaml
│       │   ├── 008-304.yaml
│       │   ├── 008-305.yaml
│       │   ├── 008-306.yaml
│       │   ├── 008-307.yaml
│       │   ├── 008-308.yaml
│       │   ├── 008-309.yaml
│       │   ├── 008-310.yaml
│       │   ├── 008-311.yaml
│       │   ├── 008-399.yaml
│       │   ├── 008.yaml
│       │   ├── 009-100.yaml
│       │   ├── 009-101.yaml
│       │   ├── 009-102.yaml
│       │   ├── 009-103.yaml
│       │   ├── 009-104.yaml
│       │   ├── 009-105.yaml
│       │   ├── 009-106.yaml
│       │   ├── 009-107.yaml
│       │   ├── 009-108.yaml
│       │   ├── 009-109.yaml
│       │   ├── 009-110.yaml
│       │   ├── 009-111.yaml
│       │   ├── 009-112.yaml
│       │   ├── 009-113.yaml
│       │   ├── 009-114.yaml
│       │   ├── 009-115.yaml
│       │   ├── 009-116.yaml
│       │   ├── 009-117.yaml
│       │   ├── 009-118.yaml
│       │   ├── 009-119.yaml
│       │   ├── 009-120.yaml
│       │   ├── 009-121.yaml
│       │   ├── 009-122.yaml
│       │   ├── 009-123.yaml
│       │   ├── 009-124.yaml
│       │   ├── 009-125.yaml
│       │   ├── 009-126.yaml
│       │   ├── 009-127.yaml
│       │   ├── 009-128.yaml
│       │   ├── 009-129.yaml
│       │   ├── 009-199.yaml
│       │   ├── 009-19901.yaml
│       │   ├── 009.yaml
│       │   ├── 010-hob-pind.yaml
│       │   ├── 010.yaml
│       │   ├── 012-000.yaml
│       │   ├── 012.yaml
│       │   ├── 013-000.yaml
│       │   ├── 013-oven-bio21-iconledplus.yaml
│       │   ├── 013.yaml
│       │   ├── 015-000.yaml
│       │   ├── 015-1ux0s1005k15.yaml
│       │   ├── 015-dishwasher-50.2f.yaml
│       │   ├── 015-dishwasher-50.2t.yaml
│       │   ├── 015-dishwasher-60.2.yaml
│       │   ├── 015-dishwasher-60.3.yaml
│       │   ├── 015.yaml
│       │   ├── 016-502.yaml
│       │   ├── 016.yaml
│       │   ├── 020-63c45b513e1a4bf7.yaml
│       │   ├── 020.yaml
│       │   ├── 023-295608422d362be1.yaml
│       │   ├── 023.yaml
│       │   ├── 025-1wj080837v0w.yaml
│       │   ├── 025-1wj090660v0w.yaml
│       │   ├── 025-1wj090728v0w.yaml
│       │   ├── 025-1wj090913v0f.yaml
│       │   ├── 025-1wj100404v0w.yaml
│       │   ├── 025-1wj100649v0t.yaml
│       │   ├── 025-1wj100722v0w.yaml
│       │   ├── 025-1wj100923v0f.yaml
│       │   ├── 025-1wj105050v0w.yaml
│       │   ├── 025-1wj105080v0w.yaml
│       │   ├── 025-1wj105091v0t.yaml
│       │   ├── 025-1wj105219v0w.yaml
│       │   ├── 025-1wj105246v0w.yaml
│       │   ├── 025-1wj105418v0t.yaml
│       │   ├── 025-1wj105552v0w.yaml
│       │   ├── 025-1wj120238v0b.yaml
│       │   ├── 025-1wj120261v0w.yaml
│       │   ├── 025-1wj120389v0b.yaml
│       │   ├── 025-1wj120407v0w.yaml
│       │   ├── 025-1wj120514v0t.yaml
│       │   ├── 025-1wj120560v0w.yaml
│       │   ├── 025.yaml
│       │   ├── 026-1b0330z0079j.yaml
│       │   ├── 026-1b0470z0012j.yaml
│       │   ├── 026-1b0470z0026j.yaml
│       │   ├── 026-1b0610z0043j.yaml
│       │   ├── 026-1b0610z0049j.yaml
│       │   ├── 026-1b0628z0075j.yaml
│       │   ├── 026-1b0628z0146j.yaml
│       │   ├── 026-1b0668z0100j.yaml
│       │   ├── 026.yaml
│       │   ├── 027-000.yaml
│       │   ├── 027-washing-machine-wm22-b2plus.yaml
│       │   ├── 027-washing-machine-wm22.yaml
│       │   ├── 027.yaml
│       │   ├── 030-1wk080027e0w.yaml
│       │   ├── 030-1wk080066v0w.yaml
│       │   ├── 030-1wk080140v0w.yaml
│       │   ├── 030-1wk100028v0w.yaml
│       │   ├── 030-1wk100130v0f.yaml
│       │   ├── 030-1wk100266v0f.yaml
│       │   ├── 030.yaml
│       │   ├── 032-000.yaml
│       │   ├── 032.yaml
│       │   ├── README.md
│       │   └── properties-schema.json
│       ├── dictionaries.py
│       ├── entity.py
│       ├── humidifier.py
│       ├── icons.json
│       ├── manifest.json
│       ├── messages.py
│       ├── number.py
│       ├── repairs.py
│       ├── select.py
│       ├── sensor.py
│       ├── services.py
│       ├── services.yaml
│       ├── strings.json
│       ├── switch.py
│       ├── translations/
│       │   ├── de.json
│       │   ├── en.json
│       │   ├── es.json
│       │   ├── fr.json
│       │   ├── it.json
│       │   ├── nl.json
│       │   └── no.json
│       ├── utils.py
│       └── water_heater.py
├── hacs.json
├── pyproject.toml
├── scripts/
│   ├── __init__.py
│   ├── check_translations.py
│   ├── gen_strings.py
│   ├── sort_translations.py
│   └── validate_mappings.py
└── tests/
    ├── test_dictionaries.py
    └── test_messages.py

================================================
FILE CONTENTS
================================================

================================================
FILE: .claude/skills/bump-version/SKILL.md
================================================
---
name: bump-version
description: Bump the integration version, create a branch, commit, push, and open a PR.
argument-hint: <version>
allowed-tools: Read Edit Bash(git *) Bash(gh *) Bash(uv sync)
---

Bump the version of this ConnectLife Home Assistant integration.

## Steps

1. Determine the new version:
   - If `$ARGUMENTS` is provided, it must be a valid semver version (e.g., `0.31.0`). Use it as the new version.
   - If not provided, determine the next version via semver by analyzing commits since the last release:
     1. Read the current version from `custom_components/connectlife/manifest.json`.
     2. List commits since the last version bump:
        ```
        git log --oneline "$(git log --grep='^Version ' -n 1 --format=%H)..HEAD"
        ```
        (Falls back to `git log --oneline -n 20` if no prior version commit is found.)
     3. Classify the bump based on the commit subjects and diffs. **Note:** this project is on `0.x.y`, where per semver the public API is considered unstable — breaking changes do **not** trigger a `1.0.0` release on their own, they bump MINOR. Reserve a MAJOR bump for a deliberate, user-driven `1.0.0` graduation.
        - **MAJOR** (`X.0.0`): only when the user explicitly asks to graduate to `1.0.0` (or beyond). Do not infer this from commit contents alone while on `0.x.y`.
        - **MINOR** (`0.X.0`): new functionality **or** breaking changes — new device mappings/registrations, new properties, new platforms, new entities, additive API changes, removed/renamed entities or options, incompatible config flow changes, minimum HA version raised.
        - **PATCH** (`0.0.X`): backwards-compatible fixes only — bug fixes, translation-only changes, doc/readme tweaks, internal refactors with no user-visible change.
        When in doubt between MINOR and PATCH, pick MINOR.
     4. Compute the next version and show the user: the current version, the classification (major/minor/patch) with a one-line justification referencing the commits, and the proposed new version. Ask for confirmation before proceeding.

2. Verify the working tree is clean:
   ```
   git status --porcelain
   ```
   If there are uncommitted changes, stop and tell the user.

3. Make sure main is up to date:
   ```
   git checkout main
   git pull
   ```

4. Create a version branch:
   ```
   git checkout -b version/<new_version>
   ```

5. Update the version in these files:
   - `custom_components/connectlife/manifest.json` — the `"version"` field
   - `pyproject.toml` — the `version` field

6. Run `uv sync` to update `uv.lock`.

7. Stage and commit:
   ```
   git add custom_components/connectlife/manifest.json pyproject.toml uv.lock
   git commit -m "Version <new_version>"
   ```

8. Push and create PR:
   ```
   git push -u origin version/<new_version>
   gh pr create --title "Version <new_version>" --body "Bump version to <new_version>"
   ```

9. Report the PR URL to the user.


================================================
FILE: .claude/skills/release-notes/SKILL.md
================================================
---
name: release-notes
description: Generate release notes for a new version by analyzing commits since the last git tag. Groups changes into categorized sections with contributor attribution.
argument-hint: [version]
disable-model-invocation: true
allowed-tools: Bash(git *) Bash(gh *)
---

Generate release notes for this ConnectLife Home Assistant integration release.

## Steps

1. Determine the version to release:
   - If `$ARGUMENTS` is provided, use that as the version
   - Otherwise, read the version from `custom_components/connectlife/manifest.json`

2. Find the previous release tag:
   ```
   git describe --tags --abbrev=0 HEAD
   ```
   If HEAD is already tagged, use `git describe --tags --abbrev=0 HEAD^` to find the previous tag.

3. Get all commits since that tag:
   ```
   git log <previous_tag>..HEAD --pretty=format:"%H %s" --reverse
   ```

4. For each commit, inspect the commit message. Extract:
   - PR number (from `(#123)` in the message)
   - Author (from `git log --format="%an" -1 <hash>` and `git log --format="%ae" -1 <hash>`)
   - For PR commits, get the GitHub username: `gh pr view <number> --json author --jq '.author.login'`

5. Categorize each commit into sections based on its content:
   - **New devices** — commits that add new device mappings (new YAML files in `data_dictionaries/`)
   - **Improvements to existing devices** — commits that update existing device mappings
   - **Bug fixes** — commits with "fix" in the message
   - **Breaking changes** — commits that change existing entity behavior, rename entities, change defaults, or remove properties
   - **General improvements** — code changes, new features, dependency updates
   - **Translation improvements** — translation additions or fixes
   - **Documentation improvements** — README, docs changes
   - Skip commits that are just version bumps

6. For device mapping commits, identify which device types and feature codes were added/changed by looking at the files modified:
   ```
   git diff-tree --no-commit-id --name-only -r <hash>
   ```

7. Come up with a cool release name.

8. Format the release notes following this template. Do NOT include a `v` prefix on the version in the title line.

```markdown
<version> <release name>

## Highlights

<2-4 bullet summary of the most notable changes in this release>
- Do NOT include PR references (#123) or contributor mentions in Highlights — those belong in the detail sections below.

## New devices

- <device_type_code>-<device_feature_code> (<model name if known>) #PR by @contributor
- ...

## Improvements to existing devices

- <device_type_code or device_type_code-feature_code>: <description of change> #PR by @contributor
- ...

## Bug fixes

- <description> #PR by @contributor
- ...

## Breaking changes

- <description of what changed and what users need to do> #PR
- ...

## General improvements

- <description> #PR by @contributor
- ...

## Translation improvements

- <description> #PR by @contributor
- ...

## Contributors

The following have contributed to changes in this release — thank you very much!
<list of @contributor mentions, excluding the repo owner @oyvindwe>

**Full Changelog**: https://github.com/oyvindwe/connectlife-ha/compare/<previous_tag>...v<version>
```

## Rules

- Omit any section that has no entries
- Use `#123` format for PR references (short form, not full URLs)
- Use `@username` format for GitHub contributors
- The repo owner @oyvindwe should not be listed in the Contributors section
- For device mappings, include the device type code and feature code in backticks (e.g., `025-1wj100404v0w`)
- If a model name is known (from the PR title or commit message), include it in parentheses
- Quote property names and field names in backticks (e.g., `DelayEndTime`, `state_class`)
- Keep descriptions concise — one line per item
- The Highlights section should give a quick overview: count of new devices, key fixes, notable features
- Always read the PR body (via `gh pr view <num> --json body --jq '.body'`)
- When a PR body calls out a breaking change is experimental, note that in the entry (e.g., "breaking changes ...")
- When a PR body calls out that a change is experimental, speculative, or untested for certain models/devices, note that in the entry (e.g., "experimental for ...")
- Present the final release notes as a single markdown code block so it can be easily copied


================================================
FILE: .github/workflows/validate-ha.yaml
================================================
name: Validate Home Assistant integration

on:
  pull_request:
  push:
    branches:
      - main
  schedule:
    - cron: "0 0 * * *"
  workflow_dispatch:

permissions: {}

jobs:
  hassfest:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: home-assistant/actions/hassfest@master

  validate-hacs:
    runs-on: ubuntu-latest
    steps:
      - name: HACS validation
        uses: hacs/action@main
        with:
          category: integration

================================================
FILE: .github/workflows/validate.yaml
================================================
name: Validate mappings and check types

on:
  pull_request:
  push:
    branches:
      - main

jobs:
  validate-mappings:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: astral-sh/setup-uv@v6
      - run: uv sync
      - run: uv run python -m scripts.validate_mappings

  gen-strings:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: astral-sh/setup-uv@v6
      - run: uv sync
      - run: uv run python -m scripts.gen_strings
      - name: Check strings and translations are up to date
        run: |
          if ! git diff --exit-code; then
            echo "::error::Strings or translations are out of date. Run 'uv run python -m scripts.gen_strings' and commit the changes."
            exit 1
          fi

  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: astral-sh/setup-uv@v6
      - run: uv sync
      - run: uv run pytest

  type-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: astral-sh/setup-uv@v6
      - run: uv sync
      - run: uv run pyright


================================================
FILE: .gitignore
================================================
.idea/
.DS_Store
__pycache__/
.venv/
local/


================================================
FILE: .python-version
================================================
3.13.2


================================================
FILE: CLAUDE.md
================================================
# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Project Overview

Home Assistant custom component (HACS integration) for ConnectLife smart appliances. Polls the ConnectLife cloud API every 60 seconds and exposes appliances as HA entities across 8 platforms: binary_sensor, climate, humidifier, number, sensor, select, switch, water_heater.

## Commands

```bash
# Install dependencies (uses uv, not pip)
uv sync

# Validate data dictionary YAML files against JSON schema
uv run python -m scripts.validate_mappings

# Regenerate strings.json and en.json from data dictionaries, sort all translations
uv run python -m scripts.gen_strings

# Sort all translation files (without regenerating strings)
uv run python -m scripts.sort_translations

# Run the test server for local development
uv run python -m connectlife.test_server -d <dumps_dir>

# Type check
uv run pyright

# CI runs hassfest only (no linter/formatter/type checker configured)
```

## Architecture

### Data Flow

1. **Config flow** (`config_flow.py`) — user provides credentials, validated via `ConnectLifeApi.authenticate()`
2. **Entry setup** (`__init__.py`) — creates `ConnectLifeApi`, calls `login()` (4-step OAuth2 via Gigya), initializes `ConnectLifeCoordinator`
3. **Coordinator** (`coordinator.py`) — subclass of `DataUpdateCoordinator`, polls `api.get_appliances()` every 60s, returns `dict[str, ConnectLifeAppliance]` keyed by device_id
4. **Platform setup** — each platform iterates appliances, loads data dictionaries, creates entities for properties that match the platform
5. **Entity updates** — coordinator notifies entities via `_handle_coordinator_update()` → `update_state()` → `async_write_ha_state()`
6. **Commands** — entity actions call `async_update_device()` on base entity → `coordinator.async_update_device()` → `api.update_appliance()`

### Data Dictionary System (the core abstraction)

YAML files in `custom_components/connectlife/data_dictionaries/` define how API properties map to HA entities. This is the most important part of the codebase.

For the YAML schema and authoring guidance, see:
- `custom_components/connectlife/data_dictionaries/README.md` — user-facing field docs (all types, `command`/`adjust`, presets, units, translations)
- `custom_components/connectlife/data_dictionaries/properties-schema.json` — authoritative JSON schema

Code-level details not in those files:
- Parsed by `Dictionaries` class (`dictionaries.py`) with a class-level cache.
- Each property maps to exactly one platform. Platform type is determined by `hasattr()` on the `Property` object — only the attribute for the assigned platform is set during `__init__`.

### Entity Creation Pattern

All per-property platforms (sensor, binary_sensor, number, select, switch) follow the same pattern:

```python
for appliance in coordinator.data.values():
    dictionary = Dictionaries.get_dictionary(appliance)
    for s in appliance.status_list:
        if is_entity(Platform.XXX, dictionary.properties[s], appliance.status_list[s]):
            # create entity
```

Device-level platforms (climate, humidifier, water_heater) create one entity per appliance when any property has that platform type.

### Key Design Decisions

- **Unique ID format**: `{device_id}-{property_name}` (or `{device_id}-climate` etc. for device-level entities)
- **Beep disable**: When configured per-device in options, `t_beep: 0` is injected into every command (`entity.py:async_update_device`)
- **`is_entity()` utility** (`utils.py`): gates entity creation — checks platform match, not disabled, and not in unavailable state

### connectlife API Library

The API library is published to PyPI as `connectlife` and developed in a separate repo: https://github.com/oyvindwe/connectlife. Contains `ConnectLifeApi` (OAuth2 client), `ConnectLifeAppliance` (data model), and a test server.

## Adding New Device Mappings

See `custom_components/connectlife/data_dictionaries/README.md` for the authoring workflow (skeleton generation, tips, translation strings). After editing YAML, run `uv run python -m scripts.validate_mappings` and `uv run python -m scripts.gen_strings`.

================================================
FILE: DEVELOPMENT.md
================================================
# Developing `connectlife-ha`

## Prerequisites

1. `uv`: https://docs.astral.sh/uv/getting-started/installation/
2. Home Assistant development environment: https://developers.home-assistant.io/docs/development_environment

Install the custom component in your Home Assistant development environment
(assuming your configuration directory is `config`):
```bash
home_assistant_repo=<local home-assistant repo>
connectlife_ha_repo=<local connectlife-ha repo>
cd ${home_assistant_repo}
mkdir -p config/custom_components
cd config/custom_components
ln -s ${connectlife_ha_repo}>/custom_componnents/connectlife .
```

Install dev dependencies (in `connectlife-ha` repo):
```bash
uv sync
```

## Generate `strings.json` and `en.json`

This will add strings for new properties, remove stale keys, update
`translations/en.json`, prune translation files, and sort all translation files.

```bash
uv run python -m scripts.gen_strings
```

To also report missing translation keys after generating:

```bash
uv run python -m scripts.gen_strings --show-missing [lang]
```

## Providing translations

Translation files are located in `custom_components/connectlife/translations/`.

`strings.json` is the source of truth for English strings. It uses Home Assistant
`[%key:...]` references for common strings (e.g. config flow labels). The file
`translations/en.json` is generated automatically from `strings.json` with
`[%key:...]` references expanded — do not edit it manually.

To add or update a translation:

1. Copy `translations/en.json` to a new language file (e.g. `translations/fr.json`)
   or edit an existing one.
2. Translate the values. Do not translate keys, only values.
3. Sort the translation file:
   ```bash
   uv run python -m scripts.sort_translations
   ```

To check which keys are missing from a translation file:

```bash
uv run python -m scripts.check_translations [lang]
```

Omit the language code to check all translation files.

## Validate mapping files

```bash
uv run python -m scripts.validate_mappings
```

## Type checking

```bash
uv run pyright
```

## Use a test server

Clone https://github.com/oyvindwe/connectlife/

In your local `connectlife` repo:
```bash
python -m connectlife.test_server -d dumps
```

Configure the integration to access the test server:

![img.png](img.png)

![img_1.png](img_1.png)


================================================
FILE: DEVICES.md
================================================

| Device name              | Device type              | Device type code | Device feature code         |
|--------------------------|--------------------------|------------------|-----------------------------|
| ASKO Pro Washing Machine | Washing machine          | 003              | 000                         |
| ASKO Pro Tumble Dryer    | Tumble dryer             | 004              | 000                         |
| AP10TW1RLR-N             | Portable air conditioner | 006              | 200                         |
|                          | Portable air conditioner | 006              | 201                         |
|                          | Portable air conditioner | 006              | 202                         |
|                          | Portable air conditioner | 006              | 203                         |
|                          | Dehumidifier             | 007              | 400                         |
|                          | Dehumidifier             | 007              | 401                         |
|                          | Dehumidifier             | 007              | 402                         |
|                          | Dehumidifier             | 007              | 403                         |
|                          | Dehumidifier             | 007              | 404                         |
|                          | Dehumidifier             | 007              | 405                         |
| Hisense D20HW            | Dehumidifier             | 007              | 406                         |
|                          | Dehumidifier             | 007              | 407                         |
|                          | Dehumidifier             | 007              | 408                         |
|                          | Dehumidifier             | 007              | 409                         |
|                          | Air conditioner          | 008              | 300                         |
|                          | Air conditioner          | 008              | 301                         |
|                          | Air conditioner          | 008              | 302                         |
|                          | Air conditioner          | 008              | 303                         |
|                          | Air conditioner          | 008              | 304                         |
|                          | Air conditioner          | 008              | 305                         |
|                          | Air conditioner          | 008              | 306                         |
|                          | Air conditioner          | 008              | 307                         |
|                          | Air conditioner          | 008              | 308                         |
|                          | Air conditioner          | 008              | 309                         |
|                          | Air conditioner          | 008              | 310                         |
|                          | Air conditioner          | 008              | 311                         |
| AWUS1225TW               | Air conditioner          | 008              | 399                         |
|                          | Air conditioner          | 009              | 100                         |
|                          | Air conditioner          | 009              | 101                         |
|                          | Air conditioner          | 009              | 102                         |
|                          | Air conditioner          | 009              | 103                         |
|                          | Air conditioner          | 009              | 104                         |
| AS-09TW2RLDTT00          | Air conditioner          | 009              | 105                         |
|                          | Air conditioner          | 009              | 106                         |
|                          | Air conditioner          | 009              | 107                         |
|                          | Air conditioner          | 009              | 108                         |
|                          | Air conditioner          | 009              | 109                         |
|                          | Air conditioner          | 009              | 110                         |
|                          | Air conditioner          | 009              | 111                         |
|                          | Air conditioner          | 009              | 112                         |
|                          | Air conditioner          | 009              | 113                         |
|                          | Air conditioner          | 009              | 114                         |
|                          | Air conditioner          | 009              | 115                         |
|                          | Air conditioner          | 009              | 116                         |
|                          | Air conditioner          | 009              | 117                         |
|                          | Air conditioner          | 009              | 118                         |
|                          | Air conditioner          | 009              | 119                         |
|                          | Air conditioner          | 009              | 120                         |
|                          | Air conditioner          | 009              | 121                         |
|                          | Air conditioner          | 009              | 122                         |
|                          | Air conditioner          | 009              | 123                         |
|                          | Air conditioner          | 009              | 124                         |
|                          | Air conditioner          | 009              | 125                         |
|                          | Air conditioner          | 009              | 126                         |
|                          | Air conditioner          | 009              | 127                         |
|                          | Air conditioner          | 009              | 128                         |
|                          | Air conditioner          | 009              | 129                         |
|                          | Air conditioner          | 009              | 199                         |
|                          | Air conditioner          | 009              | 19901                       |
| HI21472SV                | Induction hob            | 010              | hob-pind                    |
|                          | Hood                     | 012              | 000                         |
|                          | Oven                     | 013              | 000                         |
| Bio21                    | Oven                     | 013              | oven-bio21-iconledplus      |
| W-DW50/60-22             | Dishwasher               | 015              | 000                         |
| Gorenje GS673B60W        | Dishwasher               | 015              | dishwasher-50.2f            |
|                          | Dishwasher               | 015              | dishwasher-50.2t            |
| W-DW50/60-22             | Dishwasher               | 015              | dishwasher-60.2             |
|                          | Dishwasher               | 015              | dishwasher-60.3             |
| Hisense WD16-E722BXi     | Dishwasher               | 015              | 1ux0s1005k15                |
|                          | Heat pump                | 016              | 502                         |
|                          | Induction hob            | 020              | 63c45b513e1a4bf7            |
|                          | Oven                     | 023              | 295608422d362be1            |
| WD3S8043BW3              | Washing machine          | 025              | 1wj080837v0w                |
|                          | Washing machine          | 025              | 1wj090660v0w                |
| WF5S9045BW               | Washing machine          | 025              | 1wj090728v0w                |
| WD3S9043BB3              | Washing machine          | 025              | 1wj090913v0f                |
| WF3S1014-SVW002          | Washing machine          | 025              | 1wj100404v0w                |
| WFQR1014                 | Washing machine          | 025              | 1wj100649v0t                |
| WF3S1043BW3              | Washing machine          | 025              | 1wj100722v0w                |
| HWFS1015AB               | Washing machine          | 025              | 1wj100923v0f                |
|                          | Washing machine          | 025              | 1wj105050v0w                |
| WFQA1014                 | Washing machine          | 025              | 1wj105080v0w                |
|                          | Washing machine          | 025              | 1wj105091v0t                |
| WFSE1114-LVW002          | Washing machine          | 025              | 1wj105219v0w                |
| WF3S1114-LVW004          | Washing machine          | 025              | 1wj105246v0w                |
|                          | Washing machine          | 025              | 1wj105418v0t                |
| WD5I1045BWQ              | Washing machine          | 025              | 1wj105552v0w                |
| WF5S1245BB               | Washing machine          | 025              | 1wj120238v0b                |
| WDSE1214-EVAJMW          | Washing machine          | 025              | 1wj120261v0w                |
| WFSE1214-MVW002          | Washing machine          | 025              | 1wj120389v0b                |
|                          | Washing machine          | 025              | 1wj120407v0w                |
|                          | Washing machine          | 025              | 1wj120514v0t                |
| WF5i1214-RVW002          | Washing machine          | 025              | 1wj120560v0w                |
|                          | Refrigerator             | 026              | 1b0330z0079j                |
| HRCD483TBW               | Refrigerator             | 026              | 1b0470z0012j                |
| RQ5P470SEIE              | Refrigerator             | 026              | 1b0470z0026j                |
| RF793N4SAFE              | Refrigerator             | 026              | 1b0610z0043j                |
|                          | Refrigerator             | 026              | 1b0610z0049j                |
|                          | Refrigerator             | 026              | 1b0628z0075j                |
| RS818N4TIE1              | Refrigerator             | 026              | 1b0628z0146j                |
| Hisense BCD-668WP1BWF1R1 | Refrigerator             | 026              | 1b0668z0100j                |
| Gorenje W-WaveEn-22      | Washing machine          | 027              | 000                         |
| WPAM14A2T                | Washing machine          | 027              | washing-machine-wm22-b2plus |
| WPNA84A2TSWIFI           | Washing machine          | 027              | washing-machine-wm22        |
| DH3S80-DVW006            | Tumble dryer             | 030              | 1wk080140v0w                |
| DH3S802BW3               | Tumble dryer             | 030              | 1wk080066v0w                |
| DH5S102BW                | Tumble dryer             | 030              | 1wk100028v0w                |
| DHSE10                   | Tumble dryer             | 030              | 1wk100130v0f                |
| DH5S102BB                | Tumble dryer             | 030              | 1wk100266v0f                |
| DHSE80-BEW001            | Tumble dryer             | 030              | 1wk080027e0w                |
| DPNA83W                  | Tumble dryer             | 032              | 000                         |


================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
# ConnectLife

ConnectLife integration for Home Assistant

[![BuyMeCoffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/oyvindwev)

## Installation

You can install using HACS or download.

### HACS
If you have HACS installed, add this repository (`oyvindwe/connectlife-ha`) as a custom repository of type "Integration."

See https://hacs.xyz/docs/faq/custom_repositories/ 

### Download

Download the `connectlife` directory and place in your `<config>/custom_components/`.

After installing, you need to restart Home Assistant.

Finally, add "ConnectLife" as an integration in the UI, and provide the username and password for your ConnectLife account.

Your device and all their status values should show up.

## Supported ConnectLife devices

See [DEVICES.md](DEVICES.md) for the full list of supported devices.

### Default device types

Default mapping files are provided for the following device types:

| Device type              | Device type code                                                |
|--------------------------|-----------------------------------------------------------------|
| Portable air conditioner | [006](custom_components/connectlife/data_dictionaries/006.yaml) |
| Dehumidifier             | [007](custom_components/connectlife/data_dictionaries/007.yaml) |
| Window air conditioner   | [008](custom_components/connectlife/data_dictionaries/008.yaml) |
| Air conditioner          | [009](custom_components/connectlife/data_dictionaries/009.yaml) |
| Hood                     | [012](custom_components/connectlife/data_dictionaries/012.yaml) |
| Oven                     | [013](custom_components/connectlife/data_dictionaries/013.yaml) |
| Dishwasher               | [015](custom_components/connectlife/data_dictionaries/015.yaml) |
| Heat pump                | [016](custom_components/connectlife/data_dictionaries/016.yaml) |
| Induction hob            | [020](custom_components/connectlife/data_dictionaries/020.yaml) |
| Oven                     | [023](custom_components/connectlife/data_dictionaries/023.yaml) |
| Washing machine          | [025](custom_components/connectlife/data_dictionaries/025.yaml) |
| Refrigerator             | [026](custom_components/connectlife/data_dictionaries/026.yaml) |
| Washing machine          | [027](custom_components/connectlife/data_dictionaries/027.yaml) |
| Tumble dryer             | [030](custom_components/connectlife/data_dictionaries/030.yaml) |
| Tumble dryer             | [032](custom_components/connectlife/data_dictionaries/032.yaml) |

Any devices of these types will use the default mapping file, but it may not be fully functional until a
feature-specific mapping file is provided.

Any unmapped properties will show up as sensors with names based on their properties. As there are a lot of exposed
sensors, all unknown sensors are hidden by default. Access the device or entity list to view sensors and change
visibility.

Please contribute PRs with [mapping files](custom_components/connectlife/data_dictionaries) for your devices!

## Disable beeping

Some devices will beep on every configuration change. To disable this, go to the
[ConnectLife integration](https://my.home-assistant.io/redirect/integration/?domain=connectlife)
and click "Configure" → "Configure a device" and select the device you want to disable beeping for. 

## Service to set property values on sensors

Entity service `connectlife.set_value` can be used to set values. Use with caution, as there is **no** validation
if property is writeable or that the value is legal to set.

1. The service can be accessed from [Developer tools - Services](https://my.home-assistant.io/redirect/developer_services/).
2. Search for service name "ConnectLife: Set value"
3. Select entity as target.
4. Enter value
5. Call service.

It is possible to guard against `set_value` by setting `read_only: true` in the data dictionary on the sensor, e.g.
```yaml
  - property: f_status 
    sensor:
      read_only: true
```

## Polling delay

The integration polls the ConnectLife API every 60 seconds to avoid overloading the API and risking being banned. When a command is sent from Home Assistant, only the properties included in that command are updated immediately in the HA UI. Any side effects on other properties (e.g., turning on an AC may also change fan mode or current temperature) will not appear until the next poll. Changes made outside Home Assistant (e.g., from the ConnectLife mobile app or physical device controls) may also take up to 60 seconds to appear.

## Issues

### Climate entities

Please ignore the following warning in the log:
```
Entity None (<class 'custom_components.connectlife.climate.ConnectLifeClimate'>) implements HVACMode(s): auto, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'connectlife' custom integration
```

Missing features:
- Setting `target_temperature_high`/`target_temperature_low`

### Heat pump entities
 
Missing features:
- Setting state except to off/one defined state
- Setting `target_temperature_high`/`target_temperature_low`

### Login

Note that users at least in Russia and China can't log in using this integration. See discussion in
https://github.com/bilan/connectlife-api-connector/issues/25

You have to create a ConnectLife account with username/password. Login with SSO using 3rd party identity providers
(Google, Apple, etc.) is not supported (See https://github.com/oyvindwe/connectlife-ha/issues/99).

There are two workarounds is you have logged in using a 3rd party identity provider: 

#### Set password on current user account

1. In the ConnectLife mobile app select "Disconnect" and then "Forget password?"
2. Set new password via reset link received via email.

#### Using a second account

1. In the ConnectLife mobile app, create a new account using an email and password (needs to be a different email to your SSO account as that is now occupied by that SSO).
2. Still in the mobile app, switch accounts back to your SSO account, go to the device/s you have already setup in your SSO account, select them 1 by 1, scrolling to the bottom to get to the "Share Device" option and adding your new email to the shared accounts list.
3. In the connectlife-ha integration within Home Assistant, use the email and password from the new account you set up, which will now have the device(s) shared with it.
4. Forget your new email version of your account exists, you don't have to accept device shares or use that account for any other reason.

### Updated Terms & Conditions

ConnectLife periodically updates their Terms & Conditions. When this happens, the integration may stop working
with errors like `Account Pending Registration` or `Missing required fields for registration`, or devices may
silently become unavailable.

To resolve this, you need to accept the new Terms & Conditions in the ConnectLife mobile app:

1. Open the ConnectLife mobile app
2. Go to Settings and **change the app language to English**
3. **Force close the app** (not just background it)
4. **Reopen the app** — the Terms & Conditions acceptance screen should appear
5. **Accept the new Terms & Conditions**
6. In Home Assistant, **reload the ConnectLife integration**
7. You can change the app language back afterward — the acceptance persists

The language change is needed because updated Terms & Conditions are often only available in English initially.
The app skips the acceptance prompt if the translated version for your language doesn't exist yet, but the
backend still requires acceptance.

## Contributing

See [DEVELOPMENT.md](DEVELOPMENT.md).


================================================
FILE: custom_components/connectlife/__init__.py
================================================
"""The ConnectLife integration."""

from __future__ import annotations

import logging

from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform, CONF_USERNAME, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.typing import ConfigType
from connectlife.api import ConnectLifeApi, LifeConnectAuthError, LifeConnectError

from .const import (
    CONF_DEVELOPMENT_MODE,
    CONF_TEST_SERVER_URL,
    DATA_STATE_CLASS_MIGRATION_DONE,
    DOMAIN,
)
from .coordinator import ConnectLifeCoordinator, ConnectLifeEnergyCoordinator
from .services import async_setup_services

PLATFORMS: list[Platform] = [
    Platform.BINARY_SENSOR,
    Platform.BUTTON,
    Platform.CLIMATE,
    Platform.HUMIDIFIER,
    Platform.NUMBER,
    Platform.SENSOR,
    Platform.SELECT,
    Platform.SWITCH,
    Platform.WATER_HEATER,
]

CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

_LOGGER = logging.getLogger(__name__)


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
    """Set up ConnectLife."""

    await async_setup_services(hass)

    return True


async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Set up ConnectLife from a config entry."""
    _LOGGER.debug("Setting up ConnectLife")
    _LOGGER.debug("Options: %s", entry.options)
    hass.data.setdefault(DOMAIN, {})
    test_server_url = (
        entry.options.get(CONF_TEST_SERVER_URL)
       if entry.options.get(CONF_DEVELOPMENT_MODE)
        else None
    )
    api = ConnectLifeApi(entry.data[CONF_USERNAME], entry.data[CONF_PASSWORD], test_server_url)  # type: ignore[arg-type]
    try:
        await api.login()
    except LifeConnectAuthError as ex:
        raise ConfigEntryAuthFailed from ex
    except LifeConnectError as ex:
        raise ConfigEntryNotReady from ex
    coordinator = ConnectLifeCoordinator(hass, api)
    await coordinator.async_config_entry_first_refresh()
    energy_coordinator = ConnectLifeEnergyCoordinator(hass, api, coordinator)
    await energy_coordinator.async_config_entry_first_refresh()
    hass.data[DOMAIN][entry.entry_id] = coordinator
    hass.data[DOMAIN][f"{entry.entry_id}_energy"] = energy_coordinator

    entry.async_on_unload(entry.add_update_listener(update_listener))

    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

    await coordinator.cleanup_removed_entities()
    if not entry.data.get(DATA_STATE_CLASS_MIGRATION_DONE):
        await coordinator.update_orphaned_statistics_issue()

    return True

async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None:
    """Handle options update."""
    _LOGGER.debug(f"Reloading ConnectLife")
    await hass.config_entries.async_reload(entry.entry_id)


async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Unload a config entry."""
    _LOGGER.debug(f"Unloading ConnectLife")

    if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
        hass.data[DOMAIN].pop(entry.entry_id)
        hass.data[DOMAIN].pop(f"{entry.entry_id}_energy", None)

    return unload_ok


================================================
FILE: custom_components/connectlife/binary_sensor.py
================================================
"""Provides a binary sensor for ConnectLife."""

import logging

from homeassistant.components.binary_sensor import (
    BinarySensorEntity,
    BinarySensorEntityDescription,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import DOMAIN
from .coordinator import ConnectLifeCoordinator
from .dictionaries import Dictionaries, Property
from .entity import ConnectLifeEntity
from connectlife.appliance import ConnectLifeAppliance
from .utils import has_platform

_LOGGER = logging.getLogger(__name__)


async def async_setup_entry(
    hass: HomeAssistant,
    config_entry: ConfigEntry,
    async_add_entities: AddEntitiesCallback,
) -> None:
    """Set up ConnectLife sensors."""
    coordinator = hass.data[DOMAIN][config_entry.entry_id]
    for appliance in coordinator.data.values():
        dictionary = Dictionaries.get_dictionary(appliance)
        async_add_entities(
            ConnectLifeBinaryStatusSensor(
                coordinator, appliance, s, dictionary.properties[s]
            )
            for s in appliance.status_list
            if has_platform(Platform.BINARY_SENSOR, dictionary.properties[s])
        )


class ConnectLifeBinaryStatusSensor(ConnectLifeEntity, BinarySensorEntity):
    """Sensor class for ConnectLife arbitrary status."""

    def __init__(
        self,
        coordinator: ConnectLifeCoordinator,
        appliance: ConnectLifeAppliance,
        status: str,
        dd_entry: Property,
    ):
        """Initialize the entity."""
        super().__init__(coordinator, appliance, status, Platform.BINARY_SENSOR)
        self.status = status
        self._unavailable_status = status
        self._unavailable_value = dd_entry.unavailable
        self.options = dd_entry.binary_sensor.options
        self.entity_description = BinarySensorEntityDescription(
            key=self._attr_unique_id,
            entity_registry_visible_default=not dd_entry.hide,
            entity_registry_enabled_default=not dd_entry.optional,
            icon=dd_entry.icon,
            name=status.replace("_", " "),
            translation_key=self.to_translation_key(status),
            device_class=dd_entry.binary_sensor.device_class,
            entity_category=dd_entry.entity_category,
        )
        self._refresh_state()

    @callback
    def update_state(self):
        if self.status in self.coordinator.data[self.device_id].status_list:
            value = self.coordinator.data[self.device_id].status_list[self.status]
            if value in self.options:
                self._attr_is_on = self.options[value]
            else:
                self._attr_is_on = None
                _LOGGER.warning("Unknown value %d for %s", value, self.status)


================================================
FILE: custom_components/connectlife/button.py
================================================
"""Provides a button for ConnectLife write-only actions."""

from homeassistant.components.button import ButtonEntity, ButtonEntityDescription
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from connectlife.appliance import ConnectLifeAppliance

from .const import DOMAIN
from .coordinator import ConnectLifeCoordinator
from .dictionaries import Button, Dictionaries
from .entity import ConnectLifeEntity


async def async_setup_entry(
    hass: HomeAssistant,
    config_entry: ConfigEntry,
    async_add_entities: AddEntitiesCallback,
) -> None:
    """Set up ConnectLife buttons."""
    coordinator = hass.data[DOMAIN][config_entry.entry_id]
    for appliance in coordinator.data.values():
        dictionary = Dictionaries.get_dictionary(appliance)
        async_add_entities(
            ConnectLifeButton(coordinator, appliance, button, config_entry)
            for button in dictionary.buttons
        )


class ConnectLifeButton(ConnectLifeEntity, ButtonEntity):
    """Button class for ConnectLife write-only actions."""

    def __init__(
        self,
        coordinator: ConnectLifeCoordinator,
        appliance: ConnectLifeAppliance,
        button: Button,
        config_entry: ConfigEntry,
    ):
        """Initialize the entity."""
        super().__init__(
            coordinator, appliance, f"button-{button.key}", Platform.BUTTON, config_entry
        )
        self.button = button
        self.entity_description = ButtonEntityDescription(
            key=self._attr_unique_id,
            icon=button.icon,
            name=button.key.replace("_", " "),
            translation_key=self.to_translation_key(button.key),
        )

    @property
    def available(self) -> bool:
        if not super().available:
            return False
        status_list = self.coordinator.data[self.device_id].status_list
        for name, expected in self.button.available_when.items():
            if status_list.get(name) != expected:
                return False
        return True

    @callback
    def update_state(self):
        """Buttons have no state to track."""

    async def async_press(self) -> None:
        """Send the button's write map to the device."""
        status_list = self.coordinator.data[self.device_id].status_list
        # Only reflect read-back properties optimistically; write-only keys
        # like Actions never appear in status_list and would linger as
        # phantom values until the next poll.
        properties = {k: v for k, v in self.button.write.items() if k in status_list}
        await self.async_update_device(dict(self.button.write), properties)


================================================
FILE: custom_components/connectlife/climate.py
================================================
"""Provides climate entities for ConnectLife."""
import logging

from homeassistant.components.climate import (
    ClimateEntity,
    ClimateEntityDescription,
    ClimateEntityFeature,
    HVACAction,
    HVACMode,
    PRESET_NONE
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_TEMPERATURE, Platform, PRECISION_WHOLE, UnitOfTemperature
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import (
    DOMAIN,
    FAN_MODE,
    HVAC_MODE,
    HVAC_ACTION,
    IS_ON,
    PRESET,
    PRESETS,
    SWING_MODE,
    SWING_HORIZONTAL_MODE,
    TARGET_HUMIDITY,
    TARGET_TEMPERATURE,
    TEMPERATURE_UNIT,
)
from .coordinator import ConnectLifeCoordinator
from .dictionaries import Dictionaries, Dictionary
from .entity import ConnectLifeEntity
from .utils import to_temperature_map, normalize_temperature_unit
from connectlife.appliance import ConnectLifeAppliance

_LOGGER = logging.getLogger(__name__)


async def async_setup_entry(
        hass: HomeAssistant,
        config_entry: ConfigEntry,
        async_add_entities: AddEntitiesCallback,
) -> None:
    """Set up ConnectLife sensors."""
    coordinator = hass.data[DOMAIN][config_entry.entry_id]
    entities = []
    for appliance in coordinator.data.values():
        dictionary = Dictionaries.get_dictionary(appliance)
        if is_climate(dictionary):
            entities.append(ConnectLifeClimate(
                coordinator,
                appliance,
                dictionary,
                config_entry
            ))
    async_add_entities(entities)


def is_climate(dictionary: Dictionary):
    for prop in dictionary.properties.values():
        if hasattr(prop, Platform.CLIMATE):
            return True
    return False


class ConnectLifeClimate(ConnectLifeEntity, ClimateEntity):
    """Climate class for ConnectLife."""

    _attr_name = None
    _attr_precision = PRECISION_WHOLE
    _attr_target_temperature_step = 1
    _attr_temperature_unit = UnitOfTemperature.CELSIUS
    _attr_hvac_mode = None
    unknown_values: dict[str, int | None]
    target_map: dict[str, str]
    fan_mode_map: dict[int, str]
    fan_mode_reverse_map: dict[str, int]
    hvac_action_map: dict[int, HVACAction]
    hvac_mode_map: dict[int, HVACMode]
    hvac_mode_reverse_map: dict[HVACMode, int]
    preset_map: dict[str, dict[str, int]]
    swing_mode_map: dict[int, str]
    swing_mode_reverse_map: dict[str, int]
    temperature_unit_map: dict[int, UnitOfTemperature]
    min_temperature_map: dict[str, int]
    max_temperature_map: dict[str, int]

    def __init__(
            self,
            coordinator: ConnectLifeCoordinator,
            appliance: ConnectLifeAppliance,
            data_dictionary: Dictionary,
            config_entry: ConfigEntry
    ):
        """Initialize the entity."""
        super().__init__(coordinator, appliance, "climate", Platform.CLIMATE, config_entry)

        self.entity_description = ClimateEntityDescription(
            key=self._attr_unique_id,
            name=appliance.device_nickname,
            translation_key=DOMAIN
        )

        self.target_map = {}
        self.fan_mode_map = {}
        self.fan_mode_reverse_map = {}
        self.hvac_action_map = {}
        self.hvac_mode_map = {}
        self.hvac_mode_reverse_map = {}
        self.preset_map = {}
        self.swing_mode_map = {}
        self.swing_mode_reverse_map = {}
        self.swing_horizontal_mode_map = {}
        self.swing_horizontal_mode_reverse_map = {}
        self.temperature_unit_map = {}
        self.min_temperature_map = {}
        self.max_temperature_map = {}
        self.unknown_values = {}

        for dd_entry in data_dictionary.properties.values():
            if hasattr(dd_entry, Platform.CLIMATE) and dd_entry.name in appliance.status_list and dd_entry.climate.target is not None:
                self.target_map[dd_entry.climate.target] = dd_entry.name

        hvac_modes: list[HVACMode] = []
        for target, status in self.target_map.items():
            if target == IS_ON:
                self._attr_supported_features |= ClimateEntityFeature.TURN_OFF
                self._attr_supported_features |= ClimateEntityFeature.TURN_ON
                hvac_modes.append(HVACMode.OFF)
            elif target == TARGET_HUMIDITY:
                self._attr_supported_features |= ClimateEntityFeature.TARGET_HUMIDITY
                self._attr_target_humidity = None
                self._attr_min_humidity = data_dictionary.properties[status].climate.min_value  # type: ignore[assignment]
                self._attr_max_humidity = data_dictionary.properties[status].climate.max_value  # type: ignore[assignment]
            elif target == TARGET_TEMPERATURE:
                self._attr_supported_features |= ClimateEntityFeature.TARGET_TEMPERATURE
                self._attr_target_temperature = None
                self.min_temperature_map = to_temperature_map(data_dictionary.properties[status].climate.min_value)
                if min_temp := self.get_temperature_limit(self.min_temperature_map):
                    self._attr_min_temp = min_temp
                self.max_temperature_map = to_temperature_map(data_dictionary.properties[status].climate.max_value)
                if max_temp := self.get_temperature_limit(self.max_temperature_map):
                    self._attr_max_temp = max_temp
            elif target == TEMPERATURE_UNIT:
                for k, v in data_dictionary.properties[status].climate.options.items():
                    unit = normalize_temperature_unit(v)
                    if isinstance(unit, UnitOfTemperature):
                        self.temperature_unit_map[k] = unit
            elif target == HVAC_MODE:
                modes = [mode.value for mode in HVACMode]
                for (k, v) in data_dictionary.properties[status].climate.options.items():
                    if v in modes:
                        mode = HVACMode(v)
                        self.hvac_mode_map[k] = mode
                        hvac_modes.append(mode)
                        self.hvac_mode_reverse_map[mode] = k
            elif target == FAN_MODE:
                self.fan_mode_map = data_dictionary.properties[status].climate.options
                self.fan_mode_reverse_map = {v: k for k, v in self.fan_mode_map.items()}
                self._attr_fan_modes = list(self.fan_mode_map.values())
                self._attr_supported_features |= ClimateEntityFeature.FAN_MODE
                self._attr_fan_mode = None
            elif target == SWING_MODE:
                self.swing_mode_map = data_dictionary.properties[status].climate.options
                self.swing_mode_reverse_map = {v: k for k, v in self.swing_mode_map.items()}
                self._attr_swing_modes = list(self.swing_mode_map.values())
                self._attr_supported_features |= ClimateEntityFeature.SWING_MODE
                self._attr_swing_mode = None
            elif target == SWING_HORIZONTAL_MODE:
                self.swing_horizontal_mode_map = data_dictionary.properties[status].climate.options
                self.swing_horizontal_mode_reverse_map = {v: k for k, v in self.swing_horizontal_mode_map.items()}
                self._attr_swing_horizontal_modes = list(self.swing_horizontal_mode_map.values())
                self._attr_supported_features |= ClimateEntityFeature.SWING_HORIZONTAL_MODE
                self._attr_swing_horizontal_mode = None
            elif target == HVAC_ACTION:
                actions = [action.value for action in HVACAction]
                for (k, v) in data_dictionary.properties[status].climate.options.items():
                    if v in actions:
                        self.hvac_action_map[k] = HVACAction(v)
                    else:
                        _LOGGER.warning("Not mapping %d to unknown HVACAction %s", k, v)
            self.unknown_values[status] = data_dictionary.properties[status].climate.unknown_value

        if data_dictionary.climate and PRESETS in data_dictionary.climate:
            # TODO: Check that all presets have names and convert to map in Dictionaries.
            self.preset_map = {preset.copy().pop(PRESET): preset for preset in data_dictionary.climate[PRESETS]}
            self._attr_preset_modes = list(self.preset_map.keys())
            if PRESET_NONE not in self._attr_preset_modes:
                self._attr_preset_modes.append(PRESET_NONE)
            self._attr_preset_mode = None
            self._attr_supported_features |= ClimateEntityFeature.PRESET_MODE

        if HVAC_MODE not in self.target_map:
            # Assume auto
            hvac_modes.append(HVACMode.AUTO)
            if IS_ON not in self.target_map:
                self._attr_hvac_mode = HVACMode.AUTO
        self._attr_hvac_modes = hvac_modes

        self.update_state()

    @callback
    def update_state(self) -> None:
        is_on = True
        hvac_mode = HVACMode.AUTO
        for target, status in self.target_map.items():
            if status in self.coordinator.data[self.device_id].status_list:
                value = self.coordinator.data[self.device_id].status_list[status]
                if target == IS_ON:
                    # TODO: Support value mapping
                    if value == 0:
                        is_on = False
                elif target == HVAC_MODE:
                    if value in self.hvac_mode_map:
                        hvac_mode = self.hvac_mode_map[value]
                    else:
                        # Map to None without warning as we cannot add custom HVAC modes.
                        hvac_mode = None
                elif target == HVAC_ACTION:
                    if value in self.hvac_action_map:
                        self._attr_hvac_action = self.hvac_action_map[value]
                    else:
                        # Map to None without warning as we cannot add custom HVAC actions.
                        self._attr_hvac_action = None
                elif target == FAN_MODE:
                    if value in self.fan_mode_map:
                        self._attr_fan_mode = self.fan_mode_map[value]
                    else:
                        self._attr_fan_mode = None
                        _LOGGER.warning("Got unexpected value %d for %s (%s)", value, status, self.nickname)
                elif target == SWING_MODE:
                    if value in self.swing_mode_map:
                        self._attr_swing_mode = self.swing_mode_map[value]
                    else:
                        self._attr_swing_mode = None
                        _LOGGER.warning("Got unexpected value %d for %s (%s)", value, status, self.nickname)
                elif target == SWING_HORIZONTAL_MODE:
                    if value in self.swing_horizontal_mode_map:
                        self._attr_swing_horizontal_mode = self.swing_horizontal_mode_map[value]
                    else:
                        self._attr_swing_horizontal_mode = None
                        _LOGGER.warning("Got unexpected value %d for %s (%s)", value, status, self.nickname)
                elif target == TEMPERATURE_UNIT:
                    if value in self.temperature_unit_map:
                        self._attr_temperature_unit = self.temperature_unit_map[value]
                        if min_temp := self.get_temperature_limit(self.min_temperature_map):
                            self._attr_min_temp = min_temp
                        if max_temp := self.get_temperature_limit(self.max_temperature_map):
                            self._attr_max_temp = max_temp
                    else:
                        _LOGGER.warning("Got unexpected value %d for %s (%s)", value, status, self.nickname)
                else:
                    if value == self.unknown_values[status]:
                        value = None
                    setattr(self, f"_attr_{target}", value)

        if self._attr_supported_features & ClimateEntityFeature.PRESET_MODE:
            # If current preset matches, don't change
            status_list = self.coordinator.data[self.device_id].status_list
            if (
                    self._attr_preset_mode not in self.preset_map
                    or not self.preset_map[self._attr_preset_mode].items() <= status_list.items()
            ):
                preset_mode = PRESET_NONE
                for preset, preset_map in self.preset_map.items():
                    if preset_map.items() <= status_list.items():
                        preset_mode = preset
                        break
                self._attr_preset_mode = preset_mode

        self._attr_hvac_mode = hvac_mode if is_on else HVACMode.OFF

    def get_temperature_limit(self, temperature_map: dict[str, int]) -> int | None:
        if temperature_map and self._attr_temperature_unit in temperature_map:
            return temperature_map[self._attr_temperature_unit]
        else:
            return None

    async def async_set_humidity(self, humidity):
        """Set new target humidity."""
        await self.async_update_device({self.target_map[TARGET_HUMIDITY]: round(humidity)})

    async def async_set_temperature(self, **kwargs) -> None:
        """Set new target temperature."""
        if ATTR_TEMPERATURE in kwargs:
            await self.async_update_device({
                self.target_map[TARGET_TEMPERATURE]: round(kwargs[ATTR_TEMPERATURE])
            })

    async def async_turn_on(self):
        """Turn the entity on."""
        # TODO: Support value mapping
        await self.async_update_device(self.add_target_temperature({self.target_map[IS_ON]: 1}))

    async def async_turn_off(self):
        """Turn the entity off."""
        # TODO: Support value mapping
        await self.async_update_device({self.target_map[IS_ON]: 0})

    async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
        """Set the HVAC mode."""
        if hvac_mode == HVACMode.OFF:
            await self.async_turn_off()
        else:
            request = {}
            if self._attr_supported_features & ClimateEntityFeature.TURN_ON:
                # TODO: Support value mapping
                request[self.target_map[IS_ON]] = 1
            if HVAC_MODE in self.target_map:
                request[self.target_map[HVAC_MODE]] = self.hvac_mode_reverse_map[hvac_mode]
            await self.async_update_device(self.add_target_temperature(request))

    async def async_set_fan_mode(self, fan_mode: str) -> None:
        """Set the fan mode."""
        await self.async_update_device({
            self.target_map[FAN_MODE]: self.fan_mode_reverse_map[fan_mode]
        })

    async def async_set_preset_mode(self, preset_mode: str) -> None:
        """Set the preset mode."""
        self._attr_preset_mode = preset_mode # Set to avoid changing to an overlapping preset
        if preset_mode in self.preset_map:
            await self.async_update_device(self.preset_map[preset_mode])

    async def async_set_swing_mode(self, swing_mode: str) -> None:
        """Set the swing mode."""
        await self.async_update_device({
            self.target_map[SWING_MODE]: self.swing_mode_reverse_map[swing_mode]
        })

    async def async_set_swing_horizontal_mode(self, swing_horizontal_mode: str) -> None:
        """Set the swing horizontal mode."""
        await self.async_update_device({
            self.target_map[SWING_HORIZONTAL_MODE]: self.swing_horizontal_mode_reverse_map[swing_horizontal_mode]
        })

    def add_target_temperature(self, request: dict[str, int]) -> dict[str, int]:
        if TARGET_TEMPERATURE in self.target_map and self._attr_target_temperature is not None:
            request[self.target_map[TARGET_TEMPERATURE]] = round(self._attr_target_temperature)
        return request


================================================
FILE: custom_components/connectlife/config_flow.py
================================================
"""Config flow for ConnectLife integration."""

from __future__ import annotations

import logging
from collections.abc import Mapping
from typing import Any

import voluptuous as vol

from homeassistant.config_entries import (
    ConfigEntry,
    ConfigFlow,
    ConfigFlowResult,
    OptionsFlow,
)
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.core import callback
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers import issue_registry as ir

from .const import CONF_DEVICES, CONF_DEVELOPMENT_MODE, CONF_DISABLE_BEEP, CONF_TEST_SERVER_URL, DOMAIN
from connectlife.api import ConnectLifeApi

_LOGGER = logging.getLogger(__name__)

STEP_USER_DATA_SCHEMA = vol.Schema(
    {
        vol.Required(CONF_USERNAME): str,
        vol.Required(CONF_PASSWORD): str,
    }
)


async def validate_input(data: dict[str, Any]) -> dict[str, Any]:
    """Validate the user input allows us to connect."""

    test_server_url = data[CONF_TEST_SERVER_URL] if CONF_TEST_SERVER_URL in data else None
    api = ConnectLifeApi(data[CONF_USERNAME], data[CONF_PASSWORD], test_server_url)  # type: ignore[arg-type]

    if not await api.authenticate():
        raise InvalidAuth

    # If you cannot connect:
    # throw CannotConnect
    # If the authentication is wrong:
    # InvalidAuth

    # Return info that you want to store in the config entry.
    return {"title": f"ConnectLife ({data[CONF_USERNAME]})"}


class ConnectLifeConfigFlow(ConfigFlow, domain=DOMAIN):
    """Handle a config flow for ConnectLife."""

    VERSION = 1

    async def async_step_user(
        self, user_input: dict[str, Any] | None = None
    ) -> ConfigFlowResult:
        """Handle the initial step."""
        errors: dict[str, str] = {}
        if user_input is not None:
            try:
                info = await validate_input(user_input)
            except CannotConnect:
                errors["base"] = "cannot_connect"
            except InvalidAuth:
                errors["base"] = "invalid_auth"
            except Exception:  # pylint: disable=broad-except
                _LOGGER.exception("Unexpected exception")
                errors["base"] = "unknown"
            else:
                return self.async_create_entry(title=info["title"], data=user_input)

        return self.async_show_form(
            step_id="user", data_schema=STEP_USER_DATA_SCHEMA, errors=errors
        )

    async def async_step_reauth(
        self, entry_data: Mapping[str, Any]
    ) -> ConfigFlowResult:
        """Handle re-authentication when credentials become invalid."""
        return await self.async_step_reauth_confirm()

    async def async_step_reauth_confirm(
        self, user_input: dict[str, Any] | None = None
    ) -> ConfigFlowResult:
        """Handle re-authentication confirmation."""
        errors: dict[str, str] = {}
        if user_input is not None:
            reauth_entry = self._get_reauth_entry()
            data = {**reauth_entry.data, **user_input}
            try:
                await validate_input(data)
            except CannotConnect:
                errors["base"] = "cannot_connect"
            except InvalidAuth:
                errors["base"] = "invalid_auth"
            except Exception:  # pylint: disable=broad-except
                _LOGGER.exception("Unexpected exception")
                errors["base"] = "unknown"
            else:
                return self.async_update_reload_and_abort(reauth_entry, data=data)

        return self.async_show_form(
            step_id="reauth_confirm",
            data_schema=STEP_USER_DATA_SCHEMA,
            errors=errors,
        )

    @staticmethod
    @callback
    def async_get_options_flow(
            config_entry: ConfigEntry,
    ) -> OptionsFlow:
        """Get the options flow for this handler."""
        return OptionsFlowHandler()


class CannotConnect(HomeAssistantError):
    """Error to indicate we cannot connect."""


class InvalidAuth(HomeAssistantError):
    """Error to indicate there is invalid auth."""


class OptionsFlowHandler(OptionsFlow):
    """Handles options flow for the component."""

    _device_id: str | None = None

    async def async_step_init(self, user_input=None) -> ConfigFlowResult:
        return self.async_show_menu(
            step_id="init",
            menu_options=["select_device", "development"],
        )

    async def async_step_select_device(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult:
        # Select device to configure
        if user_input is not None:
            self._device_id = user_input["device"]
            return await self.async_step_configure_device()

        coordinator = self.hass.data[DOMAIN][self.config_entry.entry_id]
        devices = {
            device.device_id: device.device_nickname
            for device in sorted(coordinator.data.values(), key=lambda d: d.device_nickname)
        }

        schema = vol.Schema(
            {
                vol.Optional("device"): vol.In(devices),
            }
        )
        return self.async_show_form(step_id="select_device", data_schema=schema)

    async def async_step_configure_device(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult:

        # Configure the device
        if user_input is not None:
            data = self.config_entry.options.copy()
            data[CONF_DEVICES] = data[CONF_DEVICES].copy() if CONF_DEVICES in data else {}
            data[CONF_DEVICES][self._device_id] = {CONF_DISABLE_BEEP: user_input[CONF_DISABLE_BEEP]}
            if not user_input[CONF_DISABLE_BEEP]:
                ir.async_delete_issue(self.hass, DOMAIN, f"unsupported_beep.{self._device_id}")
            return self.async_create_entry(title="", data=data)

        devices = self.config_entry.options.get(CONF_DEVICES, {})
        device = devices[self._device_id] if self._device_id in devices else {}
        disable_beep = device[CONF_DISABLE_BEEP] if CONF_DISABLE_BEEP in device else False
        schema = vol.Schema(
            {
                vol.Optional(CONF_DISABLE_BEEP, default=disable_beep): bool,
            }
        )
        return self.async_show_form(step_id="configure_device", data_schema=schema)

    async def async_step_development(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult:
        """Manage the options."""

        if user_input is not None:
            errors: dict[str, str] = {}
            development_mode = user_input.get(CONF_DEVELOPMENT_MODE)
            test_server_url = user_input.get(CONF_TEST_SERVER_URL)
            if test_server_url:
                try:
                    vol.Schema(vol.Url())(test_server_url)  # type: ignore[call-arg]
                except vol.Invalid:
                    errors["base"] = "test_server_invalid"
            if development_mode and not test_server_url:
                errors["base"] = "test_server_required"
            if errors:
                schema = vol.Schema(
                    {
                        vol.Optional(CONF_DEVELOPMENT_MODE, default=development_mode): bool,
                        vol.Optional(CONF_TEST_SERVER_URL, description={"suggested_value": test_server_url}): str,
                    }
                )
                return self.async_show_form(step_id="development", data_schema=schema, errors=errors)

            data = self.config_entry.options.copy()
            data[CONF_DEVELOPMENT_MODE] = development_mode
            data[CONF_TEST_SERVER_URL] = test_server_url
            return self.async_create_entry(title="", data=data)

        development_mode = self.config_entry.options.get(CONF_DEVELOPMENT_MODE, False)
        test_server_url = self.config_entry.options.get(CONF_TEST_SERVER_URL, "http://localhost:8080")
        schema = vol.Schema(
            {
                vol.Optional(CONF_DEVELOPMENT_MODE, default=development_mode): bool,
                vol.Optional(CONF_TEST_SERVER_URL, description={"suggested_value": test_server_url}): str,
            }
        )
        return self.async_show_form(step_id="development", data_schema=schema)


================================================
FILE: custom_components/connectlife/const.py
================================================
"""Constants for the ConnectLife integration."""

DOMAIN = "connectlife"

ATTR_DEVICE = "device"
ATTR_DESC = "desc"
ATTR_KEY = "key"

CONF_DEVICES = "devices"
CONF_DEVELOPMENT_MODE = "development_mode"
CONF_DISABLE_BEEP = "disable_beep"
CONF_TEST_SERVER_URL = "test_server_url"

# Set by the orphaned-statistics repair flow once the user clicks Clear or
# Ignore. While unset, every setup runs orphan detection so the repair
# survives missed restarts; once set, detection is skipped permanently for
# this entry.
DATA_STATE_CLASS_MIGRATION_DONE = "state_class_migration_done"

ACTION = "action"
CURRENT_OPERATION = "current_operation"
HVAC_ACTION = "hvac_action"
HVAC_MODE = "hvac_mode"
FAN_MODE = "fan_mode"
IS_ON = "is_on"
IS_AWAY_MODE_ON = "is_away_mode_on"
MODE = "mode"
PRESET = "preset"
PRESETS = "presets"
STATE = "state"
SWING_MODE = "swing_mode"
SWING_HORIZONTAL_MODE = "swing_horizontal_mode"
TARGET_HUMIDITY = "target_humidity"
TARGET_TEMPERATURE = "target_temperature"
TEMPERATURE_UNIT = "temperature_unit"

SW_VERSION_PROPERTY = "oem_host_version"


================================================
FILE: custom_components/connectlife/coordinator.py
================================================
import async_timeout
import logging
from collections.abc import Mapping
from datetime import timedelta

from connectlife.api import LifeConnectAuthError, LifeConnectError, ConnectLifeApi
from connectlife.appliance import ConnectLifeAppliance
from homeassistant.components.recorder import get_instance
from homeassistant.components.recorder.statistics import list_statistic_ids
from homeassistant.const import Platform
from homeassistant.exceptions import ConfigEntryAuthFailed
from homeassistant.helpers import device_registry as dr, entity_registry as er, issue_registry as ir
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed

from .const import DATA_STATE_CLASS_MIGRATION_DONE, DOMAIN
from .dictionaries import Dictionaries
from .messages import format_retry_message

MAX_RETRIES = 3
ENERGY_UPDATE_INTERVAL = timedelta(minutes=10)

_LOGGER = logging.getLogger(__name__)


class ConnectLifeCoordinator(DataUpdateCoordinator[dict[str, ConnectLifeAppliance]]):
    """ConnectLife coordinator."""

    # We need initial data, so no retries for first request.
    error_count = MAX_RETRIES
    # Register of current entities (used for cleanup).
    entities: dict[str, Platform] = {}

    def __init__(self, hass, api: ConnectLifeApi):
        """Initialize coordinator."""
        self.api = api
        super().__init__(
            hass,
            _LOGGER,
            name=DOMAIN,
            update_interval=timedelta(seconds=60),
        )

    async def _async_update_data(self):
        """Fetch data from API endpoint."""
        try:
            # Note: aiohttp.ClientError is already handled by the data update
            # coordinator. TimeoutError is retried here so the UI gets the
            # same user-facing retry message as other ConnectLife API errors.
            async with async_timeout.timeout(30):
                await self.api.get_appliances()
                self.error_count = 0
        except LifeConnectAuthError as err:
            # Raising ConfigEntryAuthFailed will cancel future updates
            # and start a config flow with SOURCE_REAUTH (async_step_reauth)
            raise ConfigEntryAuthFailed from err
        except TimeoutError as err:
            self.error_count += 1
            i = MAX_RETRIES - self.error_count
            if i > 0:
                _LOGGER.debug(
                    "ConnectLife API request timed out, will try %d more %s",
                    i,
                    "time" if i == 1 else "times",
                )
            else:
                raise UpdateFailed(format_retry_message(err)) from err
        except LifeConnectError as err:
            self.error_count += 1
            i = MAX_RETRIES - self.error_count
            if i > 0:
                _LOGGER.debug(
                    "ConnectLife API failed with '%s', will try %d more %s",
                    err,
                    i,
                    "time" if i == 1 else "times",
                )
            else:
                raise UpdateFailed(format_retry_message(err)) from err
        return {a.device_id: a for a in self.api.appliances}

    async def async_update_device(self, device_id: str, command: Mapping[str, int | str], properties: Mapping[str, int | str]):
        """Updates the device, and sets the properties in local copy and notify to avoid refetching."""
        await self.api.update_appliance(self.data[device_id].puid, {k: str(v) for k, v in command.items()})
        self.data[device_id].status_list.update(properties)
        self.async_update_listeners()

    def add_entity(self, entity_unique_id: str, platform: Platform):
        """Add known entity."""
        self.entities[entity_unique_id] = platform;

    async def cleanup_removed_entities(self) -> None:
        """
        Cleanup entity registry for entities converted to a different entity
        type or set to disabled in the mapping file, and create issues for
        unavailable devices.
        """

        device_reg = dr.async_get(self.hass)
        entity_reg = er.async_get(self.hass)

        for entity in er.async_entries_for_config_entry(
                entity_reg, self.config_entry.entry_id
        ):
            if entity.unique_id not in self.entities or entity.domain != self.entities[entity.unique_id]:
                if entity.device_id is None:
                    continue
                device = device_reg.async_get(entity.device_id)
                if device is None:
                    continue
                for (domain, device_id) in device.identifiers:
                    if domain == DOMAIN and device_id in self.data:
                        _LOGGER.info(
                            "Entity %s (%s) is no longer mapped, removing",
                            entity.unique_id,
                            entity.domain
                        )
                        entity_reg.async_remove(entity.entity_id)

        for device in dr.async_entries_for_config_entry(device_reg, self.config_entry.entry_id):
            for (domain, device_id) in device.identifiers:
                if domain == DOMAIN:
                    if device_id not in self.data:
                        _LOGGER.warning("Unavailable device: %s", device.name)
                        ir.async_create_issue(
                            self.hass,
                            DOMAIN,
                            f"unavailable_device.{device_id}",
                            data={
                                "device_id": device.id,
                                "device_name": device.name,
                            },
                            is_fixable=True,
                            severity=ir.IssueSeverity.WARNING,
                            translation_key="unavailable_device",
                            translation_placeholders={
                                "device_name": device.name or "",
                            },
                        )
                    else:
                        # Self repair
                        ir.async_delete_issue(self.hass, DOMAIN, f"unavailable_device.{device_id}")

    async def find_orphaned_statistics(self) -> list[str]:
        """Return entity_ids of our sensors with stored LTS but no current ``state_class``.

        Sensors lose ``state_class`` when a property is remapped or when the
        old auto-default to ``measurement`` no longer applies. The recorder
        keeps the historical data and emits one repair per entity. Collect
        them so we can offer a single bulk-clear action.
        """
        entity_reg = er.async_get(self.hass)
        candidates: list[str] = []
        for appliance in self.data.values():
            dictionary = Dictionaries.get_dictionary(appliance)
            for name, prop in dictionary.properties.items():
                if not hasattr(prop, Platform.SENSOR):
                    continue
                if prop.sensor.state_class is not None:
                    continue
                unique_id = f"{appliance.device_id}-{name}"
                entity_id = entity_reg.async_get_entity_id(
                    Platform.SENSOR, DOMAIN, unique_id
                )
                if entity_id:
                    candidates.append(entity_id)

        if not candidates:
            return []

        recorder = get_instance(self.hass)
        metas = await recorder.async_add_executor_job(
            list_statistic_ids, self.hass, set(candidates)
        )
        return sorted(m["statistic_id"] for m in metas)

    async def update_orphaned_statistics_issue(self) -> None:
        """Create or clear the bulk repair issue for orphaned statistics.

        When no orphans are found the migration is effectively complete for
        this entry — fresh installs and lucky upgraders never had any to
        clean up. Mark the flag so we don't re-run detection on every
        future setup.
        """
        issue_id = f"orphaned_statistics.{self.config_entry.entry_id}"
        orphans = await self.find_orphaned_statistics()
        if not orphans:
            ir.async_delete_issue(self.hass, DOMAIN, issue_id)
            self.hass.config_entries.async_update_entry(
                self.config_entry,
                data={
                    **self.config_entry.data,
                    DATA_STATE_CLASS_MIGRATION_DONE: True,
                },
            )
            return
        ir.async_create_issue(
            self.hass,
            DOMAIN,
            issue_id,
            data={"entry_id": self.config_entry.entry_id},
            is_fixable=True,
            severity=ir.IssueSeverity.CRITICAL,
            translation_key="orphaned_statistics",
            translation_placeholders={"count": str(len(orphans))},
        )


class ConnectLifeEnergyCoordinator(DataUpdateCoordinator[dict[str, float | None]]):
    """ConnectLife energy coordinator. Polls daily energy usage every 10 minutes."""

    def __init__(self, hass, api: ConnectLifeApi, appliance_coordinator: ConnectLifeCoordinator):
        """Initialize energy coordinator."""
        self.api = api
        self.appliance_coordinator = appliance_coordinator
        super().__init__(
            hass,
            _LOGGER,
            name=f"{DOMAIN}_energy",
            update_interval=ENERGY_UPDATE_INTERVAL,
        )

    async def _async_update_data(self) -> dict[str, float | None]:
        """Fetch daily energy for all appliances."""
        result: dict[str, float | None] = {}
        for device_id, appliance in self.appliance_coordinator.data.items():
            try:
                result[device_id] = await self.api.get_daily_energy_kwh(
                    appliance.puid,
                    appliance.device_type_code,
                    appliance.device_feature_code,
                )
            except Exception:
                _LOGGER.debug(
                    "Failed to fetch daily energy for %s",
                    appliance.device_nickname,
                    exc_info=True,
                )
                result[device_id] = None
        return result


================================================
FILE: custom_components/connectlife/data_dictionaries/003-000.yaml
================================================
# ASKO Pro Washing Machine
# Uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/003.yaml
================================================
# Washing machine
properties:
  - property: ACTION
    disable: true
  - property: AddClothes
    icon: mdi:plus-box
    switch:
  - property: AlarmCleanFilterWarning
    icon: mdi:filter-variant-remove
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmFillAdContainer1Warning
    icon: mdi:cup-water
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmFillAdContainer2Warning
    icon: mdi:cup-water
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmFoamDetection
    icon: mdi:bubble
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmOptionNotAvailable
    icon: mdi:alert-circle
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmPowerFailAlert
    icon: mdi:power-plug-off
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmSteriltubRunWarning
    icon: mdi:water-alert
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmWashFinished
    icon: mdi:bell-check
    binary_sensor:
      options:
        0: false
        1: true
  - property: AllergyModeEnable
    icon: mdi:allergy
    switch:
  - property: BlockDetailedProgramView
    optional: true
    entity_category: diagnostic
  - property: BookAvailableTime
    optional: true
    entity_category: diagnostic
  - property: BookReservedTime
    optional: true
    entity_category: diagnostic
  - property: BookTimeToEndReservation
    optional: true
    entity_category: diagnostic
  - property: Booking
    optional: true
    entity_category: diagnostic
  - property: Brightness
    icon: mdi:brightness-6
    entity_category: config
    select:
      options:
        0: level_1
        1: level_2
        2: level_3
        3: level_4
        4: level_5
  - property: ChildLockActive
    icon: mdi:lock
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: ChildLockEnabled
    icon: mdi:lock
    entity_category: config
    switch:
  - property: ColdWash
    icon: mdi:snowflake
    switch:
  - property: CurrentProgramPhase
    icon: mdi:state-machine
    sensor:
      read_only: true
      device_class: enum
      options:
        0: delay
        1: prewash
        2: mainwash
        3: rinse
        4: spin
        5: anticrease
        6: drain_water
        7: stop_program
        8: cooling
        9: coolend
        10: add_cloth_drain
        11: add_cloth_drain_finish
        12: program_end
  - property: CurrentWaterTemperature
    icon: mdi:thermometer
    sensor:
      read_only: true
      device_class: temperature
      unit: °C
      state_class: measurement
  - property: DelayStartCountdownTimer
    icon: mdi:timer-sand
    optional: true
    sensor:
      read_only: true
      device_class: duration
      unit: min
  - property: DemoMode
    optional: true
    entity_category: diagnostic
  - property: DeviceStatus
    icon: mdi:washing-machine
    sensor:
      read_only: true
      device_class: enum
      options:
        0: standby
        1: program_select
        2: running
        3: pause
        4: permanent_error
        5: temporary_error
        6: service
        7: production
        8: program_finished
  - property: DoorStatus
    icon: mdi:door
    binary_sensor:
      device_class: door
      options:
        0: false
        1: true
  - property: Drain
    icon: mdi:water-pump
    optional: true
    entity_category: config
    select:
      options:
        0: pump
        1: valve
  - property: DrumVleanProgramWarning
    icon: mdi:brush-variant
    entity_category: config
    switch:
  - property: Error0
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error1
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error2
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error3
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error4
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error5
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error6
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error7
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error7_1
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error8
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error9
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error10
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error11
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_1
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_2
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_3
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_4
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_5
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_6
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_7
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_8
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_9
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_10
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12_12
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error13
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error13_1
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error13_2
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error13_3
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error15
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error22
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error23
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error24
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error25
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error26
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error27
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error28
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error29
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error30
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error31
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error32
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error33
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error34
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error35
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error36
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error37
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error38
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error39
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error40
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error41
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error42
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error43
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error44
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error45
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error46
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error47
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: ExtraRinse
    icon: mdi:water-sync
    switch:
  - property: FailureReadOut1
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut1LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut1NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10LastCycle
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10NumberOfRepetiotion
    icon: mdi:washing-machine-alert
    optional: true
    entity_category: diagnostic
  - property: HardPairingStatus
    optional: true
    entity_category: diagnostic
  - property: HeatingSteps
    icon: mdi:radiator
    entity_category: config
    switch:
  - property: IDCode
    optional: true
    entity_category: diagnostic
  - property: Identified
    optional: true
    entity_category: diagnostic
  - property: Language
    optional: true
    entity_category: diagnostic
  - property: Load
    icon: mdi:weight
    select:
      options:
        0: 25_percent
        1: 50_percent
        2: 100_percent
  - property: Logo
    optional: true
    entity_category: diagnostic
  - property: MaxTimeEvent
    optional: true
    entity_category: diagnostic
  - property: MotorSpeed100RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed400RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed500RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed600RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed800RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed900RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1000RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1100RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1200RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1300RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1400RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1500RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeed1600RPMAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeedNoDrainAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: MotorSpeedNoSpinAvailable
    icon: mdi:reload
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: PPUOnlineCoinSystem
    optional: true
    entity_category: diagnostic
  - property: PPURECIPSS
    optional: true
    entity_category: diagnostic
  - property: PPUWashEnabled
    optional: true
    entity_category: diagnostic
  - property: PPUWashTable1Finished
    disable: true
  - property: PPUWashTable1PID
    disable: true
  - property: PPUWashTable1Time
    disable: true
  - property: PPUWashTable2Finished
    disable: true
  - property: PPUWashTable2PID
    disable: true
  - property: PPUWashTable2Time
    disable: true
  - property: PPUWashTable3Finished
    disable: true
  - property: PPUWashTable3PID
    disable: true
  - property: PPUWashTable3Time
    disable: true
  - property: PPUWashTable4Finished
    disable: true
  - property: PPUWashTable4PID
    disable: true
  - property: PPUWashTable4Time
    disable: true
  - property: PPUWashTable5Finished
    disable: true
  - property: PPUWashTable5PID
    disable: true
  - property: PPUWashTable5Time
    disable: true
  - property: PaidByCoinBox
    optional: true
    entity_category: diagnostic
  - property: ParseLibVersion
    disable: true
  - property: PaymentEnabledTimer
    optional: true
    entity_category: diagnostic
  - property: PaymentSystem
    optional: true
    entity_category: diagnostic
  - property: ProgramOptionTimeStartDelayHour
    icon: mdi:timer
    number:
      min_value: 0
      max_value: 24
      device_class: duration
      unit: h
  - property: ProgramRemainingTime
    icon: mdi:clock-end
    sensor:
      read_only: true
      device_class: duration
      unit: min
  - property: RemoteControlMode
    optional: true
    entity_category: diagnostic
  - property: RemoteSetControlEnabled
    optional: true
    entity_category: diagnostic
  - property: RemoteStartDuration
    optional: true
    entity_category: diagnostic
    sensor:
      device_class: duration
      unit: min
  - property: RemoteStartEnabled
    optional: true
    entity_category: diagnostic
  - property: SelectedBasicID
    optional: true
    entity_category: diagnostic
  - property: SelectedDerivedID
    optional: true
    entity_category: diagnostic
  - property: SelectedProgram
    icon: mdi:tshirt-crew
    sensor:
      read_only: true
  - property: Sensor3D
    optional: true
    entity_category: diagnostic
  - property: SessionPairingActive
    optional: true
    entity_category: diagnostic
  - property: SessionPairingRequest
    optional: true
    entity_category: diagnostic
  - property: SessionPairingSetting
    optional: true
    entity_category: diagnostic
  - property: SetMaxMotorSpeed
    icon: mdi:reload
    select:
      options:
        0: reserved_0
        1: no_drain
        2: no_spin
        3: 100_rpm
        4: 400_rpm
        5: 500_rpm
        6: 600_rpm
        7: reserved_7
        8: 800_rpm
        9: 900_rpm
        10: 1000_rpm
        11: 1100_rpm
        12: 1200_rpm
        13: 1300_rpm
        14: 1400_rpm
        15: 1500_rpm
        16: 1600_rpm
        17: not_available
  - property: ShowMeasuredTemperature
    icon: mdi:thermometer-check
    entity_category: config
    switch:
  - property: SoftPairingSetting
    optional: true
    entity_category: diagnostic
  - property: Sound
    icon: mdi:volume-high
    entity_category: config
    switch:
  - property: SpinTime
    icon: mdi:timer-sync
    sensor:
      read_only: true
      device_class: duration
      unit: min
  - property: StandbyChoice
    optional: true
    entity_category: diagnostic
  - property: StartDelayFunction
    icon: mdi:timer-play
    entity_category: config
    switch:
  - property: TemperatureUnit
    icon: mdi:thermometer
    entity_category: diagnostic
    sensor:
      read_only: true
      device_class: enum
      options:
        0: celsius
        1: fahrenheit
  - property: TemporaryLanguageSelected
    optional: true
    entity_category: diagnostic
  - property: TemporaryLanguageSettingEnabled
    optional: true
    entity_category: diagnostic
  - property: TimeIconSetting
    icon: mdi:clock-digital
    entity_category: config
    select:
      options:
        0: time
        1: icon
  - property: TotalProgramCycles
    icon: mdi:counter
    sensor:
      read_only: true
      state_class: total_increasing
  - property: Volume
    icon: mdi:volume-high
    entity_category: config
    select:
      options:
        0: level_1
        1: level_2
        2: level_3
        3: level_4
        4: level_5
  - property: reserved1
    disable: true
  - property: reserved2
    disable: true
  - property: reserved3
    disable: true
  - property: reserved4
    disable: true
  - property: reserved125
    disable: true


================================================
FILE: custom_components/connectlife/data_dictionaries/004-000.yaml
================================================
# ASKO Pro Dryer
# Uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/004.yaml
================================================
# Tumble dryer
properties:
  - property: ACTION
    disable: true
  - property: AlarmCleanCondense
    icon: mdi:filter-variant-remove
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmCleanCondenserFilter
    icon: mdi:filter-variant-remove
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmCleanDoorFilter
    icon: mdi:filter-variant-remove
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmCloseTheDoorWarning
    icon: mdi:door-open
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmFullTank
    icon: mdi:water-alert
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmPowerFail
    icon: mdi:power-plug-off
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: AlarmProgramFinished
    icon: mdi:bell-check
    binary_sensor:
      options:
        0: false
        1: true
  - property: AlramEmptyWaterTank
    icon: mdi:water-alert
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: BlockDetailedProgramView
    optional: true
    entity_category: diagnostic
  - property: BookAvailableTime
    optional: true
    entity_category: diagnostic
  - property: BookReservedTime
    optional: true
    entity_category: diagnostic
  - property: BookTimeToEndReservation
    optional: true
    entity_category: diagnostic
  - property: Booking
    optional: true
    entity_category: diagnostic
  - property: ChildLockActive
    icon: mdi:lock
    optional: true
    entity_category: diagnostic
    binary_sensor:
      options:
        0: false
        1: true
  - property: ChildLockEnabled
    icon: mdi:lock
    entity_category: config
    switch:
      "off": 0
      "on": 1
  - property: CleanCondenseFilter
    icon: mdi:filter-variant
    optional: true
    entity_category: diagnostic
    sensor:
  - property: CleanDoorFilter
    icon: mdi:filter-variant
    optional: true
    entity_category: diagnostic
    sensor:
  - property: CondenseWaterMode
    icon: mdi:water-pump
    entity_category: config
    select:
      options:
        0: tank
        1: drain
      command:
        name: CondenseWaterModeSet
  - property: CondenseWaterModeSet
    disable: true
  - property: DemoMode
    optional: true
    entity_category: diagnostic
  - property: DeviceStatus
    icon: mdi:tumble-dryer
    sensor:
      read_only: true
      device_class: enum
      options:
        0: program_select
        1: running
        2: pause
        3: service
        4: production
        5: error
        6: standby
        7: program_finished
  - property: DisplayBrightness
    icon: mdi:brightness-6
    entity_category: config
    select:
      options:
        0: level_1
        1: level_2
        2: level_3
        3: level_4
        4: level_5
  - property: DisplayLogo
    optional: true
    entity_category: diagnostic
  - property: DoorStatus
    icon: mdi:door
    binary_sensor:
      device_class: door
      options:
        0: false
        1: true
  - property: EmptyWaterTank
    icon: mdi:water
    optional: true
    entity_category: diagnostic
    sensor:
  - property: Error0
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error1
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error2
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error3
    # Pump float failure
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error4
    # Dirty filter, no airflow
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error5
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error6
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error7
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error8
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error9
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error10
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error11
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error12
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error13
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error14
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: Error15
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
  - property: FailureReadOut1
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut1LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut1NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut2NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut3NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut4NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut5NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut6NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut7NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut8NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut9NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10LastCycle
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut10NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut11
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut11NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut12
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: FailureReadOut12NumberOfRepetiotion
    icon: mdi:tumble-dryer-alert
    optional: true
    entity_category: diagnostic
  - property: HardPairingStatus
    optional: true
    entity_category: diagnostic
  - property: Heater2Enable
    icon: mdi:radiator
    entity_category: config
    switch:
  - property: HumiditySensor
    icon: mdi:water-percent
    optional: true
    entity_category: diagnostic
    sensor:
      device_class: humidity
      unit: "%"
      state_class: measurement
  - property: IDMachine
    optional: true
    entity_category: diagnostic
  - property: Identified
    optional: true
    entity_category: diagnostic
  - property: Language
    optional: true
    entity_category: diagnostic
  - property: PPUOnlineCoinSystem
    optional: true
    entity_category: diagnostic
  - property: PPURECIPSS
    optional: true
    entity_category: diagnostic
  - property: PPUWashEnabled
    optional: true
    entity_category: diagnostic
  - property: PaidByCoinBoxOrEADBS
    optional: true
    entity_category: diagnostic
  - property: ParseLibVersion
    disable: true
  - property: PaymentEnabledTimer
    optional: true
    entity_category: diagnostic
  - property: PaymentSystem
    optional: true
    entity_category: diagnostic
  - property: ProgramOptionAnticrease
    icon: mdi:iron
    switch:
  - property: ProgramTimesStartDelayHours
    icon: mdi:timer
    number:
      min_value: 0
      max_value: 24
      device_class: duration
      unit: h
  - property: RemoteControlMode
    optional: true
    entity_category: diagnostic
  - property: RemoteStartDuration
    optional: true
    entity_category: diagnostic
    sensor:
      device_class: duration
      unit: min
  - property: RemoteStartEnabled
    optional: true
    entity_category: diagnostic
  - property: SelectedBasicID
    optional: true
    entity_category: diagnostic
  - property: SelectedDerivedID
    optional: true
    entity_category: diagnostic
  - property: SelectedProgram
    icon: mdi:tumble-dryer
    sensor:
      read_only: true
  - property: SessionPairingActive
    optional: true
    entity_category: diagnostic
  - property: SessionPairingConfirmation
    optional: true
    entity_category: diagnostic
  - property: SessionPairingRequest
    optional: true
    entity_category: diagnostic
  - property: SessionPairingSetting
    optional: true
    entity_category: diagnostic
  - property: SoftPairingSetting
    optional: true
    entity_category: diagnostic
  - property: StandbyChoice
    optional: true
    entity_category: diagnostic
  - property: StartDelayFunction
    icon: mdi:timer-play
    entity_category: config
    switch:
  - property: TemperatureSensor1
    icon: mdi:thermometer
    optional: true
    entity_category: diagnostic
    sensor:
      device_class: temperature
      unit: °C
      state_class: measurement
  - property: TemperatureSensor2
    icon: mdi:thermometer
    optional: true
    entity_category: diagnostic
    sensor:
      device_class: temperature
      unit: °C
      state_class: measurement
  - property: TemporaryLanguageSelected
    optional: true
    entity_category: diagnostic
  - property: TemporaryLanguageSettingEnabled
    optional: true
    entity_category: diagnostic
  - property: TimeIconSetting
    icon: mdi:clock-digital
    entity_category: config
    select:
      options:
        0: time
        1: icon
  - property: TimeRemaining
    icon: mdi:clock-end
    sensor:
      read_only: true
      device_class: duration
      unit: min
  - property: TotalProgramsCycles
    icon: mdi:counter
    sensor:
      read_only: true
      state_class: total_increasing
  - property: Volume
    icon: mdi:volume-high
    entity_category: config
    select:
      options:
        0: "off"
        1: level_1
        2: level_2
        3: level_3
        4: level_4
        5: level_5
  - property: reserved8
    disable: true
  - property: reserved9
    disable: true
  - property: reserved14
    disable: true
  - property: reserved18
    disable: true
  - property: reserved20
    disable: true
  - property: reserved83
    disable: true
  - property: reserved105
    disable: true
  - property: reserved106
    disable: true
  - property: reserved107
    disable: true
  - property: reserved110
    disable: true
  - property: reserved111
    disable: true
  - property: reserved112
    disable: true
  - property: reserved113
    disable: true
  - property: reserved114
    disable: true
  - property: reserved115
    disable: true
  - property: reserved116
    disable: true
  - property: reserved117
    disable: true
  - property: reserved118
    disable: true
  - property: reserved128
    disable: true
  - property: reserved129
    disable: true
  - property: reserved130
    disable: true


================================================
FILE: custom_components/connectlife/data_dictionaries/006-200.yaml
================================================
# Portable air conditioner — cool-only (no heat mode)
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/006-201.yaml
================================================
# Portable air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/006-202.yaml
================================================
# Portable air conditioner — cool-only (no heat mode)
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/006-203.yaml
================================================
# Portable air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/006.yaml
================================================
# Portable air conditioner
properties:
  - property: f-filter
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    icon: mdi:air-filter
  - property: f_e_arkgrille
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_dwmachine
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_incoiltemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_incom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_indisplay
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_ineeprom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inele
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_infanmotor
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inhumidity
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inkeys
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_intemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_invzero
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inwifi
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outcoiltemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outeeprom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outgastemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outtemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_over_cold
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_over_hot
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_push
    disable: true
  - property: f_e_upmachine
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_waterfull
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_ecm
    # f_ecm: appears to indicate which unit f_electricity uses (f_ecm=1
    # has been observed alongside mA current values; absent in 009-104,
    # which reports in hW). Exposed as a diagnostic so users can report
    # the value alongside f_electricity readings.
    sensor:
      read_only: true
    entity_category: diagnostic
    optional: true
  - property: f_electricity
    # f_electricity: unit varies by device. Most devices observed report
    # in mA. Devices that report in other units (e.g. hW), need a
    # per-feature override mapping to power/kW (see e.g. 009-104).
    # The companion property f_ecm appears to discriminate the scheme
    # (f_ecm=1 → mA; absent → hW).
    sensor:
      device_class: current
      unit: mA
      read_only: true
      state_class: measurement
    hide: true
  - property: f_humidity
    climate:
      target: current_humidity
      unknown_value: 128
  - property: f_power_consumption
    sensor:
      device_class: energy
      unit: kWh
      read_only: true
      state_class: total_increasing
    icon: mdi:lightning-bolt
  - property: f_power_display
    sensor:
      device_class: power
      unit: W
      read_only: true
      state_class: measurement
    icon: mdi:lightning-bolt
  - property: f_temp_in
    climate:
      target: current_temperature
    icon: mdi:thermometer
  - property: f_votage
    sensor:
      device_class: voltage
      unit: V
      state_class: measurement
    optional: true
    entity_category: diagnostic
  - property: t_beep
    binary_sensor:
      options:
        0: off
        1: on
    optional: true
    entity_category: diagnostic
  - property: t_dal
    switch:
      device_class: switch
    optional: true
  - property: t_demand_response
    switch:
      device_class: switch
    optional: true
  - property: t_device_info
    disable: true
  - property: t_eco
    switch:
      device_class: switch
    icon: mdi:leaf
  - property: t_fan_mute
    switch:
      device_class: switch
    icon: mdi:volume-variant-off
  - property: t_fan_speed
    climate:
      target: fan_mode
      options:
        0: auto
        2: low
        3: medium
        4: high
  - property: t_fan_speed_s
    disable: true
  - property: t_fanspeedcv
    number:
      min_value: 0
      max_value: 100
      unit: "%"
    icon: mdi:fan
  - property: t_power
    climate:
      target: is_on
  - property: t_sleep
    switch:
      device_class: switch
    icon: mdi:power-sleep
  - property: t_super
    switch:
      device_class: switch
    icon: mdi:run-fast
  - property: t_swing_angle
    select:
      options:
        0: swing
        1: auto
        2: angle_1
        3: angle_2
        4: angle_3
        5: angle_4
        6: angle_5
        7: angle_6
    icon: mdi:arrow-oscillating
  - property: t_swing_direction
    climate:
      target: swing_horizontal_mode
      options:
        0: forward
        1: right
        2: both_sides
        3: swing
        4: left
  - property: t_swing_follow
    select:
      options:
        0: "off"
        1: follow
        2: not_follow
    icon: mdi:account-arrow-right
  - property: t_talr
    switch:
      device_class: switch
    optional: true
  - property: t_temp
    climate:
      target: target_temperature
      min_value:
        celsius: 16
        fahrenheit: 61
      max_value:
        celsius: 32
        fahrenheit: 90
  - property: t_temp_compensate
    # Signed 4-bit encoding: 0..7 = 0..+7 °C, 9..15 = -7..-1 °C (value 8 / -8 unused).
    # Full range applies in non-AI modes; AI mode (t_tms=1) limits effective offset to ±3 °C.
    select:
      options:
        9: "offset_minus_7"
        10: "offset_minus_6"
        11: "offset_minus_5"
        12: "offset_minus_4"
        13: "offset_minus_3"
        14: "offset_minus_2"
        15: "offset_minus_1"
        0: "offset_0"
        1: "offset_plus_1"
        2: "offset_plus_2"
        3: "offset_plus_3"
        4: "offset_plus_4"
        5: "offset_plus_5"
        6: "offset_plus_6"
        7: "offset_plus_7"
    icon: mdi:thermometer-plus
    entity_category: config
  - property: t_temp_type
    climate:
      target: temperature_unit
      options:
        0: celsius
        1: fahrenheit
  - property: t_tms
    switch:
      device_class: switch
  - property: t_up_down
    climate:
      target: swing_mode
      options:
        0: "off"
        1: "on"
  - property: t_work_mode
    climate:
      target: hvac_mode
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        4: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-400.yaml
================================================
# Dehumidifier — no clothes-dry mode
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        2: auto
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-401.yaml
================================================
# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        3: medium
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-402.yaml
================================================
# Dehumidifier — no clothes-dry mode
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        2: auto
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-403.yaml
================================================
# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        3: medium
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-404.yaml
================================================
# Dehumidifier — no clothes-dry mode
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        2: auto
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-405.yaml
================================================
# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        3: medium
  - property: t_work_mode
    humidifier:
      options:
        0: continuous
        1: manual
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-406.yaml
================================================
# Dehumidifier
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-407.yaml
================================================
# Dehumidifier — fan speed medium instead of auto
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        3: medium


================================================
FILE: custom_components/connectlife/data_dictionaries/007-408.yaml
================================================
# Dehumidifier
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        2: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/007-409.yaml
================================================
# Dehumidifier — fan speed medium instead of auto
properties:
  - property: t_fan_speed
    select:
      options:
        0: low
        1: high
        3: medium


================================================
FILE: custom_components/connectlife/data_dictionaries/007.yaml
================================================
# Dehumidifier
properties:
  - property: f_e_filterclean
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_pump
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_push
    disable: true
  - property: f_e_temp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_tubetemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_waterfull
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_wetsensor
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_ecm
    # f_ecm: appears to indicate which unit f_electricity uses (f_ecm=1
    # has been observed alongside mA current values; absent in 009-104,
    # which reports in hW). Exposed as a diagnostic so users can report
    # the value alongside f_electricity readings.
    sensor:
      read_only: true
    entity_category: diagnostic
    optional: true
  - property: f_electricity
    # f_electricity: unit varies by device. Most devices observed report
    # in mA. Devices that report in other units (e.g. hW), need a
    # per-feature override mapping to power/kW (see e.g. 009-104).
    # The companion property f_ecm appears to discriminate the scheme
    # (f_ecm=1 → mA; absent → hW).
    sensor:
      device_class: current
      unit: mA
      read_only: true
      state_class: measurement
    hide: true
  - property: f_humidity
    humidifier:
      target: current_humidity
  - property: f_power_consumption
    sensor:
      device_class: energy
      unit: kWh
      read_only: true
      state_class: total_increasing
    icon: mdi:lightning-bolt
  - property: f_power_display
    sensor:
      device_class: power
      unit: W
      read_only: true
      state_class: measurement
    icon: mdi:lightning-bolt
  - property: f_votage
    sensor:
      device_class: voltage
      unit: V
      state_class: measurement
    optional: true
    entity_category: diagnostic
  - property: t_beep
    binary_sensor:
      options:
        0: off
        1: on
    optional: true
    entity_category: diagnostic
  - property: t_device_info
    disable: true
  - property: t_fan_speed
    icon: mdi:fan
    select:
      options:
        0: low
        1: high
        2: auto
        3: medium
  - property: t_humidity
    humidifier:
      target: target_humidity
      device_class: dehumidifier
      min_value: 30
      max_value: 80
  - property: t_power
    humidifier:
      target: is_on
  - property: t_pump
    switch:
      device_class: switch
  - property: t_work_mode
    humidifier:
      target: mode
      options:
        0: continuous
        1: manual
        2: auto
        3: clothes_dry


================================================
FILE: custom_components/connectlife/data_dictionaries/008-300.yaml
================================================
# Window air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/008-301.yaml
================================================
# Window air conditioner
properties:
  - property: t_fan_speed
    climate:
      options:
        2: low
        3: medium
        4: high


================================================
FILE: custom_components/connectlife/data_dictionaries/008-302.yaml
================================================
# Window air conditioner — heat-supporting
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/008-303.yaml
================================================
# Window air conditioner — heat-supporting
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/008-304.yaml
================================================
climate:
  presets:
    - preset: bedtime
      t_power: 1
      t_work_mode: 2
      t_fan_speed: 3
      t_temp: 64


================================================
FILE: custom_components/connectlife/data_dictionaries/008-305.yaml
================================================
# Window air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/008-306.yaml
================================================
# Window air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/008-307.yaml
================================================
# Window air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/008-308.yaml
================================================
# Window air conditioner — heat-supporting
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/008-309.yaml
================================================
# Window air conditioner — heat-supporting
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/008-310.yaml
================================================
# Window air conditioner — uses default mappings


================================================
FILE: custom_components/connectlife/data_dictionaries/008-311.yaml
================================================
# Window air conditioner — heat-supporting
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        1: heat
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/008-399.yaml
================================================
# Ultraslim AC
properties:
  - property: t_fan_speed
    climate:
      options:
        0: auto
        5: low
        7: medium
        9: high


================================================
FILE: custom_components/connectlife/data_dictionaries/008.yaml
================================================
# Window air conditioner
properties:
  - property: f-filter
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    icon: mdi:air-filter
  - property: f_e_arkgrille
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_dwmachine
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_incoiltemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_incom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_indisplay
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_ineeprom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inele
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_infanmotor
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inhumidity
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inkeys
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_intemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_invzero
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_inwifi
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outcoiltemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outeeprom
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outgastemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_outtemp
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_over_cold
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_over_hot
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_push
    disable: true
  - property: f_e_upmachine
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_e_waterfull
    binary_sensor:
      device_class: problem
      options:
        0: false
        1: true
    hide: true
    entity_category: diagnostic
  - property: f_ecm
    # f_ecm: appears to indicate which unit f_electricity uses (f_ecm=1
    # has been observed alongside mA current values; absent in 009-104,
    # which reports in hW). Exposed as a diagnostic so users can report
    # the value alongside f_electricity readings.
    sensor:
      read_only: true
    entity_category: diagnostic
    optional: true
  - property: f_electricity
    # f_electricity: unit varies by device. Most devices observed report
    # in mA. Devices that report in other units (e.g. hW), need a
    # per-feature override mapping to power/kW (see e.g. 009-104).
    # The companion property f_ecm appears to discriminate the scheme
    # (f_ecm=1 → mA; absent → hW).
    sensor:
      device_class: current
      unit: mA
      read_only: true
      state_class: measurement
    hide: true
  - property: f_humidity
    climate:
      target: current_humidity
      unknown_value: 128
  - property: f_matterOriginalProductId
    sensor:
      read_only: true
    optional: true
    entity_category: diagnostic
  - property: f_matterOriginalVendorId
    sensor:
      read_only: true
    optional: true
    entity_category: diagnostic
  - property: f_matterUniqueId
    sensor:
      read_only: true
    optional: true
    entity_category: diagnostic
  - property: f_power_consumption
    sensor:
      device_class: energy
      unit: kWh
      read_only: true
      state_class: total_increasing
    icon: mdi:lightning-bolt
  - property: f_power_display
    sensor:
      device_class: power
      unit: W
      read_only: true
      state_class: measurement
    icon: mdi:lightning-bolt
  - property: f_temp_in
    icon: mdi:thermometer
    climate:
      target: current_temperature
  - property: f_votage
    sensor:
      device_class: voltage
      unit: V
      state_class: measurement
    optional: true
    entity_category: diagnostic
  - property: measured_grid_voltage
    sensor:
      device_class: voltage
      unit: V
      state_class: measurement
    optional: true
    entity_category: diagnostic
  - property: t_beep
    binary_sensor:
      options:
        0: off
        1: on
    optional: true
    entity_category: diagnostic
  - property: t_dal
    switch:
      device_class: switch
    optional: true
  - property: t_demand_response
    switch:
      device_class: switch
    optional: true
  - property: t_device_info
    disable: true
  - property: t_dimmer
    switch:
      device_class: switch
    icon: mdi:lightbulb-on
    entity_category: config
  - property: t_eco
    switch:
      device_class: switch
    icon: mdi:leaf
  - property: t_fan_mute
    switch:
      device_class: switch
    icon: mdi:volume-off
  - property: t_fan_speed
    climate:
      target: fan_mode
      options:
        0: auto
        2: low
        3: medium
        4: high
  - property: t_fan_speed_s
    disable: true
  - property: t_fanspeedCV
    number:
      min_value: 0
      max_value: 100
      unit: "%"
    icon: mdi:fan
  - property: t_power
    climate:
      target: is_on
  - property: t_sleep
    icon: mdi:power-sleep
    switch:
      device_class: switch
  - property: t_super
    switch:
      device_class: switch
    icon: mdi:run-fast
  - property: t_talr
    switch:
      device_class: switch
    optional: true
  - property: t_temp
    climate:
      target: target_temperature
      min_value:
        celsius: 16
        fahrenheit: 61
      max_value:
        celsius: 30
        fahrenheit: 86
  - property: t_temp_type
    climate:
      target: temperature_unit
      options:
        0: celsius
        1: fahrenheit
  - property: t_tms
    switch:
      device_class: switch
  - property: t_up_down
    climate:
      target: swing_mode
      options:
        0: "off"
        1: "on"
  - property: t_work_mode
    climate:
      target: hvac_mode
      options:
        0: fan_only
        2: cool
        3: dry
        5: eco


================================================
FILE: custom_components/connectlife/data_dictionaries/009-100.yaml
================================================
climate:
  presets:
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 0
      t_super: 0
      preset: eco
    - t_eco: 0
      t_fan_mute: 1
      t_power: 1
      preset: mute
    - t_eco: 1
      t_fan_mute: 1
      t_power: 1
      t_sleep: 0
      t_super: 0
      preset: eco_mute
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 0
      t_super: 1
      preset: super
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 1
      t_super: 0
      preset: sleep_1
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 2
      t_super: 0
      preset: sleep_2
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 3
      t_super: 0
      preset: sleep_3
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 4
      t_super: 0
      preset: sleep_4
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 1
      t_super: 0
      preset: eco_sleep_1
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 2
      t_super: 0
      preset: eco_sleep_2
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 3
      t_super: 0
      preset: eco_sleep_3
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 4
      t_super: 0
      preset: eco_sleep_4


================================================
FILE: custom_components/connectlife/data_dictionaries/009-101.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-102.yaml
================================================
# No overrides needed; all properties covered by default 009.yaml.


================================================
FILE: custom_components/connectlife/data_dictionaries/009-103.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-104.yaml
================================================
climate:
  presets:
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 0
      t_super: 0
      preset: eco
    - t_eco: 0
      t_fan_mute: 1
      t_power: 1
      preset: mute
    - t_eco: 1
      t_fan_mute: 1
      t_power: 1
      t_sleep: 0
      t_super: 0
      preset: eco_mute
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 0
      t_super: 1
      preset: super
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 1
      t_super: 0
      preset: sleep_1
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 2
      t_super: 0
      preset: sleep_2
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 3
      t_super: 0
      preset: sleep_3
    - t_eco: 0
      t_fan_mute: 0
      t_power: 1
      t_sleep: 4
      t_super: 0
      preset: sleep_4
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 1
      t_super: 0
      preset: eco_sleep_1
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 2
      t_super: 0
      preset: eco_sleep_2
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 3
      t_super: 0
      preset: eco_sleep_3
    - t_eco: 1
      t_fan_mute: 0
      t_power: 1
      t_sleep: 4
      t_super: 0
      preset: eco_sleep_4
properties:
  - property: f_electricity
    sensor:
      device_class: power
      state_class: measurement
      unit: kW
      multiplier: 0.1


================================================
FILE: custom_components/connectlife/data_dictionaries/009-105.yaml
================================================
# AS-09TW2RLDTT00 - Hisense AC
climate:
  presets:
    - preset: eco
      t_power: 1
      t_eco: 1
      t_fan_mute: 0
      t_sleep: 0
      t_super: 0
    - preset: mute
      t_power: 1
      t_eco: 0
      t_fan_mute: 1
    - preset: eco_mute
      t_power: 1
      t_eco: 1
      t_fan_mute: 1
      t_sleep: 0
      t_super: 0
    - preset: super
      t_power: 1
      t_super: 1
      t_eco: 0
      t_fan_mute: 0
      t_sleep: 0
    - preset: sleep_1
      t_power: 1
      t_eco: 0
      t_sleep: 1
      t_fan_mute: 0
      t_super: 0
    - preset: sleep_2
      t_power: 1
      t_eco: 0
      t_sleep: 2
      t_fan_mute: 0
      t_super: 0
    - preset: sleep_3
      t_power: 1
      t_eco: 0
      t_sleep: 3
      t_fan_mute: 0
      t_super: 0
    - preset: sleep_4
      t_power: 1
      t_eco: 0
      t_sleep: 4
      t_fan_mute: 0
      t_super: 0
    - preset: eco_sleep_1
      t_power: 1
      t_eco: 1
      t_sleep: 1
      t_fan_mute: 0
      t_super: 0
    - preset: eco_sleep_2
      t_power: 1
      t_eco: 1
      t_sleep: 2
      t_fan_mute: 0
      t_super: 0
    - preset: eco_sleep_3
      t_power: 1
      t_eco: 1
      t_sleep: 3
      t_fan_mute: 0
      t_super: 0
    - preset: eco_sleep_4
      t_power: 1
      t_eco: 1
      t_sleep: 4
      t_fan_mute: 0
      t_super: 0
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto


================================================
FILE: custom_components/connectlife/data_dictionaries/009-106.yaml
================================================
climate:
  presets:
    - t_eco: 1
      t_fan_speed: 0 # auto
      t_power: 1
      preset: eco
    - t_power: 1
      t_tms: 1
      preset: ai


================================================
FILE: custom_components/connectlife/data_dictionaries/009-107.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-108.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-109.yaml
================================================
climate:
  presets:
    - t_eco: 1
      t_fan_speed: 0 # auto
      t_power: 1
      preset: eco
    - t_power: 1
      t_tms: 1
      preset: ai


================================================
FILE: custom_components/connectlife/data_dictionaries/009-110.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-111.yaml
================================================
# No overrides needed; all properties covered by default 009.yaml.


================================================
FILE: custom_components/connectlife/data_dictionaries/009-112.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-113.yaml
================================================
# No overrides needed; all properties covered by default 009.yaml.


================================================
FILE: custom_components/connectlife/data_dictionaries/009-114.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-115.yaml
================================================
# No overrides needed; all properties covered by default 009.yaml.


================================================
FILE: custom_components/connectlife/data_dictionaries/009-116.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-117.yaml
================================================
climate:
  presets:
    - t_eco: 1
      t_fan_speed: 0 # auto
      t_power: 1
      preset: eco
    - t_power: 1
      t_tms: 1
      preset: ai


================================================
FILE: custom_components/connectlife/data_dictionaries/009-118.yaml
================================================
properties:
  - property: t_work_mode
    climate:
      options:
        0: fan_only
        2: cool
        3: dry
        4: auto

================================================
FILE: custom_components/connectlife/data_dictionaries/009-119.yaml
================================================
# No overrides needed; all properties covered by default 009.yaml.


================================================
FILE: custom_components/connectlife/data_dictionaries/009-120.yaml
================================================
properties:
  - property: t_temp
    climate:
      max_value:
        celsius: 30
        fahrenheit: 86

================================================
FILE: custom_components/connectlife/data_dictionaries/009-121.yaml
================================================
# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).
properties:
  - property: t_temp
    climate:
      min_value:
        celsius: 8
        fahrenheit: 46


================================================
FILE: custom_components/connectlife/data_dictionaries/009-122.yaml
================================================
# t_temp ran
Download .txt
gitextract_mi7rib1t/

├── .claude/
│   └── skills/
│       ├── bump-version/
│       │   └── SKILL.md
│       └── release-notes/
│           └── SKILL.md
├── .github/
│   └── workflows/
│       ├── validate-ha.yaml
│       └── validate.yaml
├── .gitignore
├── .python-version
├── CLAUDE.md
├── DEVELOPMENT.md
├── DEVICES.md
├── LICENSE
├── README.md
├── custom_components/
│   └── connectlife/
│       ├── __init__.py
│       ├── binary_sensor.py
│       ├── button.py
│       ├── climate.py
│       ├── config_flow.py
│       ├── const.py
│       ├── coordinator.py
│       ├── data_dictionaries/
│       │   ├── 003-000.yaml
│       │   ├── 003.yaml
│       │   ├── 004-000.yaml
│       │   ├── 004.yaml
│       │   ├── 006-200.yaml
│       │   ├── 006-201.yaml
│       │   ├── 006-202.yaml
│       │   ├── 006-203.yaml
│       │   ├── 006.yaml
│       │   ├── 007-400.yaml
│       │   ├── 007-401.yaml
│       │   ├── 007-402.yaml
│       │   ├── 007-403.yaml
│       │   ├── 007-404.yaml
│       │   ├── 007-405.yaml
│       │   ├── 007-406.yaml
│       │   ├── 007-407.yaml
│       │   ├── 007-408.yaml
│       │   ├── 007-409.yaml
│       │   ├── 007.yaml
│       │   ├── 008-300.yaml
│       │   ├── 008-301.yaml
│       │   ├── 008-302.yaml
│       │   ├── 008-303.yaml
│       │   ├── 008-304.yaml
│       │   ├── 008-305.yaml
│       │   ├── 008-306.yaml
│       │   ├── 008-307.yaml
│       │   ├── 008-308.yaml
│       │   ├── 008-309.yaml
│       │   ├── 008-310.yaml
│       │   ├── 008-311.yaml
│       │   ├── 008-399.yaml
│       │   ├── 008.yaml
│       │   ├── 009-100.yaml
│       │   ├── 009-101.yaml
│       │   ├── 009-102.yaml
│       │   ├── 009-103.yaml
│       │   ├── 009-104.yaml
│       │   ├── 009-105.yaml
│       │   ├── 009-106.yaml
│       │   ├── 009-107.yaml
│       │   ├── 009-108.yaml
│       │   ├── 009-109.yaml
│       │   ├── 009-110.yaml
│       │   ├── 009-111.yaml
│       │   ├── 009-112.yaml
│       │   ├── 009-113.yaml
│       │   ├── 009-114.yaml
│       │   ├── 009-115.yaml
│       │   ├── 009-116.yaml
│       │   ├── 009-117.yaml
│       │   ├── 009-118.yaml
│       │   ├── 009-119.yaml
│       │   ├── 009-120.yaml
│       │   ├── 009-121.yaml
│       │   ├── 009-122.yaml
│       │   ├── 009-123.yaml
│       │   ├── 009-124.yaml
│       │   ├── 009-125.yaml
│       │   ├── 009-126.yaml
│       │   ├── 009-127.yaml
│       │   ├── 009-128.yaml
│       │   ├── 009-129.yaml
│       │   ├── 009-199.yaml
│       │   ├── 009-19901.yaml
│       │   ├── 009.yaml
│       │   ├── 010-hob-pind.yaml
│       │   ├── 010.yaml
│       │   ├── 012-000.yaml
│       │   ├── 012.yaml
│       │   ├── 013-000.yaml
│       │   ├── 013-oven-bio21-iconledplus.yaml
│       │   ├── 013.yaml
│       │   ├── 015-000.yaml
│       │   ├── 015-1ux0s1005k15.yaml
│       │   ├── 015-dishwasher-50.2f.yaml
│       │   ├── 015-dishwasher-50.2t.yaml
│       │   ├── 015-dishwasher-60.2.yaml
│       │   ├── 015-dishwasher-60.3.yaml
│       │   ├── 015.yaml
│       │   ├── 016-502.yaml
│       │   ├── 016.yaml
│       │   ├── 020-63c45b513e1a4bf7.yaml
│       │   ├── 020.yaml
│       │   ├── 023-295608422d362be1.yaml
│       │   ├── 023.yaml
│       │   ├── 025-1wj080837v0w.yaml
│       │   ├── 025-1wj090660v0w.yaml
│       │   ├── 025-1wj090728v0w.yaml
│       │   ├── 025-1wj090913v0f.yaml
│       │   ├── 025-1wj100404v0w.yaml
│       │   ├── 025-1wj100649v0t.yaml
│       │   ├── 025-1wj100722v0w.yaml
│       │   ├── 025-1wj100923v0f.yaml
│       │   ├── 025-1wj105050v0w.yaml
│       │   ├── 025-1wj105080v0w.yaml
│       │   ├── 025-1wj105091v0t.yaml
│       │   ├── 025-1wj105219v0w.yaml
│       │   ├── 025-1wj105246v0w.yaml
│       │   ├── 025-1wj105418v0t.yaml
│       │   ├── 025-1wj105552v0w.yaml
│       │   ├── 025-1wj120238v0b.yaml
│       │   ├── 025-1wj120261v0w.yaml
│       │   ├── 025-1wj120389v0b.yaml
│       │   ├── 025-1wj120407v0w.yaml
│       │   ├── 025-1wj120514v0t.yaml
│       │   ├── 025-1wj120560v0w.yaml
│       │   ├── 025.yaml
│       │   ├── 026-1b0330z0079j.yaml
│       │   ├── 026-1b0470z0012j.yaml
│       │   ├── 026-1b0470z0026j.yaml
│       │   ├── 026-1b0610z0043j.yaml
│       │   ├── 026-1b0610z0049j.yaml
│       │   ├── 026-1b0628z0075j.yaml
│       │   ├── 026-1b0628z0146j.yaml
│       │   ├── 026-1b0668z0100j.yaml
│       │   ├── 026.yaml
│       │   ├── 027-000.yaml
│       │   ├── 027-washing-machine-wm22-b2plus.yaml
│       │   ├── 027-washing-machine-wm22.yaml
│       │   ├── 027.yaml
│       │   ├── 030-1wk080027e0w.yaml
│       │   ├── 030-1wk080066v0w.yaml
│       │   ├── 030-1wk080140v0w.yaml
│       │   ├── 030-1wk100028v0w.yaml
│       │   ├── 030-1wk100130v0f.yaml
│       │   ├── 030-1wk100266v0f.yaml
│       │   ├── 030.yaml
│       │   ├── 032-000.yaml
│       │   ├── 032.yaml
│       │   ├── README.md
│       │   └── properties-schema.json
│       ├── dictionaries.py
│       ├── entity.py
│       ├── humidifier.py
│       ├── icons.json
│       ├── manifest.json
│       ├── messages.py
│       ├── number.py
│       ├── repairs.py
│       ├── select.py
│       ├── sensor.py
│       ├── services.py
│       ├── services.yaml
│       ├── strings.json
│       ├── switch.py
│       ├── translations/
│       │   ├── de.json
│       │   ├── en.json
│       │   ├── es.json
│       │   ├── fr.json
│       │   ├── it.json
│       │   ├── nl.json
│       │   └── no.json
│       ├── utils.py
│       └── water_heater.py
├── hacs.json
├── pyproject.toml
├── scripts/
│   ├── __init__.py
│   ├── check_translations.py
│   ├── gen_strings.py
│   ├── sort_translations.py
│   └── validate_mappings.py
└── tests/
    ├── test_dictionaries.py
    └── test_messages.py
Download .txt
SYMBOL INDEX (207 symbols across 24 files)

FILE: custom_components/connectlife/__init__.py
  function async_setup (line 41) | async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
  function async_setup_entry (line 49) | async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> ...
  function update_listener (line 83) | async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None:
  function async_unload_entry (line 89) | async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) ->...

FILE: custom_components/connectlife/binary_sensor.py
  function async_setup_entry (line 24) | async def async_setup_entry(
  class ConnectLifeBinaryStatusSensor (line 42) | class ConnectLifeBinaryStatusSensor(ConnectLifeEntity, BinarySensorEntity):
    method __init__ (line 45) | def __init__(
    method update_state (line 71) | def update_state(self):

FILE: custom_components/connectlife/button.py
  function async_setup_entry (line 17) | async def async_setup_entry(
  class ConnectLifeButton (line 32) | class ConnectLifeButton(ConnectLifeEntity, ButtonEntity):
    method __init__ (line 35) | def __init__(
    method available (line 55) | def available(self) -> bool:
    method update_state (line 65) | def update_state(self):
    method async_press (line 68) | async def async_press(self) -> None:

FILE: custom_components/connectlife/climate.py
  function async_setup_entry (line 40) | async def async_setup_entry(
  function is_climate (line 60) | def is_climate(dictionary: Dictionary):
  class ConnectLifeClimate (line 67) | class ConnectLifeClimate(ConnectLifeEntity, ClimateEntity):
    method __init__ (line 89) | def __init__(
    method update_state (line 204) | def update_state(self) -> None:
    method get_temperature_limit (line 274) | def get_temperature_limit(self, temperature_map: dict[str, int]) -> in...
    method async_set_humidity (line 280) | async def async_set_humidity(self, humidity):
    method async_set_temperature (line 284) | async def async_set_temperature(self, **kwargs) -> None:
    method async_turn_on (line 291) | async def async_turn_on(self):
    method async_turn_off (line 296) | async def async_turn_off(self):
    method async_set_hvac_mode (line 301) | async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
    method async_set_fan_mode (line 314) | async def async_set_fan_mode(self, fan_mode: str) -> None:
    method async_set_preset_mode (line 320) | async def async_set_preset_mode(self, preset_mode: str) -> None:
    method async_set_swing_mode (line 326) | async def async_set_swing_mode(self, swing_mode: str) -> None:
    method async_set_swing_horizontal_mode (line 332) | async def async_set_swing_horizontal_mode(self, swing_horizontal_mode:...
    method add_target_temperature (line 338) | def add_target_temperature(self, request: dict[str, int]) -> dict[str,...

FILE: custom_components/connectlife/config_flow.py
  function validate_input (line 35) | async def validate_input(data: dict[str, Any]) -> dict[str, Any]:
  class ConnectLifeConfigFlow (line 53) | class ConnectLifeConfigFlow(ConfigFlow, domain=DOMAIN):
    method async_step_user (line 58) | async def async_step_user(
    method async_step_reauth (line 80) | async def async_step_reauth(
    method async_step_reauth_confirm (line 86) | async def async_step_reauth_confirm(
    method async_get_options_flow (line 114) | def async_get_options_flow(
  class CannotConnect (line 121) | class CannotConnect(HomeAssistantError):
  class InvalidAuth (line 125) | class InvalidAuth(HomeAssistantError):
  class OptionsFlowHandler (line 129) | class OptionsFlowHandler(OptionsFlow):
    method async_step_init (line 134) | async def async_step_init(self, user_input=None) -> ConfigFlowResult:
    method async_step_select_device (line 140) | async def async_step_select_device(self, user_input: dict[str, Any] | ...
    method async_step_configure_device (line 159) | async def async_step_configure_device(self, user_input: dict[str, Any]...
    method async_step_development (line 180) | async def async_step_development(self, user_input: dict[str, Any] | No...

FILE: custom_components/connectlife/coordinator.py
  class ConnectLifeCoordinator (line 25) | class ConnectLifeCoordinator(DataUpdateCoordinator[dict[str, ConnectLife...
    method __init__ (line 33) | def __init__(self, hass, api: ConnectLifeApi):
    method _async_update_data (line 43) | async def _async_update_data(self):
    method async_update_device (line 81) | async def async_update_device(self, device_id: str, command: Mapping[s...
    method add_entity (line 87) | def add_entity(self, entity_unique_id: str, platform: Platform):
    method cleanup_removed_entities (line 91) | async def cleanup_removed_entities(self) -> None:
    method find_orphaned_statistics (line 143) | async def find_orphaned_statistics(self) -> list[str]:
    method update_orphaned_statistics_issue (line 176) | async def update_orphaned_statistics_issue(self) -> None:
  class ConnectLifeEnergyCoordinator (line 208) | class ConnectLifeEnergyCoordinator(DataUpdateCoordinator[dict[str, float...
    method __init__ (line 211) | def __init__(self, hass, api: ConnectLifeApi, appliance_coordinator: C...
    method _async_update_data (line 222) | async def _async_update_data(self) -> dict[str, float | None]:

FILE: custom_components/connectlife/dictionaries.py
  class _CombineSourceRequired (line 65) | class _CombineSourceRequired(TypedDict):
  class CombineSource (line 69) | class CombineSource(_CombineSourceRequired, total=False):
  function _val (line 74) | def _val(d: dict, key: str, default: Any = None) -> Any:
  class BinarySensor (line 81) | class BinarySensor:
    method __init__ (line 85) | def __init__(self, name: str, binary_sensor: dict | None):
  class Climate (line 97) | class Climate:
    method __init__ (line 104) | def __init__(self, name: str, climate: dict | None):
  class Humidifier (line 124) | class Humidifier:
    method __init__ (line 131) | def __init__(self, name: str, humidifier: dict | None):
  class Number (line 148) | class Number:
    method __init__ (line 156) | def __init__(self, name: str, number: dict | None):
  class Select (line 188) | class Select:
    method __init__ (line 194) | def __init__(self, name: str, select: dict | None):
  class Sensor (line 209) | class Sensor:
    method __init__ (line 220) | def __init__(self, name: str, sensor: dict | None):
  class Switch (line 271) | class Switch:
    method __init__ (line 278) | def __init__(self, name: str, switch: dict | None):
  class WaterHeater (line 292) | class WaterHeater:
    method __init__ (line 299) | def __init__(self, name: str, water_heater: dict | None):
  class Property (line 324) | class Property:
    method __init__ (line 342) | def __init__(self, entry: dict):
  class Button (line 375) | class Button:
    method __init__ (line 388) | def __init__(self, entry: dict):
  function _merge_buttons (line 400) | def _merge_buttons(base: list[dict], override: list[dict]) -> list[dict]:
  class Dictionary (line 423) | class Dictionary:
  function _merge_property (line 444) | def _merge_property(base: dict | None, override: dict) -> dict:
  function _merge_platform_block (line 486) | def _merge_platform_block(base, override):
  function _load_yaml (line 496) | def _load_yaml(path: str) -> tuple[bool, Any]:
  class Dictionaries (line 513) | class Dictionaries:
    method get_dictionary (line 518) | def get_dictionary(cls, appliance: ConnectLifeAppliance) -> Dictionary:

FILE: custom_components/connectlife/entity.py
  class ConnectLifeEntity (line 29) | class ConnectLifeEntity(CoordinatorEntity[ConnectLifeCoordinator]):
    method __init__ (line 38) | def __init__(
    method available (line 68) | def available(self) -> bool:
    method _is_value_unavailable (line 82) | def _is_value_unavailable(self) -> bool:
    method update_state (line 92) | def update_state(self):
    method _refresh_state (line 96) | def _refresh_state(self) -> None:
    method _handle_coordinator_update (line 102) | def _handle_coordinator_update(self) -> None:
    method async_update_device (line 107) | async def async_update_device(self, command: dict[str, int], propertie...
    method to_translation_key (line 147) | def to_translation_key(self, property_name: str) -> str:

FILE: custom_components/connectlife/humidifier.py
  function async_setup_entry (line 30) | async def async_setup_entry(
  function is_humidifier (line 45) | def is_humidifier(dictionary: Dictionary):
  class ConnectLifeHumidifier (line 52) | class ConnectLifeHumidifier(ConnectLifeEntity, HumidifierEntity):
    method __init__ (line 61) | def __init__(
    method update_state (line 115) | def update_state(self) -> None:
    method async_set_humidity (line 137) | async def async_set_humidity(self, humidity):
    method async_turn_on (line 141) | async def async_turn_on(self):
    method async_turn_off (line 149) | async def async_turn_off(self):
    method async_set_mode (line 157) | async def async_set_mode(self, mode):

FILE: custom_components/connectlife/messages.py
  function format_retry_message (line 14) | def format_retry_message(error: Exception) -> str:

FILE: custom_components/connectlife/number.py
  function async_setup_entry (line 20) | async def async_setup_entry(
  class ConnectLifeNumberEntity (line 43) | class ConnectLifeNumberEntity(ConnectLifeEntity, NumberEntity):
    method __init__ (line 48) | def __init__(
    method update_state (line 84) | def update_state(self):
    method async_set_native_value (line 89) | async def async_set_native_value(self, value: float) -> None:

FILE: custom_components/connectlife/repairs.py
  class UnavailableDeviceRepairFlow (line 17) | class UnavailableDeviceRepairFlow(RepairsFlow):
    method __init__ (line 20) | def __init__(self, issue_id: str, data: dict[str, str | int | float | ...
    method async_step_init (line 25) | async def async_step_init(
    method async_step_remove (line 35) | async def async_step_remove(
    method async_step_ignore (line 49) | async def async_step_ignore(
  class UnsupportedBeepRepairFlow (line 60) | class UnsupportedBeepRepairFlow(RepairsFlow):
    method __init__ (line 63) | def __init__(self, issue_id: str, data: dict[str, str | int | float | ...
    method async_step_init (line 68) | async def async_step_init(
    method async_step_confirm (line 78) | async def async_step_confirm(
    method async_step_ignore (line 94) | async def async_step_ignore(
  class OrphanedStatisticsRepairFlow (line 105) | class OrphanedStatisticsRepairFlow(RepairsFlow):
    method __init__ (line 108) | def __init__(self, issue_id: str, data: dict[str, str | int | float | ...
    method _mark_migration_done (line 112) | def _mark_migration_done(self) -> None:
    method async_step_init (line 125) | async def async_step_init(
    method async_step_clear (line 133) | async def async_step_clear(
    method async_step_ignore (line 156) | async def async_step_ignore(
  function async_create_fix_flow (line 167) | async def async_create_fix_flow(

FILE: custom_components/connectlife/select.py
  function async_setup_entry (line 21) | async def async_setup_entry(
  class ConnectLifeSelect (line 39) | class ConnectLifeSelect(ConnectLifeEntity, SelectEntity):
    method __init__ (line 44) | def __init__(
    method update_state (line 78) | def update_state(self):
    method async_select_option (line 101) | async def async_select_option(self, option: str) -> None:

FILE: custom_components/connectlife/sensor.py
  function async_setup_entry (line 33) | async def async_setup_entry(
  class ConnectLifeStatusSensor (line 77) | class ConnectLifeStatusSensor(ConnectLifeEntity, SensorEntity):
    method __init__ (line 80) | def __init__(
    method update_state (line 127) | def update_state(self):
    method async_set_value (line 174) | async def async_set_value(self, value: int) -> None:
  class ConnectLifeEnergySensor (line 188) | class ConnectLifeEnergySensor(CoordinatorEntity[ConnectLifeEnergyCoordin...
    method __init__ (line 197) | def __init__(
    method available (line 215) | def available(self) -> bool:
    method _handle_coordinator_update (line 226) | def _handle_coordinator_update(self) -> None:
    method _update_native_value (line 231) | def _update_native_value(self) -> None:

FILE: custom_components/connectlife/services.py
  function async_setup_services (line 30) | async def async_setup_services(hass: HomeAssistant) -> None:

FILE: custom_components/connectlife/switch.py
  function async_setup_entry (line 22) | async def async_setup_entry(
  class ConnectLifeSwitch (line 40) | class ConnectLifeSwitch(ConnectLifeEntity, SwitchEntity):
    method __init__ (line 43) | def __init__(
    method update_state (line 76) | def update_state(self):
    method async_turn_off (line 87) | async def async_turn_off(self, **kwargs):
    method async_turn_on (line 94) | async def async_turn_on(self, **kwargs):

FILE: custom_components/connectlife/utils.py
  function has_platform (line 9) | def has_platform(platform: Platform, property: Property):
  function to_unit (line 13) | def to_unit(unit: str | None, appliance: ConnectLifeAppliance, dictionar...
  function normalize_temperature_unit (line 38) | def normalize_temperature_unit(unit: str) -> UnitOfTemperature | str:
  function to_temperature_map (line 47) | def to_temperature_map(items: int | dict[str, int] | None) -> dict[str, ...

FILE: custom_components/connectlife/water_heater.py
  class WaterHeaterEntityDescription (line 39) | class WaterHeaterEntityDescription(EntityDescription, frozen_or_thawed=T...
  function async_setup_entry (line 43) | async def async_setup_entry(
  function is_water_heater (line 58) | def is_water_heater(dictionary: Dictionary):
  class ConnectLifeWaterHeater (line 65) | class ConnectLifeWaterHeater(ConnectLifeEntity, WaterHeaterEntity):
    method __init__ (line 85) | def __init__(
    method update_state (line 162) | def update_state(self) -> None:
    method get_temperature_limit (line 208) | def get_temperature_limit(self, temperature_map: dict[str, int]) -> in...
    method async_set_temperature (line 214) | async def async_set_temperature(self, **kwargs) -> None:
    method async_turn_on (line 221) | async def async_turn_on(self) -> None:
    method async_turn_off (line 226) | async def async_turn_off(self) -> None:
    method async_turn_away_mode_on (line 231) | async def async_turn_away_mode_on(self) -> None:
    method async_turn_away_mode_off (line 235) | async def async_turn_away_mode_off(self) -> None:
    method async_set_operation_mode (line 239) | async def async_set_operation_mode(self, operation_mode: str) -> None:

FILE: scripts/check_translations.py
  function main (line 7) | def main(basedir, lang=""):
  function leaf_keys (line 30) | def leaf_keys(obj, prefix=""):

FILE: scripts/gen_strings.py
  function _is_base_file (line 14) | def _is_base_file(filename: str) -> bool:
  function _load_base_properties (line 19) | def _load_base_properties(basedir: str, filenames: list[str]) -> dict[st...
  function _merged_properties (line 39) | def _merged_properties(filename: str, parsed_properties: list[dict], bas...
  function main (line 52) | def main(basedir):
  function prune_translations (line 210) | def prune_translations(basedir, reference):
  function prune_keys (line 223) | def prune_keys(obj, reference):
  function load_ha_strings (line 229) | def load_ha_strings():
  function resolve_key (line 239) | def resolve_key(ha_strings, key):
  function expand_keys (line 250) | def expand_keys(obj, ha_strings):
  function is_number (line 263) | def is_number(s: str) -> bool:
  function include_option (line 270) | def include_option(option: str, filename: str) -> bool:
  function to_key (line 282) | def to_key(name: str) -> str:
  function pretty (line 286) | def pretty(name: str) -> str:

FILE: scripts/sort_translations.py
  function main (line 6) | def main(basedir):
  function sort_json (line 13) | def sort_json(filepath):

FILE: scripts/validate_mappings.py
  function my_construct_mapping (line 15) | def my_construct_mapping(self, node, deep=False):
  function _is_sensor_platform (line 20) | def _is_sensor_platform(entry):
  function _check_entity_category_config_on_sensor (line 29) | def _check_entity_category_config_on_sensor(filename, merged_entry):
  function main (line 46) | def main(basedir):

FILE: tests/test_dictionaries.py
  function test_override_with_no_platform_inherits_everything (line 12) | def test_override_with_no_platform_inherits_everything():
  function test_same_platform_merges_field_by_field (line 29) | def test_same_platform_merges_field_by_field():
  function test_options_replace_as_whole (line 55) | def test_options_replace_as_whole():
  function test_combine_replaces_as_whole (line 79) | def test_combine_replaces_as_whole():
  function test_dict_valued_min_max_replace_as_whole (line 94) | def test_dict_valued_min_max_replace_as_whole():
  function test_different_platform_replaces_block_but_top_level_inherits (line 114) | def test_different_platform_replaces_block_but_top_level_inherits():
  function test_explicit_null_in_platform_unsets_base_field (line 134) | def test_explicit_null_in_platform_unsets_base_field():
  function test_explicit_null_at_top_level_unsets_field (line 155) | def test_explicit_null_at_top_level_unsets_field():
  function test_bare_platform_in_subtype_inherits_base_block (line 172) | def test_bare_platform_in_subtype_inherits_base_block():
  function test_bare_platform_in_subtype_with_no_base_platform (line 192) | def test_bare_platform_in_subtype_with_no_base_platform():
  function test_no_base_returns_override_copy (line 205) | def test_no_base_returns_override_copy():
  function test_property_constructed_from_merged_dict (line 214) | def test_property_constructed_from_merged_dict():
  function test_unknown_value_zero_is_honored (line 236) | def test_unknown_value_zero_is_honored():
  function test_unknown_value_null_is_none (line 244) | def test_unknown_value_null_is_none():
  function test_unknown_value_absent_is_none (line 249) | def test_unknown_value_absent_is_none():
  function test_hide_false_actually_disables_hiding (line 254) | def test_hide_false_actually_disables_hiding():
  function test_disable_false_actually_disables_disabling (line 264) | def test_disable_false_actually_disables_disabling():
  function test_optional_parsing (line 270) | def test_optional_parsing():

FILE: tests/test_messages.py
  function test_gateway_rejection_uses_human_friendly_message (line 8) | def test_gateway_rejection_uses_human_friendly_message() -> None:
  function test_timeout_uses_human_friendly_message (line 22) | def test_timeout_uses_human_friendly_message() -> None:
  function test_network_error_uses_human_friendly_message (line 31) | def test_network_error_uses_human_friendly_message() -> None:
  function test_unknown_error_uses_generic_message (line 45) | def test_unknown_error_uses_generic_message() -> None:
Condensed preview — 183 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,050K chars).
[
  {
    "path": ".claude/skills/bump-version/SKILL.md",
    "chars": 2937,
    "preview": "---\nname: bump-version\ndescription: Bump the integration version, create a branch, commit, push, and open a PR.\nargument"
  },
  {
    "path": ".claude/skills/release-notes/SKILL.md",
    "chars": 4393,
    "preview": "---\nname: release-notes\ndescription: Generate release notes for a new version by analyzing commits since the last git ta"
  },
  {
    "path": ".github/workflows/validate-ha.yaml",
    "chars": 478,
    "preview": "name: Validate Home Assistant integration\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  schedule:\n    - cron"
  },
  {
    "path": ".github/workflows/validate.yaml",
    "chars": 1126,
    "preview": "name: Validate mappings and check types\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  validate-mappin"
  },
  {
    "path": ".gitignore",
    "chars": 44,
    "preview": ".idea/\n.DS_Store\n__pycache__/\n.venv/\nlocal/\n"
  },
  {
    "path": ".python-version",
    "chars": 7,
    "preview": "3.13.2\n"
  },
  {
    "path": "CLAUDE.md",
    "chars": 4202,
    "preview": "# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## "
  },
  {
    "path": "DEVELOPMENT.md",
    "chars": 2332,
    "preview": "# Developing `connectlife-ha`\n\n## Prerequisites\n\n1. `uv`: https://docs.astral.sh/uv/getting-started/installation/\n2. Hom"
  },
  {
    "path": "DEVICES.md",
    "chars": 12076,
    "preview": "\n| Device name              | Device type              | Device type code | Device feature code         |\n|-------------"
  },
  {
    "path": "LICENSE",
    "chars": 35149,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "README.md",
    "chars": 7730,
    "preview": "# ConnectLife\n\nConnectLife integration for Home Assistant\n\n[![BuyMeCoffee](https://www.buymeacoffee.com/assets/img/custo"
  },
  {
    "path": "custom_components/connectlife/__init__.py",
    "chars": 3299,
    "preview": "\"\"\"The ConnectLife integration.\"\"\"\n\nfrom __future__ import annotations\n\nimport logging\n\nfrom homeassistant.exceptions im"
  },
  {
    "path": "custom_components/connectlife/binary_sensor.py",
    "chars": 2884,
    "preview": "\"\"\"Provides a binary sensor for ConnectLife.\"\"\"\n\nimport logging\n\nfrom homeassistant.components.binary_sensor import (\n  "
  },
  {
    "path": "custom_components/connectlife/button.py",
    "chars": 2789,
    "preview": "\"\"\"Provides a button for ConnectLife write-only actions.\"\"\"\n\nfrom homeassistant.components.button import ButtonEntity, B"
  },
  {
    "path": "custom_components/connectlife/climate.py",
    "chars": 15868,
    "preview": "\"\"\"Provides climate entities for ConnectLife.\"\"\"\nimport logging\n\nfrom homeassistant.components.climate import (\n    Clim"
  },
  {
    "path": "custom_components/connectlife/config_flow.py",
    "chars": 8143,
    "preview": "\"\"\"Config flow for ConnectLife integration.\"\"\"\n\nfrom __future__ import annotations\n\nimport logging\nfrom collections.abc "
  },
  {
    "path": "custom_components/connectlife/const.py",
    "chars": 1062,
    "preview": "\"\"\"Constants for the ConnectLife integration.\"\"\"\n\nDOMAIN = \"connectlife\"\n\nATTR_DEVICE = \"device\"\nATTR_DESC = \"desc\"\nATTR"
  },
  {
    "path": "custom_components/connectlife/coordinator.py",
    "chars": 10127,
    "preview": "import async_timeout\nimport logging\nfrom collections.abc import Mapping\nfrom datetime import timedelta\n\nfrom connectlife"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/003-000.yaml",
    "chars": 51,
    "preview": "# ASKO Pro Washing Machine\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/003.yaml",
    "chars": 27532,
    "preview": "# Washing machine\nproperties:\n  - property: ACTION\n    disable: true\n  - property: AddClothes\n    icon: mdi:plus-box\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/004-000.yaml",
    "chars": 41,
    "preview": "# ASKO Pro Dryer\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/004.yaml",
    "chars": 15755,
    "preview": "# Tumble dryer\nproperties:\n  - property: ACTION\n    disable: true\n  - property: AlarmCleanCondense\n    icon: mdi:filter-"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/006-200.yaml",
    "chars": 187,
    "preview": "# Portable air conditioner — cool-only (no heat mode)\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/006-201.yaml",
    "chars": 51,
    "preview": "# Portable air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/006-202.yaml",
    "chars": 187,
    "preview": "# Portable air conditioner — cool-only (no heat mode)\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/006-203.yaml",
    "chars": 51,
    "preview": "# Portable air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/006.yaml",
    "chars": 8352,
    "preview": "# Portable air conditioner\nproperties:\n  - property: f-filter\n    binary_sensor:\n      device_class: problem\n      optio"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-400.yaml",
    "chars": 262,
    "preview": "# Dehumidifier — no clothes-dry mode\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n        0: low\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-401.yaml",
    "chars": 298,
    "preview": "# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto\nproperties:\n  - property: t_fan_speed\n    select:"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-402.yaml",
    "chars": 262,
    "preview": "# Dehumidifier — no clothes-dry mode\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n        0: low\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-403.yaml",
    "chars": 298,
    "preview": "# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto\nproperties:\n  - property: t_fan_speed\n    select:"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-404.yaml",
    "chars": 262,
    "preview": "# Dehumidifier — no clothes-dry mode\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n        0: low\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-405.yaml",
    "chars": 298,
    "preview": "# Dehumidifier — no clothes-dry mode; fan speed medium instead of auto\nproperties:\n  - property: t_fan_speed\n    select:"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-406.yaml",
    "chars": 127,
    "preview": "# Dehumidifier\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n        0: low\n        1: high\n        2"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-407.yaml",
    "chars": 164,
    "preview": "# Dehumidifier — fan speed medium instead of auto\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-408.yaml",
    "chars": 127,
    "preview": "# Dehumidifier\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n        0: low\n        1: high\n        2"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007-409.yaml",
    "chars": 164,
    "preview": "# Dehumidifier — fan speed medium instead of auto\nproperties:\n  - property: t_fan_speed\n    select:\n      options:\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/007.yaml",
    "chars": 3217,
    "preview": "# Dehumidifier\nproperties:\n  - property: f_e_filterclean\n    binary_sensor:\n      device_class: problem\n      options:\n "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-300.yaml",
    "chars": 49,
    "preview": "# Window air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-301.yaml",
    "chars": 140,
    "preview": "# Window air conditioner\nproperties:\n  - property: t_fan_speed\n    climate:\n      options:\n        2: low\n        3: med"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-302.yaml",
    "chars": 191,
    "preview": "# Window air conditioner — heat-supporting\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-303.yaml",
    "chars": 191,
    "preview": "# Window air conditioner — heat-supporting\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-304.yaml",
    "chars": 118,
    "preview": "climate:\n  presets:\n    - preset: bedtime\n      t_power: 1\n      t_work_mode: 2\n      t_fan_speed: 3\n      t_temp: 64\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-305.yaml",
    "chars": 49,
    "preview": "# Window air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-306.yaml",
    "chars": 49,
    "preview": "# Window air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-307.yaml",
    "chars": 49,
    "preview": "# Window air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-308.yaml",
    "chars": 191,
    "preview": "# Window air conditioner — heat-supporting\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-309.yaml",
    "chars": 191,
    "preview": "# Window air conditioner — heat-supporting\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-310.yaml",
    "chars": 49,
    "preview": "# Window air conditioner — uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-311.yaml",
    "chars": 191,
    "preview": "# Window air conditioner — heat-supporting\nproperties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008-399.yaml",
    "chars": 146,
    "preview": "# Ultraslim AC\nproperties:\n  - property: t_fan_speed\n    climate:\n      options:\n        0: auto\n        5: low\n        "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/008.yaml",
    "chars": 7699,
    "preview": "# Window air conditioner\nproperties:\n  - property: f-filter\n    binary_sensor:\n      device_class: problem\n      options"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-100.yaml",
    "chars": 1290,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_mute: 0\n      t_power: 1\n      t_sleep: 0\n      t_super: 0\n      preset: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-101.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-102.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-103.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-104.yaml",
    "chars": 1436,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_mute: 0\n      t_power: 1\n      t_sleep: 0\n      t_super: 0\n      preset: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-105.yaml",
    "chars": 1454,
    "preview": "# AS-09TW2RLDTT00 - Hisense AC\nclimate:\n  presets:\n    - preset: eco\n      t_power: 1\n      t_eco: 1\n      t_fan_mute: 0"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-106.yaml",
    "chars": 147,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_speed: 0 # auto\n      t_power: 1\n      preset: eco\n    - t_power: 1\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-107.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-108.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-109.yaml",
    "chars": 147,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_speed: 0 # auto\n      t_power: 1\n      preset: eco\n    - t_power: 1\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-110.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-111.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-112.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-113.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-114.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-115.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-116.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-117.yaml",
    "chars": 147,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_speed: 0 # auto\n      t_power: 1\n      preset: eco\n    - t_power: 1\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-118.yaml",
    "chars": 132,
    "preview": "properties:\n  - property: t_work_mode\n    climate:\n      options:\n        0: fan_only\n        2: cool\n        3: dry\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-119.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-120.yaml",
    "chars": 105,
    "preview": "properties:\n  - property: t_temp\n    climate:\n      max_value:\n        celsius: 30\n        fahrenheit: 86"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-121.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-122.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-123.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-124.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-125.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-126.yaml",
    "chars": 177,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nproperties:\n  - property: t_temp\n    climate:\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-127.yaml",
    "chars": 105,
    "preview": "properties:\n  - property: t_temp\n    climate:\n      max_value:\n        celsius: 30\n        fahrenheit: 86"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-128.yaml",
    "chars": 182,
    "preview": "climate:\n  presets:\n    - t_eco: 1\n      t_fan_speed: 0 # auto\n      t_power: 1\n      preset: eco\n    - t_fan_mute: 1\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-129.yaml",
    "chars": 324,
    "preview": "# t_temp range extends to the 8° heat mode low setpoint (8 °C / 46 °F).\nclimate:\n  presets:\n    - t_eco: 1\n      t_fan_s"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-199.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009-19901.yaml",
    "chars": 67,
    "preview": "# No overrides needed; all properties covered by default 009.yaml.\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/009.yaml",
    "chars": 9597,
    "preview": "properties:\n  - property: aus_zone1_opencontrol\n    number:\n      min_value: 0\n      max_value: 100\n      unit: \"%\"\n    "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/010-hob-pind.yaml",
    "chars": 61,
    "preview": "# ATAG induction hob model HI21472SV\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/010.yaml",
    "chars": 57436,
    "preview": "# Induction hob\nproperties:\n  - property: Air_dry_function\n    hide: true\n  - property: Alarm_Grease_filter\n    hide: tr"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/012-000.yaml",
    "chars": 36,
    "preview": "# ASKO hood\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/012.yaml",
    "chars": 10255,
    "preview": "# Hood\nproperties:\n  # Top-level operating state\n  - property: DeviceStatus\n    icon: mdi:range-hood\n    sensor:\n      d"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/013-000.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/013-oven-bio21-iconledplus.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/013.yaml",
    "chars": 50179,
    "preview": "# Oven\nproperties:\n- property: Actions\n  select:\n    options:\n      0: start\n      1: pause\n      2: stop_finish\n      3"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-000.yaml",
    "chars": 1056,
    "preview": "# ASKO dishwashers (older feature code; also used pre-firmware-update on the\n# same device that later identifies as 015-"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-1ux0s1005k15.yaml",
    "chars": 551,
    "preview": "# Hisense WD16-E722BXi / HSAP16FB (Gorenje-style program labels, per PR #360)\nproperties:\n  - property: Selected_program"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-dishwasher-50.2f.yaml",
    "chars": 493,
    "preview": "# Gorenje GS673B60W\nproperties:\n  - property: Selected_program_id_status\n    select:\n      options:\n        0: auto\n    "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-dishwasher-50.2t.yaml",
    "chars": 492,
    "preview": "# Pelgrim GVWC330L\nproperties:\n  - property: Selected_program_id_status\n    select:\n      options:\n        0: auto\n     "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-dishwasher-60.2.yaml",
    "chars": 1296,
    "preview": "# ASKO dishwasher (firmware-updated variant of 015-000)\n#\n# Mode availability observed per program:\n#   Auto / Hygiene /"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015-dishwasher-60.3.yaml",
    "chars": 914,
    "preview": "# Assumed ASKO family (untested); labels copied from 015-dishwasher-60.2\nproperties:\n  - property: Selected_program_id_s"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/015.yaml",
    "chars": 16029,
    "preview": "properties:\n  - property: ADO_allowed\n    binary_sensor:\n    optional: true\n  - property: Alarm_auto_dose_refill\n    ent"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/016-502.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/016.yaml",
    "chars": 1934,
    "preview": "properties:\n  - property: f_ecm\n    # f_ecm: appears to indicate which unit f_electricity uses (f_ecm=1\n    # has been o"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/020-63c45b513e1a4bf7.yaml",
    "chars": 35,
    "preview": "# Atag hob\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/020.yaml",
    "chars": 14124,
    "preview": "# Induction hob\nproperties:\n  - property: Alarm_Hob_Hood_Started\n    optional: true\n    binary_sensor:\n      device_clas"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/023-295608422d362be1.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/023.yaml",
    "chars": 9850,
    "preview": "# Oven\nproperties:\n  - property: Actions\n    select:\n      options:\n        1: stop\n        2: start\n        3: pause\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj080837v0w.yaml",
    "chars": 37,
    "preview": "# WD3S8043BW3\n# Uses default mappings"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj090660v0w.yaml",
    "chars": 1099,
    "preview": "# WashingMachine\nproperties:\n  - property: Current_program_phase\n    sensor:\n      device_class: enum\n      options:\n   "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj090728v0w.yaml",
    "chars": 576,
    "preview": "# Washing Machine WF5S9045BW\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options:"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj090913v0f.yaml",
    "chars": 3068,
    "preview": "# Freestanding washing-drying machine WD3S9043BB3 (WD3S9014-SVW003, 025-1wj090913v0f)\nproperties:\n- property: Applicatio"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj100404v0w.yaml",
    "chars": 1199,
    "preview": "# WF3S1014-SVW002-000\nproperties:\n  - property: Current_program_phase\n    sensor:\n      device_class: enum\n      options"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj100649v0t.yaml",
    "chars": 1249,
    "preview": "# Washing machine WFQR1014\nproperties:\n- property: ApplicationPermissions\n  hide: false\n  sensor:\n    read_only: true\n- "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj100722v0w.yaml",
    "chars": 836,
    "preview": "# Washing machine WF3S1043BW3\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj100923v0f.yaml",
    "chars": 1076,
    "preview": "#WashingMachine 025-1wj100923v0f\nproperties:\n  - property: Current_program_phase\n    sensor:\n      device_class: enum\n  "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105050v0w.yaml",
    "chars": 733,
    "preview": "# Washing Machine\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options:\n      0: n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105080v0w.yaml",
    "chars": 23,
    "preview": "# Uses default mappings"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105091v0t.yaml",
    "chars": 23,
    "preview": "# Uses default mappings"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105219v0w.yaml",
    "chars": 1505,
    "preview": "# Washing Machine WFSE1114-LVW002\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    opt"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105246v0w.yaml",
    "chars": 1159,
    "preview": "# Washing machine WF3S1043BW3\nproperties:\n- property: ApplicationPermissions\n  hide: false\n  sensor:\n    read_only: true"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105418v0t.yaml",
    "chars": 737,
    "preview": "# Washing Machine\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options:\n      0: n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj105552v0w.yaml",
    "chars": 1266,
    "preview": "# Washing Machine\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options:\n      0: n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120238v0b.yaml",
    "chars": 677,
    "preview": "# Washing Machine\nproperties:\n  - property: Selected_program_ID\n    select:\n      options:\n        6: drum_clean\n       "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120261v0w.yaml",
    "chars": 132,
    "preview": "# Washing Machine\nproperties:\n- property: Door_status\n  binary_sensor:\n    device_class: door\n    options:\n      1: off\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120389v0b.yaml",
    "chars": 132,
    "preview": "# Washing Machine\nproperties:\n- property: Door_status\n  binary_sensor:\n    device_class: door\n    options:\n      1: off\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120407v0w.yaml",
    "chars": 30,
    "preview": "# Washing machine\nproperties:\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120514v0t.yaml",
    "chars": 965,
    "preview": "# Washing Machine\nproperties:\n- property: Current_program_phase\n  sensor:\n    device_class: enum\n    options:\n      0: n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025-1wj120560v0w.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/025.yaml",
    "chars": 31520,
    "preview": "# Washing Machine\nproperties:\n  - property: Door_status\n    icon: mdi:door\n    unavailable: 0\n    sensor:\n      device_c"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0330z0079j.yaml",
    "chars": 169,
    "preview": "properties:\n  - property: freeze_temperature\n    number:\n      min_value: -24\n      max_value: -14\n  - property: refrige"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0470z0012j.yaml",
    "chars": 51,
    "preview": "# Hisense 483L French Door Refrigerator HRCD483TBW\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0470z0026j.yaml",
    "chars": 316,
    "preview": "# HISENSE American Side by Side Refrigerator RQ5P470SEIE\nproperties:\n  - property: freeze_temperature\n    number:\n      "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0610z0043j.yaml",
    "chars": 12,
    "preview": "properties:\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0610z0049j.yaml",
    "chars": 764,
    "preview": "properties:\n  - property: freeze_max_temperature\n    number:\n      device_class: temperature\n      unit: °C\n      min_va"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0628z0075j.yaml",
    "chars": 305,
    "preview": "properties:\n  - property: freeze_temperature\n    number:\n      min_value: -24\n      max_value: -14\n  - property: ice_mak"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0628z0146j.yaml",
    "chars": 231,
    "preview": "# HISENSE American Side by Side Refrigerator RS 818 N 4 TIE 1\nproperties:\n  - property: freeze_temperature\n    number:\n "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026-1b0668z0100j.yaml",
    "chars": 338,
    "preview": "# Hisense BCD-668WP1BWF1R1/HC4(HAA) — French/EU multi-door refrigerator\n# Override the default temperature ranges with v"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/026.yaml",
    "chars": 32282,
    "preview": "# Refrigerator\nproperties:\n  - property: AIR_FRESHNESS\n    optional: true\n  - property: Kettle_overflow_alarm\n    option"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/027-000.yaml",
    "chars": 64,
    "preview": "# Gorenje washing machine (W-WaveEn-22)\n# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/027-washing-machine-wm22-b2plus.yaml",
    "chars": 983,
    "preview": "# Washing Machine Gorenje WPAM14A2T (WM22 B2 Plus)\n# Override program mode and spin speed to read-only sensors with the "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/027-washing-machine-wm22.yaml",
    "chars": 276,
    "preview": "# Washing machine WPNA84A2TSWIFI/PL\n# Override delay start/end status options to match what this variant reports\n# (only"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/027.yaml",
    "chars": 21615,
    "preview": "# Washing machine\nproperties:\n- property: Child_lock_status_status\n  icon: 'mdi:lock'\n  entity_category: diagnostic\n  bi"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk080027e0w.yaml",
    "chars": 368,
    "preview": "# Tumble dryer model DHSE80-BEW001\nproperties:\n  - property: Selected_program_ID\n    select:\n      options:\n        1: a"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk080066v0w.yaml",
    "chars": 23,
    "preview": "# Uses default mappings"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk080140v0w.yaml",
    "chars": 518,
    "preview": "properties:\n  - property: Selected_program_ID\n    select:\n      options:\n        1: auto\n        2: anti_allergy\n       "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk100028v0w.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk100130v0f.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030-1wk100266v0f.yaml",
    "chars": 388,
    "preview": "# Tumble Dryer\nproperties:\n  - property: Selected_program_ID\n    select:\n      options:\n        1: auto\n        2: aller"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/030.yaml",
    "chars": 8597,
    "preview": "# Tumble dryer\nproperties:\n  - property: Actions\n    # Sample value: 0\n    optional: true\n  - property: AntiCrease\n    i"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/032-000.yaml",
    "chars": 24,
    "preview": "# Uses default mappings\n"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/032.yaml",
    "chars": 11900,
    "preview": "# Tumble dryer\nproperties:\n  - property: Actions\n    select:\n      options:\n        0: stop\n        1: start\n        2: "
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/README.md",
    "chars": 42713,
    "preview": "# Mapping files\n\nMapping files for known appliances are located in this directory. Appliances without a mapping file wil"
  },
  {
    "path": "custom_components/connectlife/data_dictionaries/properties-schema.json",
    "chars": 19047,
    "preview": "{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"$ref\": \"#/$defs/ConnectLifeDataDictionary\",\n  \"$defs\":"
  },
  {
    "path": "custom_components/connectlife/dictionaries.py",
    "chars": 19640,
    "preview": "import yaml\nfrom collections import defaultdict\nfrom dataclasses import dataclass\nimport logging\nimport pkgutil\nfrom typ"
  },
  {
    "path": "custom_components/connectlife/entity.py",
    "chars": 6085,
    "preview": "\"\"\"ConnectLife entity base class.\"\"\"\n\nimport logging\nimport re\nfrom abc import abstractmethod\n\nfrom connectlife.api impo"
  },
  {
    "path": "custom_components/connectlife/humidifier.py",
    "chars": 6351,
    "preview": "\"\"\"Provides humidifier entities for ConnectLife.\"\"\"\nimport logging\n\nfrom homeassistant.components.humidifier import (\n  "
  },
  {
    "path": "custom_components/connectlife/icons.json",
    "chars": 561,
    "preview": "{\n  \"entity\": {\n    \"climate\": {\n      \"connectlife\": {\n        \"state_attributes\": {\n          \"preset_mode\": {\n       "
  },
  {
    "path": "custom_components/connectlife/manifest.json",
    "chars": 410,
    "preview": "{\n  \"domain\": \"connectlife\",\n  \"name\": \"ConnectLife\",\n  \"after_dependencies\": [\"recorder\"],\n  \"codeowners\": [\"@oyvindwe\""
  },
  {
    "path": "custom_components/connectlife/messages.py",
    "chars": 1061,
    "preview": "\"\"\"User-facing ConnectLife status messages.\"\"\"\n\nfrom __future__ import annotations\n\nGATEWAY_ERROR_PREFIX = \"Unexpected r"
  },
  {
    "path": "custom_components/connectlife/number.py",
    "chars": 3635,
    "preview": "\"\"\"Provides number entities for ConnectLife.\"\"\"\n\nimport logging\nfrom homeassistant.components.number import NumberEntity"
  },
  {
    "path": "custom_components/connectlife/repairs.py",
    "chars": 7133,
    "preview": "from __future__ import annotations\n\nimport logging\n\nfrom homeassistant import data_entry_flow\nfrom homeassistant.compone"
  },
  {
    "path": "custom_components/connectlife/select.py",
    "chars": 4194,
    "preview": "\"\"\"Provides a selector for ConnectLife.\"\"\"\n\nimport logging\n\nfrom homeassistant.components.select import SelectEntity, Se"
  },
  {
    "path": "custom_components/connectlife/sensor.py",
    "chars": 9895,
    "preview": "\"\"\"Provides a sensor for ConnectLife.\"\"\"\n\nimport datetime\nimport logging\nimport voluptuous as vol\nfrom homeassistant.com"
  },
  {
    "path": "custom_components/connectlife/services.py",
    "chars": 4292,
    "preview": "\"\"\"Services for the Fully Kiosk Browser integration.\"\"\"\n\nfrom __future__ import annotations\n\nimport logging\nfrom typing "
  },
  {
    "path": "custom_components/connectlife/services.yaml",
    "chars": 734,
    "preview": "set_value:\n  target:\n    entity:\n      integration: connectlife\n      domain: sensor\n  fields:\n    value:\n      required"
  },
  {
    "path": "custom_components/connectlife/strings.json",
    "chars": 248162,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"[%key:common::config_flow::abort::already_configured_device%"
  },
  {
    "path": "custom_components/connectlife/switch.py",
    "chars": 3581,
    "preview": "\"\"\"Provides a switch for ConnectLife.\"\"\"\n\nimport logging\n\nfrom homeassistant.components.switch import SwitchEntity, Swit"
  },
  {
    "path": "custom_components/connectlife/translations/de.json",
    "chars": 119876,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"Ger\\u00e4t ist bereits konfiguriert\"\n    },\n    \"error\": {\n "
  },
  {
    "path": "custom_components/connectlife/translations/en.json",
    "chars": 247882,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"Device is already configured\",\n      \"reauth_successful\": \"R"
  },
  {
    "path": "custom_components/connectlife/translations/es.json",
    "chars": 49257,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"El dispositivo ya est\\u00e1 configurado\"\n    },\n    \"error\":"
  },
  {
    "path": "custom_components/connectlife/translations/fr.json",
    "chars": 38140,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"L\\u2019appareil est d\\u00e9j\\u00e0 configur\\u00e9\"\n    },\n  "
  },
  {
    "path": "custom_components/connectlife/translations/it.json",
    "chars": 18901,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"Il dispositivo \\u00e8 gi\\u00e0 configurato\"\n    },\n    \"erro"
  },
  {
    "path": "custom_components/connectlife/translations/nl.json",
    "chars": 236046,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"Apparaat is al geconfigureerd\",\n      \"reauth_successful\": \""
  },
  {
    "path": "custom_components/connectlife/translations/no.json",
    "chars": 240725,
    "preview": "{\n  \"config\": {\n    \"abort\": {\n      \"already_configured\": \"Enheten er allerede konfigurert\",\n      \"reauth_successful\":"
  },
  {
    "path": "custom_components/connectlife/utils.py",
    "chars": 2285,
    "preview": "from homeassistant.components.sensor import SensorDeviceClass\nfrom homeassistant.const import Platform, UnitOfTemperatur"
  },
  {
    "path": "custom_components/connectlife/water_heater.py",
    "chars": 11391,
    "preview": "\"\"\"Provides water heater entities for ConnectLife.\"\"\"\nimport logging\n\nfrom homeassistant.components.water_heater import "
  },
  {
    "path": "hacs.json",
    "chars": 85,
    "preview": "{\n  \"name\": \"ConnectLife\",\n  \"homeassistant\": \"2024.12.0\",\n  \"render_readme\": true\n}\n"
  },
  {
    "path": "pyproject.toml",
    "chars": 611,
    "preview": "[project]\nname = \"connectlife-ha\"\nversion = \"0.37.0\"\ndescription = \"Custom Home Assistant component for ConnectLife devi"
  },
  {
    "path": "scripts/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "scripts/check_translations.py",
    "chars": 1572,
    "preview": "import argparse\nimport json\nfrom os import listdir\nfrom os.path import join\n\n\ndef main(basedir, lang=\"\"):\n    with open("
  },
  {
    "path": "scripts/gen_strings.py",
    "chars": 16017,
    "preview": "import argparse\nimport json\nimport re\nimport urllib.request\nfrom os import listdir\nfrom os.path import isfile, join\n\nimp"
  },
  {
    "path": "scripts/sort_translations.py",
    "chars": 551,
    "preview": "import json\nfrom os import listdir\nfrom os.path import join\n\n\ndef main(basedir):\n    translations_dir = f'{basedir}/tran"
  },
  {
    "path": "scripts/validate_mappings.py",
    "chars": 3862,
    "preview": "import pprint\nimport sys\nfrom os import listdir\nfrom os.path import isfile, join\n\nfrom jschon import create_catalog, JSO"
  },
  {
    "path": "tests/test_dictionaries.py",
    "chars": 7692,
    "preview": "\"\"\"Tests for the property inheritance merge in dictionaries.py.\"\"\"\n\nfrom __future__ import annotations\n\nfrom custom_comp"
  },
  {
    "path": "tests/test_messages.py",
    "chars": 1429,
    "preview": "\"\"\"Tests for user-facing ConnectLife messages.\"\"\"\n\nfrom __future__ import annotations\n\nfrom custom_components.connectlif"
  }
]

About this extraction

This page contains the full source code of the oyvindwe/connectlife-ha GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 183 files (1.8 MB), approximately 505.1k tokens, and a symbol index with 207 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!