2525 BULB_SERVICE_INFO ,
2626 CEILING_LIGHT_SERVICE_INFO ,
2727 FLOOR_LAMP_SERVICE_INFO ,
28+ RGBICWW_FLOOR_LAMP_SERVICE_INFO ,
29+ RGBICWW_STRIP_LIGHT_SERVICE_INFO ,
2830 STRIP_LIGHT_3_SERVICE_INFO ,
2931 WOSTRIP_SERVICE_INFO ,
3032)
@@ -343,10 +345,16 @@ async def test_strip_light_services_exception(
343345
344346
345347@pytest .mark .parametrize (
346- ("sensor_type" , "service_info" ),
348+ ("sensor_type" , "service_info" , "dev_cls" ),
347349 [
348- ("strip_light_3" , STRIP_LIGHT_3_SERVICE_INFO ),
349- ("floor_lamp" , FLOOR_LAMP_SERVICE_INFO ),
350+ ("strip_light_3" , STRIP_LIGHT_3_SERVICE_INFO , "SwitchbotStripLight3" ),
351+ ("floor_lamp" , FLOOR_LAMP_SERVICE_INFO , "SwitchbotStripLight3" ),
352+ (
353+ "rgbicww_strip_light" ,
354+ RGBICWW_STRIP_LIGHT_SERVICE_INFO ,
355+ "SwitchbotRgbicLight" ,
356+ ),
357+ ("rgbicww_floor_lamp" , RGBICWW_FLOOR_LAMP_SERVICE_INFO , "SwitchbotRgbicLight" ),
350358 ],
351359)
352360@pytest .mark .parametrize (* FLOOR_LAMP_PARAMETERS )
@@ -355,6 +363,7 @@ async def test_floor_lamp_services(
355363 mock_entry_encrypted_factory : Callable [[str ], MockConfigEntry ],
356364 sensor_type : str ,
357365 service_info : BluetoothServiceInfoBleak ,
366+ dev_cls : str ,
358367 service : str ,
359368 service_data : dict ,
360369 mock_method : str ,
@@ -370,7 +379,7 @@ async def test_floor_lamp_services(
370379 mocked_instance = AsyncMock (return_value = True )
371380
372381 with patch .multiple (
373- "homeassistant.components.switchbot.light.switchbot.SwitchbotStripLight3 " ,
382+ f "homeassistant.components.switchbot.light.switchbot.{ dev_cls } " ,
374383 ** {mock_method : mocked_instance },
375384 update = AsyncMock (return_value = None ),
376385 ):
0 commit comments