async def METHOD_NAME(self):
    async with assert_device_properties_set(
        self.subject._device,
        {SWITCH_DPS: True, HVACMODE_DPS: "0"},
    ):
        await self.subject.async_set_hvac_mode(HVACMode.COOL)