HomeAssistant-Mods / home-assistant-miele

Miele integration for Home assistant
138 stars 32 forks source link

Broken support for PDR508HP / EK037 - Type 4 - semi-professional tumble dryer #166

Open BartGysens opened 6 months ago

BartGysens commented 6 months ago

Device no longer updating entities - was working before. API from Miele is sending correct data.

Diagnostics:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.12.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Paris",
    "os_name": "Linux",
    "os_version": "6.1.63-haos",
    "supervisor": "2023.12.0",
    "host_os": "Home Assistant OS 11.2",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "miele": {
      "version": "0.1.21",
      "requirements": [
        "flatdict==4.0.1",
        "pymiele==0.1.7"
      ]
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "miele",
    "name": "Miele",
    "codeowners": [
      "@astrandb"
    ],
    "config_flow": true,
    "dependencies": [
      "application_credentials",
      "http"
    ],
    "documentation": "https://github.com/astrandb/miele",
    "homekit": {},
    "integration_type": "hub",
    "iot_class": "cloud_push",
    "issue_tracker": "https://github.com/astrandb/miele/issues",
    "loggers": [
      "pymiele"
    ],
    "requirements": [
      "flatdict==4.0.1",
      "pymiele==0.1.7"
    ],
    "ssdp": [],
    "version": "0.1.21",
    "zeroconf": [
      "_mieleathome._tcp.local."
    ],
    "is_built_in": false
  },
  "data": {
    "info": {
      "manufacturer": "Miele",
      "model": "PDR508HP"
    },
    "data": {
      "ident|type|key_localized": "Device type",
      "ident|type|value_raw": 4,
      "ident|type|value_localized": "",
      "ident|deviceName": "",
      "ident|protocolVersion": 4,
      "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
      "ident|deviceIdentLabel|fabIndex": "41",
      "ident|deviceIdentLabel|techType": "PDR508HP",
      "ident|deviceIdentLabel|matNumber": "11922280",
      "ident|deviceIdentLabel|swids|0": "5791",
      "ident|deviceIdentLabel|swids|1": "25359",
      "ident|deviceIdentLabel|swids|2": "25360",
      "ident|deviceIdentLabel|swids|3": "25189",
      "ident|deviceIdentLabel|swids|4": "20607",
      "ident|deviceIdentLabel|swids|5": "25237",
      "ident|deviceIdentLabel|swids|6": "5199",
      "ident|deviceIdentLabel|swids|7": "20402",
      "ident|deviceIdentLabel|swids|8": "25251",
      "ident|xkmIdentLabel|techType": "EK037",
      "ident|xkmIdentLabel|releaseVersion": "03.94",
      "state|ProgramID|value_raw": 18,
      "state|ProgramID|value_localized": "",
      "state|ProgramID|key_localized": "Program name",
      "state|status|value_raw": 5,
      "state|status|value_localized": "In use",
      "state|status|key_localized": "status",
      "state|programType|value_raw": 3,
      "state|programType|value_localized": "Cleaning/Care programme",
      "state|programType|key_localized": "Program type",
      "state|programPhase|value_raw": 514,
      "state|programPhase|value_localized": "Drying",
      "state|programPhase|key_localized": "Program phase",
      "state|remainingTime|0": 0,
      "state|remainingTime|1": 19,
      "state|startTime|0": 0,
      "state|startTime|1": 0,
      "state|targetTemperature|0|value_raw": 8000,
      "state|targetTemperature|0|value_localized": 80.0,
      "state|targetTemperature|0|unit": "Celsius",
      "state|targetTemperature|1|value_raw": 10000,
      "state|targetTemperature|1|value_localized": 100.0,
      "state|targetTemperature|1|unit": "Celsius",
      "state|targetTemperature|2|value_raw": -32768,
      "state|targetTemperature|2|value_localized": null,
      "state|targetTemperature|2|unit": "Celsius",
      "state|coreTargetTemperature|0|value_raw": -32768,
      "state|coreTargetTemperature|0|value_localized": null,
      "state|coreTargetTemperature|0|unit": "Celsius",
      "state|temperature|0|value_raw": 3090,
      "state|temperature|0|value_localized": 30.9,
      "state|temperature|0|unit": "Celsius",
      "state|temperature|1|value_raw": 4510,
      "state|temperature|1|value_localized": 45.1,
      "state|temperature|1|unit": "Celsius",
      "state|temperature|2|value_raw": -32768,
      "state|temperature|2|value_localized": null,
      "state|temperature|2|unit": "Celsius",
      "state|coreTemperature|0|value_raw": -32768,
      "state|coreTemperature|0|value_localized": null,
      "state|coreTemperature|0|unit": "Celsius",
      "state|signalInfo": false,
      "state|signalFailure": false,
      "state|signalDoor": false,
      "state|remoteEnable|fullRemoteControl": true,
      "state|remoteEnable|smartGrid": false,
      "state|remoteEnable|mobileStart": false,
      "state|ambientLight": null,
      "state|light": null,
      "state|elapsedTime": {},
      "state|spinningSpeed|unit": "rpm",
      "state|spinningSpeed|value_raw": null,
      "state|spinningSpeed|value_localized": null,
      "state|spinningSpeed|key_localized": "Spin speed",
      "state|dryingStep|value_raw": null,
      "state|dryingStep|value_localized": "",
      "state|dryingStep|key_localized": "Drying level",
      "state|ventilationStep|value_raw": null,
      "state|ventilationStep|value_localized": "",
      "state|ventilationStep|key_localized": "Fan level",
      "state|plateStep": {},
      "state|ecoFeedback|currentWaterConsumption|unit": "l",
      "state|ecoFeedback|currentWaterConsumption|value": 0.0,
      "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
      "state|ecoFeedback|currentEnergyConsumption|value": 0.0,
      "state|ecoFeedback|waterForecast": 0.0,
      "state|ecoFeedback|energyForecast": 0.0,
      "state|batteryLevel": null
    },
    "actions": {
      "processAction": [],
      "light": [],
      "ambientLight": [],
      "startTime": [],
      "ventilationStep": [],
      "programId": [],
      "targetTemperature": [],
      "deviceName": true,
      "powerOn": false,
      "powerOff": true,
      "colors": [],
      "modes": [],
      "runOnTime": []
    },
    "programs": {
      "code": 404,
      "message": "Device not found."
    },
    "id_log": [],
    "local_mappings": {}
  }
}