DavidMStraub/homeassistant-homeconnect

Feature Request: Monitor and report connected state of all Home-Connect appliances

Opened this issue · 0 comments

Please could someone add a 5 minute poll of the https://{{serverUrl}}/api/homeappliances/ API call and create an associated entity for each appliance to report whether it is connected or not?

{
    "data": {
        "name": "Washing machine",
        "brand": "Bosch",
        "vib": "WAX32EH1GB",
        "connected": true,
        "type": "Washer",
        "enumber": "WAX32EH1GB/01",
        "haId": "BOSCH-WAX32EH1GB"
    }
}
{
    "data": {
        "name": "Washing machine",
        "brand": "Bosch",
        "vib": "WAX32EH1GB",
        "connected": false,
        "type": "Washer",
        "enumber": "WAX32EH1GB/01",
        "haId": "BOSCH-WAX32EH1GB"
    }
}

This would help with reporting the power on/off state of appliances that don't send Off events (such as washing machines), as documented here:
https://api-docs.home-connect.com/settings?#power-state

Thanks.