mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Improve Home Connect diagnostics exposing more data (#147492)
This commit is contained in:
parent
c9e9575a3d
commit
1e4fbebf49
@ -4,6 +4,8 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
from aiohomeconnect.model import GetSetting, Status
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.helpers.device_registry import DeviceEntry
|
from homeassistant.helpers.device_registry import DeviceEntry
|
||||||
|
|
||||||
@ -11,14 +13,30 @@ from .const import DOMAIN
|
|||||||
from .coordinator import HomeConnectApplianceData, HomeConnectConfigEntry
|
from .coordinator import HomeConnectApplianceData, HomeConnectConfigEntry
|
||||||
|
|
||||||
|
|
||||||
|
def _serialize_item(item: Status | GetSetting) -> dict[str, Any]:
|
||||||
|
"""Serialize a status or setting item to a dictionary."""
|
||||||
|
data = {"value": item.value}
|
||||||
|
if item.unit is not None:
|
||||||
|
data["unit"] = item.unit
|
||||||
|
if item.constraints is not None:
|
||||||
|
data["constraints"] = {
|
||||||
|
k: v for k, v in item.constraints.to_dict().items() if v is not None
|
||||||
|
}
|
||||||
|
return data
|
||||||
|
|
||||||
|
|
||||||
async def _generate_appliance_diagnostics(
|
async def _generate_appliance_diagnostics(
|
||||||
appliance: HomeConnectApplianceData,
|
appliance: HomeConnectApplianceData,
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
**appliance.info.to_dict(),
|
**appliance.info.to_dict(),
|
||||||
"status": {key.value: status.value for key, status in appliance.status.items()},
|
"status": {
|
||||||
|
key.value: _serialize_item(status)
|
||||||
|
for key, status in appliance.status.items()
|
||||||
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
key.value: setting.value for key, setting in appliance.settings.items()
|
key.value: _serialize_item(setting)
|
||||||
|
for key, setting in appliance.settings.items()
|
||||||
},
|
},
|
||||||
"programs": [program.raw_key for program in appliance.programs],
|
"programs": [program.raw_key for program in appliance.programs],
|
||||||
}
|
}
|
||||||
|
@ -12,11 +12,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'CookProcessor',
|
'type': 'CookProcessor',
|
||||||
'vib': 'HCS000006',
|
'vib': 'HCS000006',
|
||||||
@ -32,11 +42,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'DNE',
|
'type': 'DNE',
|
||||||
'vib': 'HCS000000',
|
'vib': 'HCS000000',
|
||||||
@ -52,11 +72,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Hob',
|
'type': 'Hob',
|
||||||
'vib': 'HCS000005',
|
'vib': 'HCS000005',
|
||||||
@ -74,11 +104,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'WasherDryer',
|
'type': 'WasherDryer',
|
||||||
'vib': 'HCS000001',
|
'vib': 'HCS000001',
|
||||||
@ -94,11 +134,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Refrigerator',
|
'type': 'Refrigerator',
|
||||||
'vib': 'HCS000002',
|
'vib': 'HCS000002',
|
||||||
@ -114,11 +164,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Freezer',
|
'type': 'Freezer',
|
||||||
'vib': 'HCS000003',
|
'vib': 'HCS000003',
|
||||||
@ -135,21 +195,57 @@
|
|||||||
'Cooking.Common.Program.Hood.DelayedShutOff',
|
'Cooking.Common.Program.Hood.DelayedShutOff',
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'BSH.Common.Setting.AmbientLightBrightness': 70,
|
'BSH.Common.Setting.AmbientLightBrightness': dict({
|
||||||
'BSH.Common.Setting.AmbientLightColor': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
'unit': '%',
|
||||||
'BSH.Common.Setting.AmbientLightCustomColor': '#4a88f8',
|
'value': 70,
|
||||||
'BSH.Common.Setting.AmbientLightEnabled': True,
|
}),
|
||||||
'Cooking.Common.Setting.Lighting': True,
|
'BSH.Common.Setting.AmbientLightColor': dict({
|
||||||
'Cooking.Common.Setting.LightingBrightness': 70,
|
'value': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
||||||
'Cooking.Hood.Setting.ColorTemperature': 'Cooking.Hood.EnumType.ColorTemperature.warmToNeutral',
|
}),
|
||||||
'Cooking.Hood.Setting.ColorTemperaturePercent': 70,
|
'BSH.Common.Setting.AmbientLightCustomColor': dict({
|
||||||
|
'value': '#4a88f8',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.AmbientLightEnabled': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Cooking.Common.Setting.Lighting': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Cooking.Common.Setting.LightingBrightness': dict({
|
||||||
|
'unit': '%',
|
||||||
|
'value': 70,
|
||||||
|
}),
|
||||||
|
'Cooking.Hood.Setting.ColorTemperature': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'allowed_values': list([
|
||||||
|
'Cooking.Hood.EnumType.ColorTemperature.warm',
|
||||||
|
'Cooking.Hood.EnumType.ColorTemperature.neutral',
|
||||||
|
'Cooking.Hood.EnumType.ColorTemperature.cold',
|
||||||
|
]),
|
||||||
|
}),
|
||||||
|
'value': 'Cooking.Hood.EnumType.ColorTemperature.warmToNeutral',
|
||||||
|
}),
|
||||||
|
'Cooking.Hood.Setting.ColorTemperaturePercent': dict({
|
||||||
|
'unit': '%',
|
||||||
|
'value': 70,
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Hood',
|
'type': 'Hood',
|
||||||
'vib': 'HCS000004',
|
'vib': 'HCS000004',
|
||||||
@ -166,15 +262,29 @@
|
|||||||
'Cooking.Oven.Program.HeatingMode.PizzaSetting',
|
'Cooking.Oven.Program.HeatingMode.PizzaSetting',
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'BSH.Common.Setting.AlarmClock': 0,
|
'BSH.Common.Setting.AlarmClock': dict({
|
||||||
'BSH.Common.Setting.PowerState': 'BSH.Common.EnumType.PowerState.On',
|
'value': 0,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.PowerState': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.PowerState.On',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Oven',
|
'type': 'Oven',
|
||||||
'vib': 'HCS01OVN1',
|
'vib': 'HCS01OVN1',
|
||||||
@ -193,11 +303,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Dryer',
|
'type': 'Dryer',
|
||||||
'vib': 'HCS04DYR1',
|
'vib': 'HCS04DYR1',
|
||||||
@ -219,11 +339,21 @@
|
|||||||
'settings': dict({
|
'settings': dict({
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'CoffeeMaker',
|
'type': 'CoffeeMaker',
|
||||||
'vib': 'HCS06COM1',
|
'vib': 'HCS06COM1',
|
||||||
@ -242,19 +372,48 @@
|
|||||||
'Dishcare.Dishwasher.Program.Quick45',
|
'Dishcare.Dishwasher.Program.Quick45',
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'BSH.Common.Setting.AmbientLightBrightness': 70,
|
'BSH.Common.Setting.AmbientLightBrightness': dict({
|
||||||
'BSH.Common.Setting.AmbientLightColor': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
'unit': '%',
|
||||||
'BSH.Common.Setting.AmbientLightCustomColor': '#4a88f8',
|
'value': 70,
|
||||||
'BSH.Common.Setting.AmbientLightEnabled': True,
|
}),
|
||||||
'BSH.Common.Setting.ChildLock': False,
|
'BSH.Common.Setting.AmbientLightColor': dict({
|
||||||
'BSH.Common.Setting.PowerState': 'BSH.Common.EnumType.PowerState.On',
|
'value': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.AmbientLightCustomColor': dict({
|
||||||
|
'value': '#4a88f8',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.AmbientLightEnabled': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.ChildLock': dict({
|
||||||
|
'value': False,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.PowerState': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'allowed_values': list([
|
||||||
|
'BSH.Common.EnumType.PowerState.On',
|
||||||
|
'BSH.Common.EnumType.PowerState.Off',
|
||||||
|
]),
|
||||||
|
}),
|
||||||
|
'value': 'BSH.Common.EnumType.PowerState.On',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Dishwasher',
|
'type': 'Dishwasher',
|
||||||
'vib': 'HCS02DWH1',
|
'vib': 'HCS02DWH1',
|
||||||
@ -273,16 +432,32 @@
|
|||||||
'LaundryCare.Washer.Program.Wool',
|
'LaundryCare.Washer.Program.Wool',
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'BSH.Common.Setting.ChildLock': False,
|
'BSH.Common.Setting.ChildLock': dict({
|
||||||
'BSH.Common.Setting.PowerState': 'BSH.Common.EnumType.PowerState.On',
|
'value': False,
|
||||||
'LaundryCare.Washer.Setting.IDos2BaseLevel': 0,
|
}),
|
||||||
|
'BSH.Common.Setting.PowerState': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.PowerState.On',
|
||||||
|
}),
|
||||||
|
'LaundryCare.Washer.Setting.IDos2BaseLevel': dict({
|
||||||
|
'value': 0,
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Washer',
|
'type': 'Washer',
|
||||||
'vib': 'HCS03WCH1',
|
'vib': 'HCS03WCH1',
|
||||||
@ -296,19 +471,57 @@
|
|||||||
'programs': list([
|
'programs': list([
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'Refrigeration.Common.Setting.Dispenser.Enabled': False,
|
'Refrigeration.Common.Setting.Dispenser.Enabled': dict({
|
||||||
'Refrigeration.Common.Setting.Light.External.Brightness': 70,
|
'constraints': dict({
|
||||||
'Refrigeration.Common.Setting.Light.External.Power': True,
|
'access': 'readWrite',
|
||||||
'Refrigeration.FridgeFreezer.Setting.SetpointTemperatureRefrigerator': 8,
|
}),
|
||||||
'Refrigeration.FridgeFreezer.Setting.SuperModeFreezer': False,
|
'value': False,
|
||||||
'Refrigeration.FridgeFreezer.Setting.SuperModeRefrigerator': False,
|
}),
|
||||||
|
'Refrigeration.Common.Setting.Light.External.Brightness': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'access': 'readWrite',
|
||||||
|
'max': 100,
|
||||||
|
'min': 0,
|
||||||
|
}),
|
||||||
|
'unit': '%',
|
||||||
|
'value': 70,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Setting.Light.External.Power': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.FridgeFreezer.Setting.SetpointTemperatureRefrigerator': dict({
|
||||||
|
'unit': '°C',
|
||||||
|
'value': 8,
|
||||||
|
}),
|
||||||
|
'Refrigeration.FridgeFreezer.Setting.SuperModeFreezer': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'access': 'readWrite',
|
||||||
|
}),
|
||||||
|
'value': False,
|
||||||
|
}),
|
||||||
|
'Refrigeration.FridgeFreezer.Setting.SuperModeRefrigerator': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'access': 'readWrite',
|
||||||
|
}),
|
||||||
|
'value': False,
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'FridgeFreezer',
|
'type': 'FridgeFreezer',
|
||||||
'vib': 'HCS05FRF1',
|
'vib': 'HCS05FRF1',
|
||||||
@ -330,19 +543,48 @@
|
|||||||
'Dishcare.Dishwasher.Program.Quick45',
|
'Dishcare.Dishwasher.Program.Quick45',
|
||||||
]),
|
]),
|
||||||
'settings': dict({
|
'settings': dict({
|
||||||
'BSH.Common.Setting.AmbientLightBrightness': 70,
|
'BSH.Common.Setting.AmbientLightBrightness': dict({
|
||||||
'BSH.Common.Setting.AmbientLightColor': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
'unit': '%',
|
||||||
'BSH.Common.Setting.AmbientLightCustomColor': '#4a88f8',
|
'value': 70,
|
||||||
'BSH.Common.Setting.AmbientLightEnabled': True,
|
}),
|
||||||
'BSH.Common.Setting.ChildLock': False,
|
'BSH.Common.Setting.AmbientLightColor': dict({
|
||||||
'BSH.Common.Setting.PowerState': 'BSH.Common.EnumType.PowerState.On',
|
'value': 'BSH.Common.EnumType.AmbientLightColor.Color43',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.AmbientLightCustomColor': dict({
|
||||||
|
'value': '#4a88f8',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.AmbientLightEnabled': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.ChildLock': dict({
|
||||||
|
'value': False,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Setting.PowerState': dict({
|
||||||
|
'constraints': dict({
|
||||||
|
'allowed_values': list([
|
||||||
|
'BSH.Common.EnumType.PowerState.On',
|
||||||
|
'BSH.Common.EnumType.PowerState.Off',
|
||||||
|
]),
|
||||||
|
}),
|
||||||
|
'value': 'BSH.Common.EnumType.PowerState.On',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'status': dict({
|
'status': dict({
|
||||||
'BSH.Common.Status.DoorState': 'BSH.Common.EnumType.DoorState.Closed',
|
'BSH.Common.Status.DoorState': dict({
|
||||||
'BSH.Common.Status.OperationState': 'BSH.Common.EnumType.OperationState.Ready',
|
'value': 'BSH.Common.EnumType.DoorState.Closed',
|
||||||
'BSH.Common.Status.RemoteControlActive': True,
|
}),
|
||||||
'BSH.Common.Status.RemoteControlStartAllowed': True,
|
'BSH.Common.Status.OperationState': dict({
|
||||||
'Refrigeration.Common.Status.Door.Refrigerator': 'BSH.Common.EnumType.DoorState.Open',
|
'value': 'BSH.Common.EnumType.OperationState.Ready',
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlActive': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'BSH.Common.Status.RemoteControlStartAllowed': dict({
|
||||||
|
'value': True,
|
||||||
|
}),
|
||||||
|
'Refrigeration.Common.Status.Door.Refrigerator': dict({
|
||||||
|
'value': 'BSH.Common.EnumType.DoorState.Open',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
'type': 'Dishwasher',
|
'type': 'Dishwasher',
|
||||||
'vib': 'HCS02DWH1',
|
'vib': 'HCS02DWH1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user