astrandb / miele

A modern integration for Miele devices in Home Assistant
MIT License
204 stars 30 forks source link

Entity "switched on" not working anymore on some machines #398

Open requiemmg opened 11 months ago

requiemmg commented 11 months ago

The problem

I have a hob, a dishwasher, a tumble dryer and two washing machines in this integration. Hob and dishwasher are correctly reporting the "switched on" status. Tumble dryer and washing machines are not, they stay off even when the machines are running. In the entity logs I see the off and sometimes (2-3 times a day) "unavailable" for a few seconds. Used to work before, dont know when it changed, just noticed it.

Version of miele integration having the issue?

0.1.19

Version of Home Assistant Core having the issue?

2023.12.2

Anything in the logs that might be useful for us?

No response

Additional information

No response

astrandb commented 11 months ago

We need some more info to understand what is happening. Please make sure that the "failing" machines are turned on/running and then make a diagnostic download from the three-dot-menu on the Miele integration overview page. Then drag the downloaded file into this issue,

requiemmg commented 11 months ago

Sure, here you go (1 washing machine running, one just finished, tumbler and dishwasher running)

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.12.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.1.58-haos-raspi",
    "supervisor": "2023.11.6",
    "host_os": "Home Assistant OS 11.2",
    "docker_version": "24.0.7",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "solaredge_modbus_multi": {
      "version": "2.4.7",
      "requirements": [
        "pymodbus>=3.5.4"
      ]
    },
    "openwbmqtt": {
      "version": "0.5",
      "requirements": []
    },
    "chargecloud": {
      "version": "1.1.0",
      "requirements": [
        "pychargecloud==0.2.1"
      ]
    },
    "skodaconnect": {
      "version": "v1.2.8",
      "requirements": [
        "skodaconnect>=1.3.9",
        "homeassistant>=2023.3.0"
      ]
    },
    "miele": {
      "version": "0.1.19",
      "requirements": [
        "flatdict==4.0.1",
        "pymiele==0.1.7"
      ]
    },
    "midea_dehumidifier_lan": {
      "version": "0.8.13",
      "requirements": [
        "midea-beautiful-air==0.9.15"
      ]
    },
    "landroid_cloud": {
      "version": "4.0.0",
      "requirements": [
        "pyworxcloud==4.1.7"
      ]
    },
    "smartthinq_sensors": {
      "version": "0.35.5",
      "requirements": [
        "pycountry>=20.7.3",
        "xmltodict>=0.12.0",
        "charset_normalizer>=2.0.0"
      ]
    },
    "midea_dehumidifier": {
      "version": "1.0.3",
      "requirements": [
        "midea-inventor-lib==1.0.4"
      ]
    }
  },
  "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.19",
    "zeroconf": [
      "_mieleathome._tcp.local."
    ],
    "is_built_in": false
  },
  "data": {
    "info": {
      "auth_implementation": "miele_35355523_92c1_417a_b2dd_5ddbe6c4c86f",
      "token": {
        "access_token": "**REDACTED**",
        "refresh_token": "**REDACTED**",
        "token_type": "Bearer",
        "expires_in": 2592000,
        "expires_at": 1703079154.2431948
      }
    },
    "data": {
      "Appliance_1": {
        "ident|type|key_localized": "Ger\u00e4tetyp",
        "ident|type|value_raw": 1,
        "ident|type|value_localized": "Waschmaschine",
        "ident|deviceName": "Waschmaschine rechts",
        "ident|protocolVersion": 4,
        "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
        "ident|deviceIdentLabel|fabIndex": "44",
        "ident|deviceIdentLabel|techType": "WEG675",
        "ident|deviceIdentLabel|matNumber": "11299920",
        "ident|deviceIdentLabel|swids|0": "5801",
        "ident|deviceIdentLabel|swids|1": "20456",
        "ident|deviceIdentLabel|swids|2": "25213",
        "ident|deviceIdentLabel|swids|3": "25191",
        "ident|deviceIdentLabel|swids|4": "25446",
        "ident|deviceIdentLabel|swids|5": "25205",
        "ident|deviceIdentLabel|swids|6": "25447",
        "ident|deviceIdentLabel|swids|7": "25319",
        "ident|xkmIdentLabel|techType": "EK057",
        "ident|xkmIdentLabel|releaseVersion": "08.23",
        "state|ProgramID|value_raw": 1,
        "state|ProgramID|value_localized": "Baumwolle",
        "state|ProgramID|key_localized": "Programmbezeichnung",
        "state|status|value_raw": 5,
        "state|status|value_localized": "In Betrieb",
        "state|status|key_localized": "Status",
        "state|programType|value_raw": 1,
        "state|programType|value_localized": "Eigenes Programm",
        "state|programType|key_localized": "Programmart",
        "state|programPhase|value_raw": 260,
        "state|programPhase|value_localized": "Waschen",
        "state|programPhase|key_localized": "Programmphase",
        "state|remainingTime|0": 2,
        "state|remainingTime|1": 29,
        "state|startTime|0": 0,
        "state|startTime|1": 0,
        "state|targetTemperature|0|value_raw": 4000,
        "state|targetTemperature|0|value_localized": 40.0,
        "state|targetTemperature|0|unit": "Celsius",
        "state|targetTemperature|1|value_raw": -32768,
        "state|targetTemperature|1|value_localized": null,
        "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": -32768,
        "state|temperature|0|value_localized": null,
        "state|temperature|0|unit": "Celsius",
        "state|temperature|1|value_raw": -32768,
        "state|temperature|1|value_localized": null,
        "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": true,
        "state|remoteEnable|mobileStart": false,
        "state|ambientLight": null,
        "state|light": null,
        "state|elapsedTime|0": 0,
        "state|elapsedTime|1": 37,
        "state|spinningSpeed|unit": "U/min",
        "state|spinningSpeed|value_raw": 1200,
        "state|spinningSpeed|value_localized": "1200",
        "state|spinningSpeed|key_localized": "Schleuderdrehzahl",
        "state|dryingStep|value_raw": null,
        "state|dryingStep|value_localized": "",
        "state|dryingStep|key_localized": "Trockenstufe",
        "state|ventilationStep|value_raw": null,
        "state|ventilationStep|value_localized": "",
        "state|ventilationStep|key_localized": "L\u00fcfterstufe",
        "state|plateStep": {},
        "state|ecoFeedback|currentWaterConsumption|unit": "l",
        "state|ecoFeedback|currentWaterConsumption|value": 9.0,
        "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
        "state|ecoFeedback|currentEnergyConsumption|value": 0.2,
        "state|ecoFeedback|waterForecast": 0.4,
        "state|ecoFeedback|energyForecast": 0.6,
        "state|batteryLevel": null
      },
      "Appliance_2": {
        "ident|type|key_localized": "Ger\u00e4tetyp",
        "ident|type|value_raw": 1,
        "ident|type|value_localized": "Waschmaschine",
        "ident|deviceName": "Waschmaschine links",
        "ident|protocolVersion": 4,
        "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
        "ident|deviceIdentLabel|fabIndex": "54",
        "ident|deviceIdentLabel|techType": "WCR870",
        "ident|deviceIdentLabel|matNumber": "10931230",
        "ident|deviceIdentLabel|swids|0": "5836",
        "ident|deviceIdentLabel|swids|1": "20457",
        "ident|deviceIdentLabel|swids|2": "20449",
        "ident|deviceIdentLabel|swids|3": "25260",
        "ident|deviceIdentLabel|swids|4": "20450",
        "ident|deviceIdentLabel|swids|5": "5013",
        "ident|deviceIdentLabel|swids|6": "25314",
        "ident|deviceIdentLabel|swids|7": "25205",
        "ident|deviceIdentLabel|swids|8": "25313",
        "ident|deviceIdentLabel|swids|9": "25191",
        "ident|xkmIdentLabel|techType": "EK057",
        "ident|xkmIdentLabel|releaseVersion": "08.23",
        "state|ProgramID|value_raw": 1,
        "state|ProgramID|value_localized": "Baumwolle",
        "state|ProgramID|key_localized": "Programmbezeichnung",
        "state|status|value_raw": 7,
        "state|status|value_localized": "Ende",
        "state|status|key_localized": "Status",
        "state|programType|value_raw": 1,
        "state|programType|value_localized": "Eigenes Programm",
        "state|programType|key_localized": "Programmart",
        "state|programPhase|value_raw": 267,
        "state|programPhase|value_localized": "Knitterschutz",
        "state|programPhase|key_localized": "Programmphase",
        "state|remainingTime|0": 0,
        "state|remainingTime|1": 0,
        "state|startTime|0": 0,
        "state|startTime|1": 0,
        "state|targetTemperature|0|value_raw": 4000,
        "state|targetTemperature|0|value_localized": 40.0,
        "state|targetTemperature|0|unit": "Celsius",
        "state|targetTemperature|1|value_raw": -32768,
        "state|targetTemperature|1|value_localized": null,
        "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": -32768,
        "state|temperature|0|value_localized": null,
        "state|temperature|0|unit": "Celsius",
        "state|temperature|1|value_raw": -32768,
        "state|temperature|1|value_localized": null,
        "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": true,
        "state|remoteEnable|mobileStart": false,
        "state|ambientLight": null,
        "state|light": null,
        "state|elapsedTime|0": 0,
        "state|elapsedTime|1": 0,
        "state|spinningSpeed|unit": "U/min",
        "state|spinningSpeed|value_raw": 1600,
        "state|spinningSpeed|value_localized": "1600",
        "state|spinningSpeed|key_localized": "Schleuderdrehzahl",
        "state|dryingStep|value_raw": null,
        "state|dryingStep|value_localized": "",
        "state|dryingStep|key_localized": "Trockenstufe",
        "state|ventilationStep|value_raw": null,
        "state|ventilationStep|value_localized": "",
        "state|ventilationStep|key_localized": "L\u00fcfterstufe",
        "state|plateStep": {},
        "state|ecoFeedback|currentWaterConsumption|unit": "l",
        "state|ecoFeedback|currentWaterConsumption|value": 64.0,
        "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
        "state|ecoFeedback|currentEnergyConsumption|value": 1.0,
        "state|ecoFeedback|waterForecast": 0.5,
        "state|ecoFeedback|energyForecast": 0.5,
        "state|batteryLevel": null
      },
      "Appliance_3": {
        "ident|type|key_localized": "Ger\u00e4tetyp",
        "ident|type|value_raw": 2,
        "ident|type|value_localized": "Trockner",
        "ident|deviceName": "",
        "ident|protocolVersion": 4,
        "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
        "ident|deviceIdentLabel|fabIndex": "16",
        "ident|deviceIdentLabel|techType": "TCR870WP",
        "ident|deviceIdentLabel|matNumber": "10963780",
        "ident|deviceIdentLabel|swids|0": "5341",
        "ident|deviceIdentLabel|swids|1": "25359",
        "ident|deviceIdentLabel|swids|2": "25360",
        "ident|deviceIdentLabel|swids|3": "25269",
        "ident|deviceIdentLabel|swids|4": "20449",
        "ident|deviceIdentLabel|swids|5": "25260",
        "ident|deviceIdentLabel|swids|6": "5136",
        "ident|deviceIdentLabel|swids|7": "20445",
        "ident|deviceIdentLabel|swids|8": "25234",
        "ident|deviceIdentLabel|swids|9": "4657",
        "ident|xkmIdentLabel|techType": "EK037",
        "ident|xkmIdentLabel|releaseVersion": "03.98",
        "state|ProgramID|value_raw": 10,
        "state|ProgramID|value_localized": "Vorb\u00fcgeln",
        "state|ProgramID|key_localized": "Programmbezeichnung",
        "state|status|value_raw": 5,
        "state|status|value_localized": "In Betrieb",
        "state|status|key_localized": "Status",
        "state|programType|value_raw": 3,
        "state|programType|value_localized": "Reinigungs-/ Pflegeprogramm",
        "state|programType|key_localized": "Programmart",
        "state|programPhase|value_raw": 514,
        "state|programPhase|value_localized": "Trocknen",
        "state|programPhase|key_localized": "Programmphase",
        "state|remainingTime|0": 0,
        "state|remainingTime|1": 14,
        "state|startTime|0": 0,
        "state|startTime|1": 0,
        "state|targetTemperature|0|value_raw": -32768,
        "state|targetTemperature|0|value_localized": null,
        "state|targetTemperature|0|unit": "Celsius",
        "state|targetTemperature|1|value_raw": -32768,
        "state|targetTemperature|1|value_localized": null,
        "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": -32768,
        "state|temperature|0|value_localized": null,
        "state|temperature|0|unit": "Celsius",
        "state|temperature|1|value_raw": -32768,
        "state|temperature|1|value_localized": null,
        "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": true,
        "state|remoteEnable|mobileStart": false,
        "state|ambientLight": null,
        "state|light": null,
        "state|elapsedTime|0": 0,
        "state|elapsedTime|1": 36,
        "state|spinningSpeed|unit": "U/min",
        "state|spinningSpeed|value_raw": null,
        "state|spinningSpeed|value_localized": null,
        "state|spinningSpeed|key_localized": "Schleuderdrehzahl",
        "state|dryingStep|value_raw": 2,
        "state|dryingStep|value_localized": "Schranktrocken",
        "state|dryingStep|key_localized": "Trockenstufe",
        "state|ventilationStep|value_raw": null,
        "state|ventilationStep|value_localized": "",
        "state|ventilationStep|key_localized": "L\u00fcfterstufe",
        "state|plateStep": {},
        "state|ecoFeedback|currentWaterConsumption|unit": "l",
        "state|ecoFeedback|currentWaterConsumption|value": 0.0,
        "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
        "state|ecoFeedback|currentEnergyConsumption|value": 0.2,
        "state|ecoFeedback|waterForecast": 0.0,
        "state|ecoFeedback|energyForecast": 0.6,
        "state|batteryLevel": null
      },
      "Appliance_4": {
        "ident|type|key_localized": "Ger\u00e4tetyp",
        "ident|type|value_raw": 7,
        "ident|type|value_localized": "Geschirrsp\u00fcler",
        "ident|deviceName": "",
        "ident|protocolVersion": 4,
        "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
        "ident|deviceIdentLabel|fabIndex": "64",
        "ident|deviceIdentLabel|techType": "G7365",
        "ident|deviceIdentLabel|matNumber": "10992420",
        "ident|deviceIdentLabel|swids|0": "5418",
        "ident|deviceIdentLabel|swids|1": "20492",
        "ident|deviceIdentLabel|swids|2": "25166",
        "ident|deviceIdentLabel|swids|3": "25293",
        "ident|deviceIdentLabel|swids|4": "25386",
        "ident|deviceIdentLabel|swids|5": "4928",
        "ident|deviceIdentLabel|swids|6": "20475",
        "ident|deviceIdentLabel|swids|7": "25266",
        "ident|deviceIdentLabel|swids|8": "4875",
        "ident|deviceIdentLabel|swids|9": "20366",
        "ident|deviceIdentLabel|swids|10": "20462",
        "ident|xkmIdentLabel|techType": "EK037",
        "ident|xkmIdentLabel|releaseVersion": "03.94",
        "state|ProgramID|value_raw": 6,
        "state|ProgramID|value_localized": "Auto",
        "state|ProgramID|key_localized": "Programmbezeichnung",
        "state|status|value_raw": 5,
        "state|status|value_localized": "In Betrieb",
        "state|status|key_localized": "Status",
        "state|programType|value_raw": 0,
        "state|programType|value_localized": "Programm",
        "state|programType|key_localized": "Programmart",
        "state|programPhase|value_raw": 1795,
        "state|programPhase|value_localized": "Reinigen",
        "state|programPhase|key_localized": "Programmphase",
        "state|remainingTime|0": 2,
        "state|remainingTime|1": 29,
        "state|startTime|0": 0,
        "state|startTime|1": 0,
        "state|targetTemperature|0|value_raw": -32768,
        "state|targetTemperature|0|value_localized": null,
        "state|targetTemperature|0|unit": "Celsius",
        "state|targetTemperature|1|value_raw": -32768,
        "state|targetTemperature|1|value_localized": null,
        "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": -32768,
        "state|temperature|0|value_localized": null,
        "state|temperature|0|unit": "Celsius",
        "state|temperature|1|value_raw": -32768,
        "state|temperature|1|value_localized": null,
        "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": true,
        "state|ambientLight": null,
        "state|light": null,
        "state|elapsedTime|0": 0,
        "state|elapsedTime|1": 37,
        "state|spinningSpeed|unit": "U/min",
        "state|spinningSpeed|value_raw": null,
        "state|spinningSpeed|value_localized": null,
        "state|spinningSpeed|key_localized": "Schleuderdrehzahl",
        "state|dryingStep|value_raw": null,
        "state|dryingStep|value_localized": "",
        "state|dryingStep|key_localized": "Trockenstufe",
        "state|ventilationStep|value_raw": null,
        "state|ventilationStep|value_localized": "",
        "state|ventilationStep|key_localized": "L\u00fcfterstufe",
        "state|plateStep": {},
        "state|ecoFeedback|currentWaterConsumption|unit": "l",
        "state|ecoFeedback|currentWaterConsumption|value": 3.0,
        "state|ecoFeedback|currentEnergyConsumption|unit": "kWh",
        "state|ecoFeedback|currentEnergyConsumption|value": 0.0,
        "state|ecoFeedback|waterForecast": 0.3,
        "state|ecoFeedback|energyForecast": 0.45,
        "state|batteryLevel": null
      },
      "Appliance_5": {
        "ident|type|key_localized": "Ger\u00e4tetyp",
        "ident|type|value_raw": 27,
        "ident|type|value_localized": "Kochfeld",
        "ident|deviceName": "",
        "ident|protocolVersion": 2,
        "ident|deviceIdentLabel|fabNumber": "**REDACTED**",
        "ident|deviceIdentLabel|fabIndex": "00",
        "ident|deviceIdentLabel|techType": "KM7697",
        "ident|deviceIdentLabel|matNumber": "10853910",
        "ident|deviceIdentLabel|swids|0": "4736",
        "ident|deviceIdentLabel|swids|1": "20446",
        "ident|deviceIdentLabel|swids|2": "25122",
        "ident|deviceIdentLabel|swids|3": "20447",
        "ident|xkmIdentLabel|techType": "EK039W",
        "ident|xkmIdentLabel|releaseVersion": "02.72",
        "state|ProgramID|value_raw": 0,
        "state|ProgramID|value_localized": "",
        "state|ProgramID|key_localized": "Programmbezeichnung",
        "state|status|value_raw": 1,
        "state|status|value_localized": "Aus",
        "state|status|key_localized": "Status",
        "state|programType|value_raw": 0,
        "state|programType|value_localized": "Programm",
        "state|programType|key_localized": "Programmart",
        "state|programPhase|value_raw": 0,
        "state|programPhase|value_localized": "",
        "state|programPhase|key_localized": "Programmphase",
        "state|remainingTime|0": 0,
        "state|remainingTime|1": 0,
        "state|startTime|0": 0,
        "state|startTime|1": 0,
        "state|targetTemperature|0|value_raw": -32768,
        "state|targetTemperature|0|value_localized": null,
        "state|targetTemperature|0|unit": "Celsius",
        "state|targetTemperature|1|value_raw": -32768,
        "state|targetTemperature|1|value_localized": null,
        "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": -32768,
        "state|temperature|0|value_localized": null,
        "state|temperature|0|unit": "Celsius",
        "state|temperature|1|value_raw": -32768,
        "state|temperature|1|value_localized": null,
        "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": "U/min",
        "state|spinningSpeed|value_raw": null,
        "state|spinningSpeed|value_localized": null,
        "state|spinningSpeed|key_localized": "Schleuderdrehzahl",
        "state|dryingStep|value_raw": null,
        "state|dryingStep|value_localized": "",
        "state|dryingStep|key_localized": "Trockenstufe",
        "state|ventilationStep|value_raw": null,
        "state|ventilationStep|value_localized": "",
        "state|ventilationStep|key_localized": "L\u00fcfterstufe",
        "state|plateStep": {},
        "state|ecoFeedback": null,
        "state|batteryLevel": null
      }
    },
    "actions": {
      "Appliance_1": {
        "processAction": [],
        "light": [],
        "ambientLight": [],
        "startTime": [],
        "ventilationStep": [],
        "programId": [],
        "targetTemperature": [],
        "deviceName": true,
        "powerOn": true,
        "powerOff": false,
        "colors": [],
        "modes": [],
        "runOnTime": []
      },
      "Appliance_2": {
        "processAction": [],
        "light": [],
        "ambientLight": [],
        "startTime": [],
        "ventilationStep": [],
        "programId": [],
        "targetTemperature": [],
        "deviceName": true,
        "powerOn": true,
        "powerOff": false,
        "colors": [],
        "modes": [],
        "runOnTime": []
      },
      "Appliance_3": {
        "processAction": [],
        "light": [],
        "ambientLight": [],
        "startTime": [],
        "ventilationStep": [],
        "programId": [],
        "targetTemperature": [],
        "deviceName": true,
        "powerOn": true,
        "powerOff": false,
        "colors": [],
        "modes": [],
        "runOnTime": []
      },
      "Appliance_4": {
        "processAction": [
          2,
          3
        ],
        "light": [],
        "ambientLight": [],
        "startTime": [],
        "ventilationStep": [],
        "programId": [],
        "targetTemperature": [],
        "deviceName": true,
        "powerOn": false,
        "powerOff": true,
        "colors": [],
        "modes": [],
        "runOnTime": []
      },
      "Appliance_5": {
        "processAction": [],
        "light": [],
        "ambientLight": [],
        "startTime": [],
        "ventilationStep": [],
        "programId": [],
        "targetTemperature": [],
        "deviceName": true,
        "powerOn": false,
        "powerOff": false,
        "colors": [],
        "modes": [],
        "runOnTime": []
      }
    },
    "id_log": []
  }
}
astrandb commented 11 months ago

I think the integration tries to do it's best here. The power switch data that Miele reports is a bit confusing (or wrong). Your washers and dryer says that they are switched off and can be turned on by the API. In the action section above powerOn == true which means that it is allowed to send a powerOn command - which is not true. The dishwasher seems to report correct data and the hob does not allow neither powerOn nor powerOff commands. I hope you can follow my explanation. The power switch is only working for your dishwasher. You can hide or disable the non-working switches in the UI if you like. They work for some models so I prefer to keep them in the integration. And who knows, some day Miele may make them work.

requiemmg commented 11 months ago

Thanks. But actually they used to work a while ago, so there must have been changes on Miele's side. I had an overview page in a dashboard which used to show the status of my machines and I used that entity to check for power on. As I said, that used to work. Don't know when it became unavailable.