Skip to content

Commit 6ef4012

Browse files
authored
Add Home Connect entities that weren't added before (#138796)
Added entities that weren't added before
1 parent 141bcae commit 6ef4012

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

homeassistant/components/home_connect/binary_sensor.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,24 @@ class HomeConnectBinarySensorEntityDescription(BinarySensorEntityDescription):
9393
key=StatusKey.CONSUMER_PRODUCTS_CLEANING_ROBOT_LOST,
9494
translation_key="lost",
9595
),
96+
HomeConnectBinarySensorEntityDescription(
97+
key=StatusKey.REFRIGERATION_COMMON_DOOR_BOTTLE_COOLER,
98+
boolean_map=REFRIGERATION_DOOR_BOOLEAN_MAP,
99+
device_class=BinarySensorDeviceClass.DOOR,
100+
translation_key="bottle_cooler_door",
101+
),
96102
HomeConnectBinarySensorEntityDescription(
97103
key=StatusKey.REFRIGERATION_COMMON_DOOR_CHILLER_COMMON,
98104
boolean_map=REFRIGERATION_DOOR_BOOLEAN_MAP,
99105
device_class=BinarySensorDeviceClass.DOOR,
100106
translation_key="chiller_door",
101107
),
108+
HomeConnectBinarySensorEntityDescription(
109+
key=StatusKey.REFRIGERATION_COMMON_DOOR_FLEX_COMPARTMENT,
110+
boolean_map=REFRIGERATION_DOOR_BOOLEAN_MAP,
111+
device_class=BinarySensorDeviceClass.DOOR,
112+
translation_key="flex_compartment_door",
113+
),
102114
HomeConnectBinarySensorEntityDescription(
103115
key=StatusKey.REFRIGERATION_COMMON_DOOR_FREEZER,
104116
boolean_map=REFRIGERATION_DOOR_BOOLEAN_MAP,
@@ -111,6 +123,12 @@ class HomeConnectBinarySensorEntityDescription(BinarySensorEntityDescription):
111123
device_class=BinarySensorDeviceClass.DOOR,
112124
translation_key="refrigerator_door",
113125
),
126+
HomeConnectBinarySensorEntityDescription(
127+
key=StatusKey.REFRIGERATION_COMMON_DOOR_WINE_COMPARTMENT,
128+
boolean_map=REFRIGERATION_DOOR_BOOLEAN_MAP,
129+
device_class=BinarySensorDeviceClass.DOOR,
130+
translation_key="wine_compartment_door",
131+
),
114132
)
115133

116134

homeassistant/components/home_connect/number.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@
7676
device_class=NumberDeviceClass.TEMPERATURE,
7777
translation_key="wine_compartment_3_setpoint_temperature",
7878
),
79+
NumberEntityDescription(
80+
key=SettingKey.LAUNDRY_CARE_WASHER_I_DOS_1_BASE_LEVEL,
81+
device_class=NumberDeviceClass.VOLUME,
82+
translation_key="washer_i_dos_1_base_level",
83+
),
84+
NumberEntityDescription(
85+
key=SettingKey.LAUNDRY_CARE_WASHER_I_DOS_2_BASE_LEVEL,
86+
device_class=NumberDeviceClass.VOLUME,
87+
translation_key="washer_i_dos_2_base_level",
88+
),
7989
)
8090

8191

homeassistant/components/home_connect/strings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,14 +793,23 @@
793793
"lost": {
794794
"name": "Lost"
795795
},
796+
"bottle_cooler_door": {
797+
"name": "Bottle cooler door"
798+
},
796799
"chiller_door": {
797800
"name": "Chiller door"
798801
},
802+
"flex_compartment_door": {
803+
"name": "Flex compartment door"
804+
},
799805
"freezer_door": {
800806
"name": "Freezer door"
801807
},
802808
"refrigerator_door": {
803809
"name": "Refrigerator door"
810+
},
811+
"wine_compartment_door": {
812+
"name": "Wine compartment door"
804813
}
805814
},
806815
"light": {
@@ -844,6 +853,12 @@
844853
},
845854
"wine_compartment_3_setpoint_temperature": {
846855
"name": "Wine compartment 3 temperature"
856+
},
857+
"washer_i_dos_1_base_level": {
858+
"name": "i-Dos 1 base level"
859+
},
860+
"washer_i_dos_2_base_level": {
861+
"name": "i-Dos 2 base level"
847862
}
848863
},
849864
"select": {

0 commit comments

Comments
 (0)