Playing around with the api I found that with the api call you get a lot of use…ful information on your current program
`GET /homeappliances/{haid}/programs/active`
like:
`
{
"data": {
"key": "LaundryCare.Washer.Program.Towels",
"options": [
{
"key": "BSH.Common.Option.EnergyForecast",
"value": 100,
"unit": "%",
"name": "Energie"
},
{
"key": "LaundryCare.Common.Option.LoadRecommendation",
"value": 4000,
"unit": "gram",
"name": "Beladungsempfehlung"
},
{
"key": "BSH.Common.Option.WaterForecast",
"value": 80,
"unit": "%",
"name": "Wasser"
},
{
"key": "LaundryCare.Washer.Option.IntensivePlus",
"value": true,
"name": "Intensiv Plus"
},
{
"key": "LaundryCare.Washer.Option.LessIroning",
"value": false,
"name": "Bügelleicht"
},
{
"key": "LaundryCare.Washer.Option.Prewash",
"value": true,
"name": "Vorwäsche"
},
{
"key": "LaundryCare.Washer.Option.RinseHold",
"value": false,
"name": "Spülstopp"
},
{
"key": "LaundryCare.Washer.Option.RinsePlus",
"value": "LaundryCare.Washer.EnumType.RinsePlus.Off",
"name": "Extraspülen",
"displayvalue": "Aus"
},
{
"key": "LaundryCare.Washer.Option.SilentWash",
"value": false,
"name": "Leiser waschen"
},
{
"key": "LaundryCare.Washer.Option.Soak",
"value": false,
"name": "Einweichen"
},
{
"key": "LaundryCare.Washer.Option.SpeedPerfect",
"value": false,
"name": "SpeedPerfect"
},
{
"key": "LaundryCare.Washer.Option.SpinSpeed",
"value": "LaundryCare.Washer.EnumType.SpinSpeed.RPM1200",
"name": "Drehzahl",
"displayvalue": "1200 U/min"
},
{
"key": "LaundryCare.Washer.Option.Stains",
"value": "LaundryCare.Washer.EnumType.Stains.Off",
"name": "Flecken Automatik",
"displayvalue": "Aus"
},
{
"key": "LaundryCare.Washer.Option.Temperature",
"value": "LaundryCare.Washer.EnumType.Temperature.GC60",
"name": "Temperatur",
"displayvalue": "60°C"
},
{
"key": "LaundryCare.Washer.Option.WaterPlus",
"value": false,
"name": "Wasser Plus"
},
{
"key": "BSH.Common.Option.ProgramProgress",
"value": 2,
"unit": "%",
"name": "aktueller Programmfortschritt"
},
{
"key": "BSH.Common.Option.RemainingProgramTime",
"value": 12648,
"unit": "seconds",
"name": "Verbleibende Programmlaufzeit"
},
{
"key": "BSH.Common.Option.RemainingProgramTimeIsEstimated",
"value": true,
"name": "Geschätzte Restprogrammlaufzeit"
},
{
"key": "LaundryCare.Common.Option.ProcessPhase",
"value": "LaundryCare.Common.EnumType.ProcessPhase.Prewash",
"displayvalue": "Vorwaschen"
}
],
"name": "Handtücher"
}
}
Is it possible to create an entity with the returned items ? WOuld be nice to display remaining time and phase of washing program.