1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 05:57:01 +00:00
Files
core/tests/components/home_connect/fixtures/settings.json
Robert Contreras af7d0187cb Add tests to Home Connect integration (#114214)
* Add tests to Home Connect integration

* Fix misspelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Changes to tests with properly setup fixtures.

* Consolidated api tests, patched library instead of code

* Consolidate sensor edge cases, switch mock assertion to call_count

* Adjust assertion

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-09 08:52:39 +02:00

100 lines
2.5 KiB
JSON

{
"Dishwasher": {
"data": {
"settings": [
{
"key": "BSH.Common.Setting.AmbientLightEnabled",
"value": true,
"type": "Boolean"
},
{
"key": "BSH.Common.Setting.AmbientLightBrightness",
"value": 70,
"unit": "%",
"type": "Double"
},
{
"key": "BSH.Common.Setting.AmbientLightColor",
"value": "BSH.Common.EnumType.AmbientLightColor.Color43",
"type": "BSH.Common.EnumType.AmbientLightColor"
},
{
"key": "BSH.Common.Setting.AmbientLightCustomColor",
"value": "#4a88f8",
"type": "String"
},
{
"key": "BSH.Common.Setting.PowerState",
"value": "BSH.Common.EnumType.PowerState.On",
"type": "BSH.Common.EnumType.PowerState"
},
{
"key": "BSH.Common.Setting.ChildLock",
"value": false,
"type": "Boolean"
}
]
}
},
"Hood": {
"data": {
"settings": [
{
"key": "Cooking.Common.Setting.Lighting",
"value": true,
"type": "Boolean"
},
{
"key": "Cooking.Common.Setting.LightingBrightness",
"value": 70,
"unit": "%",
"type": "Double"
},
{
"key": "Cooking.Hood.Setting.ColorTemperaturePercent",
"value": 70,
"unit": "%",
"type": "Double"
},
{
"key": "BSH.Common.Setting.ColorTemperature",
"value": "Cooking.Hood.EnumType.ColorTemperature.warmToNeutral",
"type": "BSH.Common.EnumType.ColorTemperature"
},
{
"key": "BSH.Common.Setting.AmbientLightEnabled",
"value": true,
"type": "Boolean"
},
{
"key": "BSH.Common.Setting.AmbientLightBrightness",
"value": 70,
"unit": "%",
"type": "Double"
},
{
"key": "BSH.Common.Setting.AmbientLightColor",
"value": "BSH.Common.EnumType.AmbientLightColor.Color43",
"type": "BSH.Common.EnumType.AmbientLightColor"
},
{
"key": "BSH.Common.Setting.AmbientLightCustomColor",
"value": "#4a88f8",
"type": "String"
}
]
}
},
"Oven": {
"data": {
"settings": [
{
"key": "BSH.Common.Setting.PowerState",
"value": "BSH.Common.EnumType.PowerState.On",
"type": "BSH.Common.EnumType.PowerState"
}
]
}
}
}